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 Filters panel. Search facets are made available on Filters panel through Search Form in the admin tools. A default search form named Asset Admin Search Rail exists in Search Forms page in admin tools. However, Administrators can customize the default Filters panel by editing the default Search Form (Asset Admin Search Rail) by adding, modifying, or removing search predicates, thereby 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 add a search predicate to the Filters panel:
-
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 toolbar that appears at the top, click Edit to open the edit search form.
-
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 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 search Filter is case-sensitive.
note note NOTE On selecting Partial Search checkbox, Ignore Case is selected by default. -
In the Property Name field, open 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. Rest all other custom properties of any type are not indexed, by default.Any property which 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
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>
, 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
- Field Label
- Property name
- Description
- Field Label
- Property name
- Description
- Field Label
- Property name
- Description
- Field Label
- Property name
- Description
- 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 published custom search form then it can be deleted by editing search form.
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 toolbar that appears at the top, click Edit to open the edit search form.
-
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.