Where's the scripting reference guide for ALM 2016?

Description
elsammons
Posts: 4
Joined: Fri May 20, 2016 3:14 pm

Where's the scripting reference guide for ALM 2016?

Postby elsammons » Fri Jul 08, 2016 12:46 pm

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.
Last edited by elsammons on Wed Jul 05, 2017 7:09 pm, edited 1 time in total.

bschorre
Posts: 25
Joined: Mon Aug 14, 2006 10:20 am
Location: Loehne, Germany

Re: Where's the scripting reference guide for ALM 2016?

Postby bschorre » Wed Jun 07, 2017 7:58 am

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
  • getting the project id
  • query some work items
  • adding a comment
  • approving a bundle of requirements

Best regards
bschorre

mariareese
Posts: 1
Joined: Wed Jun 21, 2017 12:08 pm
Contact:

Re: Where's the scripting reference guide for ALM 2016?

Postby mariareese » Wed Jun 21, 2017 12:13 pm

helping me out at some points .. :D

JerryLlave
Posts: 8
Joined: Tue Mar 14, 2017 12:30 am

Re: Where's the scripting reference guide for ALM 2016?

Postby JerryLlave » Wed Aug 02, 2017 11:44 pm

Another vote up for this. In addition, some example on how to look up

  • 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: No registered users and 2 guests