Issue
- Web Content with Searchable option turned off is still showing in Asset Publisher
Environment
- DXP 7.4, DXP 7.3
Resolution
-
Non-Searchable Web Content appearing in Asset Publisher is now the intended behavior for DXP 7.3 and 7.4 (LPS-141570).
- There is currently no configuration to prevent unsearchable Web Content from appearing in the Asset Publisher.
-
One potential workaround is to tag assets and use filters in Asset Publishers to include/exclude specific assets from being viewable. This can be done manually using the following steps:
-
- Add
nonsearchable
tag by navigating to Site Menu > Categorization > Tags. - Edit Web Content articles designated to be non-Searchable and add the 'nonsearchable' tag under Categorization and publish.
- Navigate to the Asset Publisher on page and edit Configuration. Scroll to the Filter section and add the following Rule:
- 'Does not Contain' 'All' of the following 'Tags':
nonsearchable
- 'Does not Contain' 'All' of the following 'Tags':
- Add
-
- You could use a Groovy script that adds a specific tag to all web content assets that have the Searchable option toggled off, at your team's discretion and direction.
Additional Information
- LPS-167762 - Feature Request was created to request adding an option to filter non-Searchable assets from collection display (Asset Publishers). Users can follow the request’s progress by opting in to watch the LPS, vote your support for the request to increase its visibility, or add additional feedback or concerns through the comments section.