Administrators can add search predicates to the Filters panel to customize search and make the search functionality versatile.

Use search facets to add, modify, or remove search predicates from the Filters panel in AEM Assets Brand Portal. Adding search predicates to the Filters panel lets you customize your search based on specific needs, which makes the search functionality versatile.

You can add multiple predicates to 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, do the following:

  1. To access administrative tools, click the AEM logo from the toolbar at the top.

    aemlogo
  2. From the administrative tools panel, click Search Forms

    Navigation-Panel
  3. In the Search Forms page, select Assets Admin Search Rail.

    search-forms-page
  4. On toolbar that appears at the top, click Edit to open the edit search form.

    edit-search-form
  5. 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.

    edit-search-form-properties

    Notă:

    The header label in the Settings tab identifies the type of predicate you select.

  6. In the Settings tab, enter a label, placeholder text, and description for the property predicate.

    Notă:

    Select Ignore Case if you want the asset search based on property values to be non-case sensitive. By default, the search for property values in search Filter is case-sensitive.

  7. 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:description or ./jcr:content/metadata/dc:description.

    search-form-property-picker
  8. Click Done to save the settings.

  9. 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.

    filterspanelproperty
  10. Enter a description for the asset to be searched in the Property text box. For example, enter "Adobe." When you perform a search, assets with description 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:

Predicate Name

Description

Properties

Property

Search assets based on a particular metadata property.
  • Field Label
  • Placeholder
  • Property Name
  • Ignore Case
  • Description
Multi Value Property Similar to property predicate but allows multiple input values, separated by a delimiter (default is COMMA[,]) assets matching any of the input values are returned in results.
  • Field Label
  • Placeholder
  • Property name
  • Delimiter Support
  • Ignore Case
  • Description

Tags

Search predicate to search assets based on tags. You can configure the Path property to populate various tags in the Tags list.

Note: Administrators might need to change the path value, for example, /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
Path Search predicate to search assets at a particular location.
  • Field Label
  • Path
  • Description
Relative Date Search predicate to search assets based on the relative date of their creation.
  • Field Label
  • Property name
  • Relative date
Range Search predicate to search assets that lie within a specified range of property values. In the Filters panel, you can specify minimum and maximum property values for the range.
  • Field Label
  • Property name
  • Description

Date Range

Search predicate to search assets created within a specified range for a date property. In the Filters panel, you can specify Start and End dates.
  • Field Label
  • Placeholder
  • Property name
  • Range text (From)
  • Range text (To)
  • Description

Date

Search predicate for a slider-based search of assets based on a date property.
  • Field Label
  • Property name
  • Description

File Size

Search predicate to search assets based on their size.
  • Field Label
  • Property name
  • Path
  • Description

Asset Last Modified

Search predicate to search assets based on the last modified date.
  • Field Label
  • Property name
  • Description
Approval Status Search predicate to search assets based on approval metadata property. The default property name is dam:status.
  • Field Label
  • Property name
  • Description
Checkout Status Search predicate to search assets based on the check-out status of an asset when it was published from AEM Assets.
  • Field Label
  • Property name
  • Description
Checked Out By Search predicate to search assets based on the user who has checked out the asset.
  • Field Label
  • Property name
  • Description
Expiry Status Search predicate to search assets based on the expiration status.
  • Field Label
  • Property name
  • Description
Member of collection Search predicate to search assets based on whether an asset is a part of a collection. 
  • Description
Hidden This predicate is not explicitly visible to the end users and is used for any hidden constraints typically for restricting search results type to dam:Asset.
  • Field Label
  • Property name
  • Description

Notă:

Do not use Options Predicate, Publish Status Predicate, and Rating Predicate as these predicates are not functional.

Delete a search predicate

To delete a search predicate, follow these steps:

  1. Click the Adobe logo to access administrative tools.

    aemlogo
  2. From the administrative tools panel, click Search Forms

    Navigation-Panel
  3. In the Search Forms page, select Assets Admin Search Rail.

    search-forms-page
  4. On toolbar that appears at the top, click Edit to open the edit search form.

    edit-search-form
  5. 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.

  6. 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.

    delete-predicate
  7. To save the changes, click Done in the toolbar.

  8. 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.

    filterspanelpropertyremoved

Această lucrare este oferită sub licență Atribuire-Necomercial-FărăModificări 3.0 Ne-adaptată Creative Commons  Postările pe Twitter™ şi Facebook nu sunt acoperite de condiţiile de licenţiere Creative Commons.

Prevederi legale   |   Politică de confidențialitate online