You are here:
comp-assets-no-contract (template)
The comp-assets-no-contract template provides space for assets that are not associated with contracts on the cards-based Assets and Review Cart Visualforce pages.
In Salesforce Industries Communications, Media, and Energy Summer '18, the comp-assets-no-contract template was modified to show assets only after the data source has loaded.
Template Type
Cards
Code
HTML
Image
None
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 change to the HTML in the Card Designer.
In CME Winter '18, keep the following:
<div class="slds-grid slds-grid_vertical-align-center slds-grid_align-center" ng-if="!records || records.length === 0 ">
In CME Summer '18, replace the above HTML with the following HTML to use translation features:
<div class="slds-grid slds-grid_vertical-align-center slds-grid_align-center" ng-if="datasourceStatus.status === 'loaded' && (!records || records.length === 0 )">

