You are here:
Enable the Optimized Fetch Products Feature
Improve the usability and response time of your Advertising Sales Management app by optimizing how products are fetched on the media planning grid.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
Feature Overview
When you add a placement in the media planning grid, and begin typing a product name in the Search Product field, a list of suggestions are shown in a dropdown list.
You can improve the response time of the planning grid by optimizing the Fetch Products feature. Optimization can be enabled for each media type's planning grid such as Digital Media, TV Media, Print and Radio. After you enable the optimized Fetch Products feature, the media planning grid creates a cache of all its products.
Note that once this cache is created any changes to the product catalog, such as adding a product or updating an Ad Space Specification, Clear the Cache After Updating Ad Product Information.
Industries CPQ and Fetch Products Optimization
You can also choose to use a combination of Salesforce CPQ and the optimized Fetch Products feature. Enable this combination if the number of products in your org is so high that the cache size causes issues with your system. In this case, Enable the isProductFetchServerEnabled Custom Setting. If you enable the isProductFetchServerEnabled custom setting, you are not required to clear the cache after you update the product information, to ensure that the latest products are available in the media planning grid.
Customize the Level of Optimization
After enabling optimization, you can then Customize the Optimized Fetch Products Feature to show fewer or more options in the dropdown list, or to require fewer or more characters before products are suggested.
To enable and customize your media planning grid response time optimization, follow these instructions:
- Enable the Optimized Fetch Products Feature for the Digital Media Planning Grid
For better usability and app response times, update the sfiAdsDigitalGrid Flexcard. - Enable the Optimized Fetch Products Feature for TV Media Planning Grid
For better usability and app response times, update the sfiAdsTvGrid Flexcard. - Enable the Optimized Fetch Products Feature for Print Media Planning Grid
For better usability and app response time, update the sfiAdsPrintGrid Flexcard. - Enable the Optimized Fetch Products Feature for the Radio Media Planning Grid
For better usability and app response time, update the sfiAdsRadioParentGrid Flexcard. - Enable the isProductFetchServerEnabled Custom Setting
Create the isProductFetchServerEnabled custom setting and enable it for the optimized Fetch Products feature to work in your Advertising Sales Management org along with Industries CPQ. - Clear the Cache After Updating Ad Product Information
Every time a product is added to Advertising Sales Management, or data about an AdSpace Specification is changed, run the Clear Managed Platform Cache and Refresh Platform Cache jobs. - 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. - Applying Product Filters to Ad Products
The GetCachedProducts element in Vlocity Integration Procedures (VIP) call an Apex class that fetches products corresponding to media types, and is stored inside the platform’s cache. You can apply filters to the products so that the required products are fetched for the media types. - Use Salesforce CPQ Context Rules to Fetch Products
Salesforce CPQ's context rules are used to retrieve Digital media products. To enable context rules to fetch digital media products, you must create a data mapper, configure an integration procedure, and then ensure that the isProductFetchServerEnabled custom setting is configured.
