You are here:
Customize the Optimized Fetch Products Feature
Customize the optimized Fetch Products feature to show fewer or more options in the dropdown list, to require fewer or more characters before products are suggested, and so on.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
| REQUIRED EDITIONS AND USER PERMISSIONS |
|---|
| Available in: Lightning Experience |
| Available in: all editions |
| REQUIRED USER PERMISSIONS | |
|---|---|
| To access Media Cloud advanced features: | MediaCloudPlus Runtime |
| To create, read, update, and delete Flexcards: | Omnistudio Admin |
This table lists the Flexcard name and Pagination Handler name for each media type.
| Media Type | Flexcard Name | Pagination Handler |
|---|---|---|
| Digital | sfiAdsDigitalGrid | sfiAdsDigitalPaginationHandler |
| TV | sfiAdsTvGrid | sfiAdsLinearPaginationHandler |
| sfiAdsPrintGrid | sfiAdsPrintPaginationHandler | |
| Radio | sfiAdsRadioParentGrid | sfiAdsRadioPaginationHandler |
To customize the optimization parameters for the fetch products feature, follow these instructions:
Limit the Number of Options in the Dropdown
By default, the number of options that appear in the dropdown list is 6. However, you can override this value and choose to show fewer or more options in the dropdown list. This customization is possible only if the isProductFetchServerEnabled custom setting either does not exist or has been disabled in the org.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- From the App Launcher, find an select OmniStudio FlexCards.
-
Click the Flexcard for the media type for which you want to update the number of options in the drop-down list.
To edit a version of a Flexcard, first deactivate that version of the card.
-
F or the pagination handlers in the Flexcards for each media type, add a new attribute
defaultProductsSuggestSize, and specify the value as the number of options that you want to be shown in the dropdown list on the media planning grid. - Save your changes and activate the Flexcard.
Specify the Minimum Number of Characters Before Showing Suggestions
This customization is possible only for the columns on the media planning grid that have the typeaheaddatesuggest and typeaheadsuggest values for the type field. By default, for columns with the type set to typeaheaddatesuggest, the minimum number of characters typed before suggestions are shown is 1, and for columns with the type set to typeaheadsuggest, the value is 0.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- From the App Launcher, find and select OmniStudio FlexCards.
-
Click the Flexcard for the media type for which you want to set the minimum number of characters to be entered before seeing the suggestions.
To edit a version of a Flexcard, first deactivate that version of the card.
-
In the Properties pane where the types typeaheaddatesuggest and typeaheadsuggest are specified, add a column configuration key named
minCharsToSuggest, and set the value of this field to the desired numeric value. - Save your changes, and activate the Flexcard.
Disable the Date Range in Columns on the Media Planning Grid
In the media planning grid, you can remove the data range from view through a boolean column configuration key. This customization is possible only for the columns with the type set to typeaheaddatesuggest.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- From the App Launcher, find and select OmniStudio FlexCards.
-
Click the FlexCard for the media type for which you want to disable the date range in the columns on the media planning grid.
To edit a version of a FlexCard, first deactivate that version of the card.
- Where the value of the type field is set to typeaheaddatesuggest, add a column configuration key named disableDateRange, and set the value to false.
- Save your changes, and activate the FlexCard.
Add Placeholder Text on the Media Planning Grid Text Input Fields
By default, the text box on the media planning grid for the Product list shows Enter Product Name and the text box for the wrapper shows Enter Channel Name. You can edit this placeholder text. This customization is possible only for columns with the type set to typeaheaddatesuggest and typeaheadsuggest.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- From the App Launcher, find and select OmniStudio FlexCards.
-
Click the FlexCard for the media type for which you want to add placeholder text.
To edit a version of a FlexCard, first deactivate that version of the card.
- Select the pagination handler in the FlexCard.
- Where the value of the type field is set to typeaheaddatesuggest or typeaheadsuggest, add a column key named suggestInputPlaceholder, and specify the text that you want to be shown in the text box on the media planning grid.
- Save your changes, and activate the FlexCard.
Add Label Text to the Media Planning Grid Text Input Fields
In the media planning grid, the default label for the product list is Product and that for the wrapper is Media Channel. These labels can be customized only for columns that are of the type typeaheaddatesuggest and typeaheadsuggest.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- From the App Launcher, find and select Omnistudio Flexcards.
-
Click the Flexcard corresponding to the media type to which you want to add label text.
Note To edit a version, make sure that you deactivate that version of the Flexcard.
- Select the custom Lightning web component. Make sure you select the one in the pagination card state that contains the columns data.
-
In the Properties pane, for the attribute value where the type field is set to typeaheaddatesuggest or typeaheadsuggest:
- Add a suggestLabel column key.
- Enter the text that you want to appear in the text box on the media planning grid.
- Save your changes and activate the Flexcard.
