Showing Pages without Recent Update

Scenario

The following recipe generates a report to find dormant or outdated pages that are not actively edited for a period of time.


Result


Recipe

Ingredients

Apps

Reporting, Scaffolding


Platform
Server, Data Center
Level

EASY

Estimated time

15 minutes

Macros

Suppliers

Storage format

Macro structure

You can recreate the example in the editor view:

Steps

  1. Create a List Data macro, and set its Name to "myList".

  2. Within the List Data macro, create multiple List Options with different values as in the screenshot. Set Value to %global:current date > date:shift -1y > date:dd-MMM-yyyy%
    Change the key "shift - 1y" as desired (ie. -6m, -2y, or -10d). See Date Supplier

  3.  Now you can select the maximum date to for pages with updates.

  4. Create Report Table macro and check the Injected parameter to set it to True.

  5. Within the Report Table, create Content Reporter. Set the following parameters:
    Space: "@all"
    Types: "pages"

  6. Within Content Reporter macrocreate Date Filter macro. Set the following:
    Key: content:modification date

    Required: "checked"
    Format: "dd-MMM-yyyy"
    Maximum Value: %data:myList>collection:first%

  7. Within Report Table macro and outside Content Reporter macro, create Report Column macro and set Title to "Page Title" .

  8. Within the Report Column macro, create Report Info. And set the following:
    Key: content:title
    Link To Item: "checked"

  9. Within Report Table macro and outside Content Reporter macro, create Report Column macro and set Title to "Created" .

  10. Within the Report Column macro, create Report Info. And set the following:
    Key: content:creation date
    Link To Item: "checked"
    Format: "dd-MMM-yyyy"

  11. Within Report Table macro and outside Content Reporter macro, create Report Column macro and set Title to "Updated" .

  12. Within the Report Column macro, create Report Info. And set the following:
    Key: content:modification date
    Link To Item: "checked"
    Format: "dd-MMM-yyyy"

  13. Within Report Table macro and outside Content Reporter macro, create Report Column macro and set Title to "Author" .

  14. Within the Report Column macro, create Report Info. And set the following:
    Key: content:creator
    Link To Item: "checked"

  15. Within Report Table macro and outside Content Reporter macro, create Report Column macro and set Title to "Modifier" .

  16. Within the Report Column macro, create Report Info. And set the following:
    Key: content:modifier
    Link To Item: "checked"

  17. Within Report Table macro and outside Content Reporter macro, create Report Column macro and set Title to "Created" .

  18. Within the Report Column macro, create Report Info. And set the following:
    Key: content:creation date
    Link To Item: "checked"