How to display Page Properties of the results
Problem
User need to use Page Properties Report macro to display the summary information from multiple pages.
User need to specify the same labels for these pages.
Proposed solution
CQL Search Table Macro work together with Page Properties to show summary information for the searched results.
Example
The Page Properties table in the page look something like this:
Type | Hotel |
---|---|
Stars | |
Rating | 10.0 |
Price | 100 |
Resolution | I Like It |
The CQL Search Table Macro is configured as follows:
To retrieve the information from Page Properties, add prefix, pp:, to the property key.
CQL | parent = $$id$$ |
---|---|
Table Template | s/n, title, pp:Type, pp:Stars, pp: Rating, pp:Price, pp: Resolution, modifier |
Template Header | S/N, Name, Type, Stars, Rating, Price($), Resolution, Last Modified By |
Video Demo