I am trying to use page and block script, I want to do some calculation in the page script and re-use the values later in block scripts.
The SDK guide here, http://almdemo.polarion.com/polarion/sd ... et-sdk.pdf is not very helpful and certainly not a good guide for anyone just starting out with Polarion scripts.
Where's the scripting reference guide for ALM 2016?
Where's the scripting reference guide for ALM 2016?
Last edited by elsammons on Wed Jul 05, 2017 7:09 pm, edited 1 time in total.
Re: Where's the scripting reference guide for ALM 2016?
vote up
I also would have a better description of how to use or better TO DO the programming of a velocity widget. I would appreciate it when you offer some examples with
Best regards
bschorre
I also would have a better description of how to use or better TO DO the programming of a velocity widget. I would appreciate it when you offer some examples with
- getting the project id
- query some work items
- adding a comment
- approving a bundle of requirements
Best regards
bschorre
-
- Posts: 1
- Joined: Wed Jun 21, 2017 12:08 pm
- Contact:
Re: Where's the scripting reference guide for ALM 2016?
helping me out at some points .. 

-
- Posts: 9
- Joined: Tue Mar 14, 2017 12:30 am
Re: Where's the scripting reference guide for ALM 2016?
Another vote up for this. In addition, some example on how to look up
This is the document I've found so far - and couldn't get any information on roles.
http://almdemo.polarion.com/polarion/sd ... mmary.html
For project ID in velocity, this is an example snippet which seems to work. Not sure if this would work for you too - but maybe worth trying?
###############################################################################
##
## Velocity Context - following objects are in the velocity context
##
## com.polarion.alm.shared.api.model.rp.RichPage $page
## com.polarion.alm.shared.api.model.project.Project $program
##
##
#set($program = $page.fields().project().get())
<b>Project:</b> $program.render().withIcon(true).withLinks()<br/>
<b>Project ID:</b> $program.fields().id().render()<br/>
- specific (user) roles per project and how to present that on a live report page
- how to look up work item fields
This is the document I've found so far - and couldn't get any information on roles.
http://almdemo.polarion.com/polarion/sd ... mmary.html
For project ID in velocity, this is an example snippet which seems to work. Not sure if this would work for you too - but maybe worth trying?
###############################################################################
##
## Velocity Context - following objects are in the velocity context
##
## com.polarion.alm.shared.api.model.rp.RichPage $page
## com.polarion.alm.shared.api.model.project.Project $program
##
##
#set($program = $page.fields().project().get())
<b>Project:</b> $program.render().withIcon(true).withLinks()<br/>
<b>Project ID:</b> $program.fields().id().render()<br/>
Return to “Polarion Application Lifecycle Management (ALM)”
Who is online
Users browsing this forum: beverleyqm1, Google [Bot] and 10 guests