tl;dr - When using the "create page" macro in my form, I can enter text and assign the parent page that auto-populates, but the new page isn't under the parent, it's an orphan at the bottom of the space.
Detailed problem: I'm trying to use the create page macro, but I can't figure out how to create a form field to allow users to assign the parent page within that macro.
I'd like to have either a text field to enter the page title, or dropdown selector in the form with the 4 project summary pages in our team space. I was able to get the form to search for Confluence pages, but when selected, it doesn't create the page under that parent page.
Example: I'm looking at the above "test page" and want to create a new page as a child to "project alpha". I can create the page, assign a name, but it's still under the parent page "test page" and not the desired "project alpha".
The goal is to be able to place the new project page under any parent page, regardless of which Confluence page it's created from.
Solution attempts: I've tried using the "create page" IFTTT, the "blog post" method for IFTTT, and the "move page" IFTTT. I'm new to this and not an administrator by role. I'm just the one trying to build a project space for our small team.
@Alex Medved _ConfiForms_ any guidance would be greatly appreciated.
Hi @get_nick
Set the parent page (parameter in the ConfiForms IFTTT macro to "Crate Page") to the page id
This is the best approach (will work also when someone decides to rename a page, for example)
Alex
Thanks, Alex.
I apologize, but I've reached the limit of my technical skills. Is this the area where I need to enter the page id? if so, can you tell me what I need to put there? If more information could help clarify, just let me know and I'll post it asap.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that's right - a numeric value https://support.atlassian.com/confluence/kb/how-to-get-confluence-page-id/
Or, as it says, as a spaceKey:pageTitle format.
But page id might be easier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, thank you. I'm starting to think I misunderstood the capability.
Ideally, when a teammate is submitting a form, they can select the parent page from directly in the form. Then the page would be created from that field they entered and submitted. This would prevent non-administrators from creating new Confluence pages that need to be moved to a parent page.
Is this possible? (example attached).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is also possible
What is the name of the field for this "Parent Page2" field? And is it of type Page/BlogPost?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I think with your help, and a little dumb luck, I got it working!
Here's where I'm at. I had an extra macro I didn't need, (IFTTT move page), and updated the create page IFTTT to "[entry.parentpage2]" and it created it under the correct parent!
I knew I was close, thank you for the helping me cross the finish line!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, having the [entry.parentpage2] in the "Parent page" parameter would be correct
Also, helps to enable "debug" while you configuring - https://wiki.vertuna.com/spaces/CONFIFORMS/pages/21234079/How+to+troubleshoot+and+debug+ConfiForms+IFTTT+rules+execution - so you know exactly what is happening
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I had that on, but I couldn't translate it so I could make use of it. I spent a lot of time trying to learn what it all meant, but to no avail. It did however help me find where the new page was created when I didn't have a matching title for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.