Using Scaffolding Date-data in Reporting's Date-filter

Scenario

The following recipe filters a report based on Scaffolding date-data.


Result


Recipe

Ingredients

Apps

Reporting, Scaffolding
Platform
Server
Level

EASY

Estimated time

10 minutes

Macros

Suppliers

Storage format

Macro structure

You can recreate the example in the editor view:

Steps

  1. Add a Date Data macro

  2. Create a Report Table macro.

  3. Within the Report Table macro, create a Content Reporter macro.
    Set the type to page
    Tick the injection checkbox

  4. Within the Content Reporter macro, create a Date Filter macro.
    Set the Key parameter to page:creation date.
    Set the format  to E MMM dd HH:mm:ss z yyyy
    Set the minimum date to %data:startDate%

  5. Within the Report Table macro and under the Content Reporter macro, create a Report Column macro.
    Set the Title parameter to Title.

  6. Within the Report Column macro, create a Report Info macro.
    Set the Key parameter to page:title.
    Check the Link to Item parameter.

  7. Back within the Report Table macro, create another Report Column macro.
    Set the Title parameter to Created Date.

  8. Within the Report Column macro, create a Report Info macro.
    Set the Key parameter to page:creation date.