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":"979936585","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId979936585
excerptScenario This recipe shows you how you can use the Collect parameter from the  Collection Supplier to return all children pages within a space. Result Recipe Apps Reporting for Confluence Server & Data Center Level Advanced Estimated time 15 minutes Macros Content Reporter, Report Column, Report Info, Report Table, Text Filter Suppliers Storage format You can copy and paste this code into the Confluence Source Editor : true page:children Parent Page true page:title Children true page:children> collect "title" Macro structure You can recreate the example in the editor view: Steps Create a Report Table macro. Within the Report Table macro, create a Content Reporter macro. Within the Content Reporter macro, create a Text Filter macro. Set the Key parameter to page:children . Check the Required parameter. We're setting up a Text Filter macro here because we want the Content Reporter to only search pages with children. Or else it would search for all pages which may be resource intensive. Within the Report Table macro and under the Content Reporter macro, create a Report Column macro. Set the Title parameter to Parent Page . Within the Report Column macro, create a Report Info macro. Set the Key parameter to page:title . Check the Link to Item parameter. Back within the Report Table macro, create another Report Column macro. Set the Title parameter to Children . Within the  Report Column  macro, create a  Report Info  macro. Set the  Key  parameter to page:children>collect "title" . Line-by-Line Explanation N/A
fieldGroupKeys{"6aqnjkbqoz":["net.customware.confluence.plugin.scaffolding__6aqnjkbqoz__data_0_do90y5si75"]}