Forums

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

Capture pageID when making a page from a template

Jo February 10, 2023

I have template to make a form that my users then fill in with the variables and ask their stakeholders to click on.  On that form is an email response section which I would like to contain a link back to the unique form page.  

So when the form is made from the template, that new page's url is put into the email response field on that newly made page.

Is there a standard command or macro I can embed in that page which is that page's url?

 

Update: a better way I saw to say it was to "Dynamically Inject current page URL to a Text element"

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
February 10, 2023

Hi @Jo 

Depending on how your "form" is built

You also mentioned you are using Confluence server - implementing a simple user macro that could render a URL link to itself could be an option

Alex

Jo February 10, 2023

I am open to building my form in multiple ways (and can believe in at least 6 impossible things before breakfast).  That said, since the url is dynamic and made when the page, generated from the template, is made each time, I don't see a way to do that with that feature.

Upon reading that document, my cursory understanding is that I need to reference a static url to start with and therein lies my problem. :). It I had a static URL, I wouldn't be in this mess to begin with.

Each url is made when the page, itself, is made.  I was hoping there was something simple like $pageURL or something like that I could put in there.

Alex Medved _ConfiForms_
Community Champion
February 10, 2023

This is what I mean when I talked about the user macro

https://wiki.vertuna.com/display/VERTUNA/Render+link+to+self

Alex

Jo February 13, 2023

Sadly I cannot make macros in our system.  That looks like exactly what I'd like to do.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events