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 allows you to search through Confluence pages for a specific macro, in this case the Expanding Reporter macro. To search for other macros, change the Contains Value parameter in the Text Filter macro to the macro name. You'd have to use the markup name of the macro for this to work. For example: " expanding-reporter " instead of " Expanding Reporter " and " content-reporter " instead of " Content Reporter ". Result Recipe Apps Reporting for Confluence Server & Data Center Level Intermediate Estimated time 15 minutes Macros Content Reporter, Report Column, Report Info, Report Table, Text Filter Suppliers Content Supplier, Page Supplier Storage format You can copy and paste this code into the Confluence Source Editor : Find pages which has the Expanding Reporter macro: expanding-reporter true content:body>text Page Title true page:title Macro structure You can recreate the example in the editor view: Steps Add a Report Table macro. Within the Report Table macro, add a Content Reporter macro. Set the Spaces parameter to " @all ". Within the Content Reporter macro, add a Text Filter macro. For the Key parameter, use the following keychain: " content:body>text ". Then check the  Required parameter. For the Contains Value parameter, enter " expanding-reporter " (or any other macro you would like to search for.) Under the Content Reporter macro, create a  Report Column macro. Set the Title  parameter to " Page Title ". Within the Report Column macro, create a Report Info macro. For the Key parameter, use the following keychain: " page:title " Then check the  Link to Item  parameter. Line-by-Line Explanation N/A
fieldGroupKeys{"6aqnjkbqoz":["net.customware.confluence.plugin.scaffolding__6aqnjkbqoz__data_0_zdybu4lfwpxzt3ckiubh"]}