Create page with Scaffolding template and go directly to "Edit contents"

Susan Ostreicher
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 6, 2019

My goal is to provide a button that lets users create a page by going directly to the "Edit contents" view of a Scaffolding template. 

I downloaded a trial version of Scriptrunner for Confluence and the Create Page app after finding this documentation: 

"The new page is then created, based on the template specified, completely bypassing the usual "Add page" screen. This is especially useful when working with Scaffold Templates because the user is taken directly to the editable view of the page – they can immediately fill in the fields provided by the template."
https://www.adaptavist.com/doco/display/CPP/Create+Page+Documentation

I tried this out, but when I click on the button, I'm taken to the normal edit view at a link like this: 

https://MYSITE/confluence/pages/resumedraft.action?draftId=12124792&draftShareId=87b9670b-42d4-4e5b-9ce2-6f5a89881287

This view seems confusing to the end user, since it shows the macros themselves. Ideally, I'd want the user to be taken to a link like this, where they can select from dropdown menus: 

https://MYSITE/confluence/pages/editscaffold.action?pageId=12124791

 

Is it no longer possible to use the Create Page macro to skip directly to the Edit contents view, or am I missing a setting? I noticed that it's not mentioned in the latest documentation: 

http://confluence-addons.connect.adaptavist.com/create-page/latest/create-page-macro.html

Thanks for your help!

 

3 answers

1 accepted

1 vote
Answer accepted
Susan Ostreicher
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 11, 2019

Just wanted to share the answer I found: 

After contacting Adaptavist support, I learned that the "Create page" app no longer has the functionality to create a page from a Scaffolding template by going directly to the "Edit contents" view. 

However, the Linking for Confluence app from ServiceRocket does have this functionality in the "Add page" macro. 

1 vote
Iman Hashemi February 7, 2019

Hi Susan,

Here is a workaround to hide the 'Edit' button from users:

https://community.atlassian.com/t5/Marketplace-Apps-articles/How-do-I-make-only-Scaffolding-s-Edit-Contents-button-visible-in/ba-p/802906

Regards,
Iman Hashemi
ServiceRocket Apps Support

0 votes
Susan Ostreicher
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 7, 2019

Thanks, Iman. I'm aware of that, but it only takes effect after the page is saved. It doesn't change the behavior of the Adaptavist create page macro.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events