Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Use Advanced Search

          Use Advanced Search

          Advanced search is a database search that allows for a more detailed search than the standard text-based quick search. Quick search searches predefined fields of the list items and compares their values to the search term, whereas, an advanced search helps define search operators and values. This feature enables the user to search for values greater than a given value or different from a given value.

          Required Editions

          Available in: Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.
          1. Define at least one AdvancedSearchObject on the list object you want to filter.
            Make sure that the profileId for the AdvancedSearchAttributes is set to Default.
          2. Define one or more AdvancedSearchAttribute objects.
          3. If you want, define default values or default operators for your search attributes.
          4. When using the list in a UI, make sure it’s searchable.
          5. To support advanced search, design your list's data source:
            • In modeled data sources, add conditions for each advanced search attribute.
              Note
              Note Don’t use the ISO date handling macros around leftSideValue or rightSideValue. The framework takes care to convert the date properly.
              • code sample

            • In external or version 1.0 data sources, include checks for each advanced search property, and then add these details:
              • code sample

          6. To support favorites handling, include this action in your start application process contract after the user has been loaded.
            code sample
          7. In the load method of your list object, set the AdvancedSearchObject by calling this.addAsoInformation({asoName: <NameOfTheASOYouWantToUse}).
            This method is asynchronous.
            • When a lookup is defined as a parameter type:
              • The lookup process must show the user a list of possible values. The itemSelected event must be used to pass the information about the selected value to the calling process.
              • The lookup process must return the necessary load parameters for the actual LU object.
              • The return values of the lookup process are used as parameters in the data source of the LU. Therefore, the names must match.
            • When you reload the LO from the business logic, the advanced search is executed again and filters the list correctly.
            • When you change one item and save only this item, the advanced search isn’t executed again. The changed item remains in the list even if it doesn’t match the advanced search.
           
          Loading
          Salesforce Help | Article