You are here:
cpq-config-attr-custom-action-template1 and cpq-config-attr-custom-action-template2
The cpq-config-attr-custom-action-template1 and cpq-config-attr-custom-action-template 2 templates support custom actions in the Industries Cart information panel. Specifically, these templates add a lookup field for a phone number.
In Salesforce Industries Communications, Media, and
Energy
Summer '18, cpq-config-attr-custom-action-template1
and cpq-config-attr-custom-action-template2 have been changed to use the
namespace prefixed c__CustomActionThirdPartyTest instead of
CustomActionThirdPartyTest.
Template Type
Cards
Code
HTML, CSS/SCSS
Image
Upgrade from Vlocity CME Winter '18 to Vlocity CME Summer '18
When upgrading from Salesforce Industries Communications, Media, and Energy Winter '18 to Salesforce Industries Communications, Media, and Energy Summer '18, you must make the following changes to the JavaScript in the Card Designer.
cpq-config-attr-custom-action-template1
modalScope.customActionIframeSrc = '/apex/CustomActionThirdPartyTest?targetOrigin=' + targetOrigin + '&messageType=' + messageType + '&attributeId=' + attributeId;
In CME Summer '18, replace the JavaScript above with the following JavaScript:
modalScope.customActionIframeSrc = '/apex/c__CustomActionThirdPartyTest?targetOrigin=' + targetOrigin + '&messageType=' + messageType + '&attributeId=' + attributeId;"
cpq-config-attr-custom-action-template12
modalScope.customActionIframeSrc = '/apex/CustomActionThirdPartyTest?targetOrigin=' + targetOrigin + '&messageType=' + messageType + '&attributeId=' + attributeId;
In CME Summer '18, replace the JavaScript above with the following JavaScript:
modalScope.customActionIframeSrc = '/apex/c__CustomActionThirdPartyTest?targetOrigin=' + targetOrigin + '&messageType=' + messageType + '&attributeId=' + attributeId;

