This question is in reference to Atlassian Documentation: Content Report Table Macro
I would like to track the recent updated pages, but only under a certain parent page. Is it possible to adapt this macro to do that? or is there another macro available for it?
I do not know if your use case can be solved by the Content Report Table Macro.
Maybe you could do this with the Content By Label Macro which has the option to restrict on an ancestor page? This feature seems only available since Confluence 5.8 ...
If the Content By Label Macro cannot meet the requirements of your use case, the Display Table Macro of the (commercial) projectdoc Toolbox Add-on is also able to select pages with a given page as ancestor. But you need to use the Document Properties Marker Macro to define the properties of the pages. Without this macro a page will not be part of the result set. This is similar to the Page Properties Macro and the Page Properties Report Macro.
If you decide to give the projectdoc Toolbox a try, this is what the query looks like to select the children of a page with the name '
Macros' and sort them by their modification date with the Display Table Macro:
Name, Last Modification Date
Last Modification Date§-
Some notes on the query:
Last Modification Dateare artificial properties that are automatically available
$<...>=[...]is just the syntax to force an exact match;
AncestorNames=Macroswould also have "
My favourite Macros" in the result list (you can also select on page IDs by the use of
§is the normalizer for values so that dates are not sorted alphabetically
-simply indicates descending order
Search Tips provides information about search options with the projectdoc Toolbox.
In Page Properties and Document Properties we compare Confluence page properties with projectdoc document properties.
Biased alert: I'm one of the authors of this add-on.
Let's face it, work can be challenging but fulfilling, especially when you enjoy the challenges thrown at you. However for me, nothing compares to going on vacation (or holiday as some of you m...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events