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 Linking can add identifier to your page titles. With this, you can name your catalogue pages or series of assets, projects, components, ideas or configuration pages with an ID as prefix or postfix. By using the  Child Counter Supplier , you can make use of the number of children pages as ID. Check this in action in our demo site ! Result Recipe Apps Platform Server and Data Center Level Intermediate Estimated time 10 minutes Macros Suppliers Storage format You can copy and paste this code into the Confluence Source Editor : Assets title Asset #%child-counter:next > number:000% - Document new Asset Macro structure You can recreate the example in the editor view: Steps Add an  Add Page macro. Add a title for the Create link text field, e.g. 'Document new Asset'. Since we want to automatically add an ID at the beginning of the pages (created by the link), fill out the Prefix  parameter: Asset #%child-counter:next > number:000% - What this means: Every page title will have the text 'Asset #' at the beginning. Followed by the number of children page (as an ID). Here we use an 'injection' notation with key from the  Child Counter Supplier . The notation 'number:000' defines the format of the number e.g. '001', '002', and so on. When clicked, users will be prompted to complete the title of the page e.g. 'Asset #054 - Laptop'. Add a Children Display macro to display the children pages created by the  Add Page macro. You can alter or reset the counter provided by the  Child Counter Supplier . See Child Counter Status for more information. Line-by-Line Explanation N/A
fieldGroupKeys{"jl8qxmorw8":["net.customware.confluence.plugin.scaffolding__jl8qxmorw8__data_0_d53b12o9s0"]}