templateType | template |
---|
templateOption | {"label":"Use Case livetemplate cloud ready","value":"979936585","templateType":"template"} |
---|
templateTypeOption | {"label":"Confluence template/blueprint","value":"template"} |
---|
templateId | 979936585 |
---|
excerpt | Scenario Using this recipe, you will create a simple search engine to search for pages that have a specific label. To do this, insert the name of the label in the Scaffolding macro. This will generate a Report with pages that contain that label. Result Recipe Apps Reporting for Confluence Server & Data Center, Scaffolding Level Intermediate Estimated time 15 minutes Macros Content Filter, Report Column, Report Empty, Report Info, Report Table Suppliers Content Supplier, Page Supplier, Scaffold Data Supplier Storage format You can copy and paste this code into the Confluence Source Editor : Please enter the labels below: Label A Label A line text true INLINE 5 true page +%data:Label A > text:lower case% true Page Title true content:title Labels true page:labels No pages with the input labels in this space. Macro structure You can recreate the example in the editor view: Steps Create a Text Data macro for users to type in the label they would like to report on. Set the parameters as below: Name: Label A Content type: Text Required: Yes Create a Report Table macro. Set Injected parameter to True . Within Report Table macro, create a Content Reporter macro and set the following parameters: Type: pages Labels: +%data:Label A > text:lower case% Within Report Table macro, under Content Reporter macro, create 2 Report Column macros. Set the first Report Column macro's Title to " Page Title " and add a Report Info macro within it. Set the Report Info macro's Key to " content:title ". Tick Link To Item . Set the second Report Column macro's Title to " Labels " and add a Report Info macro within it. Set the Report Info macro's Key to " page:labels ". Tick Link To Item . Add a Report Empty. Write a message that users will see when there are no pages with the label. Save the changes. Now, you can click on Edit Contents to type a Label to report on. Line-by-Line Explanation N/A |
---|
fieldGroupKeys | {"6aqnjkbqoz":["net.customware.confluence.plugin.scaffolding__6aqnjkbqoz__data_0_qeaky07a29eeanu3o6ey"]} |
---|
|