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":"StepbyStep Guide cloud ready v2 (With Supplier)","value":"979936588","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId979936588
excerptLet's show what pages have been recently updated in the Confluence instance and render them in a block of text. Then we shall format the text block so it displays the results neatly. Ingredients Apps Reporting for Confluence Server Macros Content Reporter, Date Sort, Report Block, Report Body, Report Info Suppliers Content Supplier Guide Create a Report Block macro. To limit the results, set the Maximum Results parameter to " 5 ". We also want to format the resulting block of text so it will be easier to read, so set the Separator parameter to " newline ". Within the Report Block macro, create a Content Reporter macro. Set the Spaces parameter to " @all " so the macro will look in every space in the Confluence instance. Set the Types parameter to " page " and the Time Period parameter to " 30d ". Within the Content Reporter macro, create a Date Sort macro. Set the Key to " content:modification date " and the Order to " descending ". Now, beneath the Content Reporter macro and still within the Report Block macro, create a Report Body macro. Within the Report Body macro, create three Report Info macros. For the first Report Info macro, set the Key to " content:title ". For the second Report Info macro, set the  Key  to " content:modifier ". For the third Report Info macro, set the  Key  to " content:modification date ". You may also check Link to Item for each macro so that the results render as hyperlinks. You'll also want to add some text to give context to the three Report Info macros. Something like this: You should now have a series of macros that look like this: Now click Save and check out the results. Notes Not applicable. Result Not applicable.
fieldGroupKeys{"rsfvh525kh":["net.customware.confluence.plugin.scaffolding__rsfvh525kh__data_0_w3u5y1d45ttq43gfnyng"]}