Use custom search facets use-custom-search-facets
Administrators can add search predicates to the Filters panel to customize search and make the search functionality versatile.
Brand Portal supports faceted search for granular searches of approved brand assets, which is possible due to the Filters panel. Search facets are made available on the Filters panel through Search Form in the admin tools. A default Search Form named Asset Admin Search Rail exists in the Search Forms page in admin tools. However, Administrators can customize the default Filters panel. They can edit the default Search Form (Asset Admin Search Rail) by adding, editing, or removing search predicates, making the search functionality versatile.
You can use various search predicates to customize the Filters panel. For example, add the property predicate to search for assets that match a single property that you specify in this predicate. Add the options predicate to search for assets that match one or more values that you specify for a particular property. Add the date range predicate to search for assets created within a specified date range.
Add a search predicate to the Filters panel add-a-search-predicate
-
To access administrative tools, click the Experience Manager logo from the toolbar at the top.
-
From the administrative tools panel, click Search Forms.
-
In the Search Forms page, select Assets Admin Search Rail.
-
On the toolbar that appears at the top, click Edit to open the Search Form so you can edit it.
-
In the Edit Search Form page, drag a predicate from the Select Predicate tab to the main pane. For example, drag Property Predicate.
The Property field appears in the main pane and the Settings tab on the right displays property predicates.
note note NOTE The header label in the Settings tab identifies the type of predicate that you select. -
In the Settings tab, enter a label, placeholder text, and description for the property predicate.
- Select Partial Search, if you want to allow partial phrase search (and wildcard search) of assets-based on the specified property value. By default, the predicate supports the full-text search.
- Select Ignore Case, if you want the asset search based on property value to be non-case sensitive. By default, the search for property values in the Search Filter is case-sensitive.
note note NOTE On selecting the Partial Search checkbox, Ignore Case is selected by default. -
In the Property Name field, open the property picker and select the property based on which the search is performed. Alternatively, enter a name for the property. For example, enter
jcr :content/metadata/dc:title
or./jcr:content/metadata/dc:title
.note note NOTE In Brand Portal, all the String properties (except the ones starting with xmp
) injcrcontent/metadata
ofdam:asset
are indexed by default. All other custom properties of any type are not indexed, by default.Any property that is indexed can be used while creating a property predicate. If any non-indexed property is configured, the search query on an un-indexed property may not give any search result. -
Click Done to save the settings.
-
From the Assets user interface, click the overlay icon and choose Filter to navigate to the Filters panel. The Property predicate is added to the panel.
-
Enter a title for the asset to be searched in the Property text box. For example, “Adobe.” When you perform a search, assets with the title matching “Adobe” are displayed in the search results.
List of search predicates list-of-search-predicates
Similar to the way you add a Property predicate, you can add the following predicates to the Filters panel:
Admin users can search assets in any folder by navigating to that folder using Path Browser.
Whereas non-admin users can search assets in a folder (accessible to them) by navigating to that folder in Path Browser.
- Field Label
- Path
- Description
- Field Label
- Placeholder
- Property Name
- Partial Search
- Ignore Case
- Description
- Field Label
- Placeholder
- Property name
- Delimiter Support
- Ignore Case
- Description
etc/tags/mac/<tenant_id>/<custom_tag_namespace>
. It is necessary if they publish the Search Form from AEM, where the path does not include tenant information, for example, /etc/tags/<custom_tag_namespace>
.- Field Label
- Property name
- Path
- Description
- Field Label
- Path
- Description
- Field Label
- Property name
- Relative date
- Field Label
- Property name
- Description
- Field Label
- Placeholder
- Property name
- Range text (From)
- Range text (To)
- Description
- Field Label
- Property name
- Description
- Field Label
- Property name
- Path
- Description
- Field Label
- Property name
- Description
dam:status
.- Field Label
- Property name
- Description
- Field Label
- Property name
- Description
- Field Label
- Property name
- Description
- Field Label
- Property name
- Description
dam:Asset
.- Field Label
- Property name
- Description
- Do not use Options Predicate, Publish Status Predicate, and Rating Predicate as these predicates are not functional in Brand Portal.
- Folder type predicate
(nt:folder type)
is not supported on Brand Portal and may cause performance issues. If it is present in a published custom Search Form, then it can be deleted by editing the Search Form.
Delete a search predicate delete-a-search-predicate
To delete a search predicate, follow these steps:
-
Click the Adobe logo to access administrative tools.
-
From the administrative tools panel, click Search Forms.
-
In the Search Forms page, select Assets Admin Search Rail.
-
On the toolbar that appears at the top, click Edit to open the Search Form so you can edit it.
-
In the Edit Search Form page, from the main pane, select the predicate you want to delete. For example, select Property Predicate.
The Settings tab on the right displays property predicate fields.
-
To delete the property predicate, click the bin icon. On the Delete Field dialog box, click Delete to confirm the delete action.
The Property Predicate field is removed from the main pane, and the Settings tab becomes empty.
-
To save the changes, click Done in the toolbar.
-
From the Assets user interface, click the overlay icon and choose Filter to navigate to the Filters panel. The Property predicate is removed from the panel.