You are here:
Enable the Optimized Fetch Products Feature for TV Media Planning Grid
For better usability and app response times, update the sfiAdsTvGrid Flexcard.
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 |
|---|
| 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 |
- From the App Launcher, find and select OmniStudio FlexCards.
-
Open sfiAdsTvGrid.
To edit a version of a Flexcard, first deactivate that version of the card.
- In the TV Grid Pagination card, select sfiAdsLinearPaginationHandler.
-
In the Properties pane, add a new attribute
lwcApiVersion, and set the value at 250 or higher. - In the TV grid, with the pagination card, select the sfiAdsDataGrid Lightning Web Component. These steps must be completed for each of the sfiAdsDataGrid Lightning Web Components in sfiAdsLinearPaginationHandler.
-
In the Properties pane, in the JSON value for calendarColumns, for the fieldName ChannelName, change the value of type to
typeaheadsuggest. For the fieldName ProgramName, change the value of type totypeaheaddatesuggest, suggestLabel toProgram, and suggestInputPlaceholder toEnter Program Name. -
In the JSON value for standardColumns, for the fieldName ChannelName, change the value of type to
typeaheadsuggest. For the fieldName ProgramName, change the value of type totypeaheaddatesuggest, suggestLabel toProgram, and suggestInputPlaceholder toEnter Program Name. -
In the JSON value for channelLedColumns, for the fieldName ChannelName, change the value of type to
typeaheadsuggest. For the FieldName ProgramName, change the value of type totypeaheaddatesuggest, suggestLabel toProgram, suggestInputPlaceholder toEnter Program Name, and add an extra nodedisableDateRangewith the value set to true. -
In the JSON value for programLedColumns, for the fieldName ChannelName, change the value of type to
typeaheaddatesuggest, suggestLabel toMedia Channel, suggestInputPlaceholder toEnter Channel Name. For the FieldName ProgramName, change the value of type totypeaheadsuggest, suggestLabel toProgram, suggestInputPlaceholder toEnter Program Name, and add an extra nodedisableDateRangewith the value set to true. - Save your changes, and activate the version of the updated Flexcard.
Now, when you are adding a TV placement in the media planning grid, and when you begin to type a placement name, the media planning grid fetches products based on the search criteria. If you've followed all the steps and the feature is not enabled, refresh the page.
