Forums

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

Creating Pages via ConfiForms on different parent spaces

Caroline Busse April 30, 2018

Hi,

my goal is to create different pages for different projects via one confiforms form.

The created pages should be saved to different parent spaces.

 

Could someone tell me how to do so?

 

Am I able to write a dynamic if statement into the parent page field (down below in the screenshot)?

Or is there another possibility?

 

Thanks!

parentPage.PNG

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
June 28, 2018

You can have this "Parent Page" parameter "dynamic", as it can take the value from another ConfiForms Field you have in your form.

So, having this field with a value set for parent pages in different spaces (based on some logic you might have) will do the trick for you

Nick Bennett September 12, 2019

Hello,

 

I'm trying to do a similar thing as the original poster but it's not quite working and I'm not sure why.

 

I'm defining a field named parent (type is "Text") which is the parent page's full URL currently. For example, the user would enter something like https://something.atlassian.net/wiki/spaces/whatever/pages/1234567/

(I was under the impression that even if given a full URL, Confluence could reduce/convert it to just the Page ID - is this a faulty assumption on my part?)

 

Then when the page is created, I define the Parent page field as [entry.parent] - however the resulting page is always created as a child of the current page/form and not the defined parent.

 

I'd prefer to use the full URL as a variable for people to enter into the form if I can (this form will primarily be used by users other than myself and I would like to keep it as simple as possible!) but page ids could be used at a push. 

 

Thanks in advance for any advice!

Nick

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events