Selecting Assets in the Asset Publisher Widget¶
You can configure the Asset Publisher Widget to select Assets dynamically based on specific criteria, or manually, specifying exactly what assets to display. You can also display Assets from Collections.
Note
On Liferay 7.2 and below, Collections are referred to as Content Sets.
To select Assets to publish in the Asset Publisher widget,
Click the Actions menu (
) at the top-right corner of the Asset Publisher Widget.
Select Configuration to display the Configuration dialog.
Under Asset Selection, select how you want to filter your Assets. For a description of these options, see Asset Selection Options.
Optionally, click Create a collection from this configuration to save the configuration as a new Collection. This option is available for the Dynamic and Manual Asset selection options.
Once you’ve selected your Assets and configured the widget, click Save.
Asset Selection Options¶
You can use different options to select the Assets in the Asset Publisher dialog’s Asset Selection section:
Dynamic¶
Using the Dynamic asset selection, you can include Assets in the Asset Publisher Widget automatically, based on different criteria.
In the Source section, use the Asset Type drop-down menu to select your Assets. Select a specific Asset Type or Select More Than One to choose from different types.
In the Scope section, choose to display assets from an individual Site or other Sites.
In the Filter section, define the Rules for the Assets in your Asset Publisher Widget. You can define rules based on Categories, Tags, or Keywords.
Include a Custom User Attribute if you have defined one.
In the Ordering section, choose the presentation order of Assets in the Asset Publisher Widget.
Manual¶
Here you can set parameters and manually filter specific Assets:
In the Scope section, choose to display assets from an individual Site or other Sites.
In the Asset Entries section, use the Select button to filter for specific types of assets.
For the type of asset you select, check the assets you want to include.
Click Add.
Note
A new Collection is created based on your selection.
Collection¶
Select this option to choose from your previously saved Collections. To learn more about Collections, read About Collections and Collection Pages.
Under the Select Collection section, click Select.
Choose one of your exiting Collections.
Click Save.
Collection Provider¶
This is a new feature in Liferay DXP 7.3 that allows developers to create specific collections with more advanced criteria. To learn more, read the information about Creating an Information List Provider in the Info Framework developer documentation.