Forums

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

Insert current page in a template

Markisio
Contributor
June 4, 2024

Hi THere

 

I am trying to create a template that contain 2 confiform

 

informForm

  • title
  • date

decisionForm

  • title --> smart dropdown from informForm
  • decision

any suggestion what I need to put within Page where the ConfiForms Form is defined, it should be the current page. Please note this is in the template. Hoping for something like @currentpage or something 

please advise 

@Alex Medved _ConfiForms_ is there a solution to this? 

thanks 

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
June 5, 2024

Hi @Markisio 

You will need to modify the storage format of the template and change something like that

<ac:parameter ac:name="values">[917505|form|t|true||]

to something like this

<ac:parameter ac:name="values">[[entry._page]|form|t|true||]

Or creating a user macro for the smart field and doing a similar thing in the macro template

Alex

Markisio
Contributor
June 5, 2024

THanks @Alex Medved _ConfiForms_ , where do I need to change the storage ? do you have an example of demo for that? thanks 

Alex Medved _ConfiForms_
Community Champion
June 5, 2024

In the template… we are talking about the template, right?

Markisio
Contributor
June 5, 2024

yes, I created a template with 2 confiform in it. Please note I am not an admin for the whole server, rather I am admin on the specific space 

Markisio
Contributor
June 5, 2024

@Alex Medved _ConfiForms_ also what if its not template, maybe Create Page Micro from a page that has these 2 forms 

Alex Medved _ConfiForms_
Community Champion
June 5, 2024

Same approach - using Confluence source editor, altering the field's configuration as mentioned before

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events