JBoss.orgCommunity Documentation
The Content By Query portlet allows you to collect and display data throughout a workspace by using a query instead of selecting items by a folder or by content.
To use this portlet, first you need to add the Content By Query portlet to a specific page as follows:
Drag and drop the Content By Query portlet from the Page Editor --> Applications --> Content to the main pane. You can do this step while creating a new page or editing an existing page or editing the layout of a portal.
Edit the Content By Query portlet by hovering your cursor over it, then click
to edit the portlet.
The form with the Edit Mode tab appears.
Enter a valid query into the by query field to get data that you want to display.
Select a workspace where you want to get data.
Click Save to complete adding the Content By Query portlet.
Click
to quit the
Page Editor
page and see the displayed data.
To learn more about fields in the Edit Mode tab, refer to Content List Preferences.