Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a new page object from within a velocity macro

Paul Schmidt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2016

Hi, can anyone please help me with some velocity code that will create a new page object from within a user macro. I am able to access pages from a user macro but I am not able to ceate a new Page() object.

Thanks

Paul

1 answer

1 vote
Panos
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2016

You don't create new Page() object. You ask the pageManager to fetch you a page object. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events