Filtering the content model | HCL Digital Experience
By applying filters to the content model, you can exclude parts of the page hierarchy from the content model. Filtering is performed based on request data and metadata assigned to the pages.
About this task
There are two ways you can filter the content model:
- You can filter on the device class that is specified in the HTTP request. This filtering can be used to provide a unified content model for both desktop and mobile users. For pages that are specific to mobile users, you assign only the device class for the mobile client, such as a smartphone or tablet. These pages are then visible only to users who access the portal with one of the specified devices.
- You can filter on the markup language that pages support. This approach is useful when building mobile websites for older devices that use markup languages like WML or Compact HTML
Tip: When filtering for mobile devices that support HTML, filter only by device
class.
Procedure
-
Enable content model filtering in the portal.
By default, filtering is not enabled. This step must be done only once.
- Save your changes, and restart the server.