Confluence bridge for Details Summary (Page properties report)

Zuletzt geändert von xwikiadmin am 2025/01/07 12:38

This is a Confluence bridge for the Details Summary macro. Confluence now calls this macro Page Properties Report. It allows the user to display properties attached to a page using the Details bridge.

Bridges are there for compatibility with content migrated from Confluence and this is particularly true for the Details and Details Summary macros. We strongly encourage people to use native XWiki features, like App Within Minutes or XWiki classes and objects, which are more powerful and better integrated in the platform.

Parameters

ParameterDescriptionMandatoryDefaultExample
idThe group of properties to show. If empty, will show page properties without identifiers.No(empty)book
headingsWhich column of the page properties to show. By default, all columns are shown. Columns with comma in their names require being quotedNo(empty)Title,Author,~"Released in years~""
cqlA query written in the Confluence Query Language (CQL) syntax defining the list of documents to show. See the documentation.If labels is not given(empty)label = "examplelabel" and space = currentSpace ( )
labelsA list of tags to use, separated by a comma or a space. This value is ignored if the cql parameter is set. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.If cql is not given(empty)exampletag
operatorWhether all the tags should match (AND), or any (OR). This value is ignored if the cql parameter is set. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.NoORAND
maxMaximum number of results.  Note: this parameter doesn't exist in Confluence, it's an XWiki addition.No(unset)15
sortWhat to sort on. The only supported values are "modified", "creation" and "title" for now. Ignored if an order by clause is present in the cql parameter.  Note: this parameter doesn't exist in Confluence, it's an XWiki addition.No(unset)title
reverseWhether to reverse the sort (true) or not (false).  Note: this parameter doesn't exist in Confluence, it's an XWiki addition.Nofalsetrue
firstcolumnA custom title for the document name columnNoTitleBook
showLastModifiedShow the last modified time of the pageNofalsetrue
showPageLabelsShow the tags of listed documentsNofalsetrue
showCreatorShow the initial author of the listed documentsNofalsetrue
showLikesCountThis parameter is ignored.Nofalsetrue
showUnresolvedCommentsCountThis parameter is ignored.Nofalsetrue

Example of usage

{{confluence_details id="work"}}
|=Title|The Hitchhiker's Guide to the Galaxy|
|=Author|Douglas Adams|
|=Released in years|1979–1992|
|=Kind|Trilogy in five books
|=Genre|Science fiction
{{/confluence_details}}

In another page:

{{confluence_detailssummary showLikesCount="true" showCommentsCount="true" showLastModified="true" headings="Title,Author,~"Released in years~"" showUnresolvedCommentsCount="true" id="work" showPageLabels="true" showCreator="true" cql="label = ~"examplelabel~" and space = currentSpace ( )"/}}

{{confluence_detailssummary showLikesCount="true" showCommentsCount="true" showLastModified="true" showUnresolvedCommentsCount="true" id="work" showPageLabels="true" showCreator="true" cql="label = ~"examplelabel~" and space = currentSpace ()"/}}

The result is the following:

TitleThe Hitchhiker's Guide to the Galaxy 
AuthorDouglas Adams 
Released in years1979–1992 
KindTrilogy in five books
GenreScience fiction

In the other page:

DocumentReleased in yearsAuthorTitleLast modifiedCreatorTags

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel

1979–1992

Douglas Adams

The Hitchhiker's Guide to the Galaxy

2025/01/07 12:38xwikiadminexamplelabel
DocumentTitleAuthorReleased in yearsKindGenreLast modifiedCreatorTags

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel

The Hitchhiker's Guide to the Galaxy

Douglas Adams

1979–1992

Trilogy in five books

Science fiction

2025/01/07 12:38xwikiadminexamplelabel