Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scaffolding Cloud: Converted Scaffolding Server macros to Scaffolding Cloud macros.
Live template
templateTypetemplate
templateOption{"label":"Use Case livetemplate cloud ready","value":"964823111","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId964823111
excerptScenario You might want to guide users in creating content in Confluence, by providing a one-click link to create a page with a structured layout by: Automatically use a Confluence template as the base structure. Automatically suggest a page title Automatically categorize a page under a parent page Automatically add labels to the page You may also apply this to Scaffolding Live Templates. See  Using Links to Create Pages from Live Templates . (Only applicable for Server version.) Result Recipe Apps Platform Server and Data Center Level Easy Estimated time 5 minutes Macros Suppliers N/A Storage format You can copy and paste this code into the Confluence Source Editor : Product Catalogues Products Product - Create a new Product Product template product Product Suppliers Product Supplier - Create a new Product Supplier Product supplier template product-suppliers Contracts Create a new Contract Contract template contract Macro structure You can recreate the example in the editor view: Steps Create an  Add Page macro. For the parameter Create Link Text , enter the title of the link e.g. "Create a new Product". To decide what will happen when a user clicks on the link, specify the source parameters: Source parameter determines the name of the Confluence template to use. E.g. "Product template". Source type is set to "template" since it is based on a Confluence template. Expand the   Configure page title prefix/postfix   and make use of Prefix and Postfix parameters. In this example, we add "Product - " as postfix, so all page titles will start with "Product -  (Name of Product) ". To ensure organized space, make use of the Parent parameter, which tells Linking where to create the page. Useful to automatically categorize the pages. You can also automatically add label(s) to the pages. For this example, we specify "product" in the Labels parameter. Line-by-Line Explanation N/A
fieldGroupKeys{"jl8qxmorw8":["net.customware.confluence.plugin.scaffolding__jl8qxmorw8__data_0_kob3g9lyco2x6gl0vx6s"]}