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?
Community moderators have prevented the ability to post new answers.
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
$<AncestorNames>=[Macros]
Last Modification Date§-
Some notes on the query:
AncestorNames
and Last Modification Date
are artificial properties that are automatically available$<...>=[...]
is just the syntax to force an exact match; AncestorNames=Macros
would also have "My favourite Macros
" in the result list (you can also select on page IDs by the use of AncestorIds
)§
is the normalizer for values so that dates are not sorted alphabetically-
simply indicates descending orderSearch 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.