You are here:
Activate FlexCards Post Migration for Advertising Sales Management
The Advertising Sales Management grid relies almost entirely on FlexCards for the grid configurations. The Lightning Web Components accept columns as attributes with configured JSON values. In the Spring '24 release, the session variables with the JSON values have been removed, and are passed directly to the Lightning Web Components, as an attribute value.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
If your org has ben recently migrated, you may see an error similar to the following while activating a FlexCard.
Could not deploy. Error msg: No MODULE names markup://c:sfiAdsKpiSummaryHandler found : [markup://c:cfSfiAdsTVKPISummary],
If you see this error, navigate to the Lightning Web Component mentioned in the error message. In this example, the Lightning Web Component is sfiAdsKpiSummaryHandler. Add the CME package namespace prefix to the Lightning Web Component. You can find the namespace prefix on the Installed Packages page under Setup. After you add the namespace prefix to the Lightning Web Component name, the attributes and conditions are reset, and you must manually add them to the Lightning Web Component.
For each of the following FlexCards, move the mediaType attribute to be the last attribute in the sfiAdsDataGrid Lightning Web Component.
-
sfiAdsDigitalGrid. FlexCard for the Digital Placement grid.
-
sfiAdsTVGridChild. FlexCard for the TV placement grid.
-
sfiAdsPrintGrid. FlexCard for the Print placement grid.
-
sfiAdsRadioParent. FlexCard for the Radio placement grid.
For the vplAdsViewSummaryTabs FlexCard, move the programtotal attribute to be the last attribute in the sfiAdsLinearSummaryHandler Lightning Web Component.
To make any customizations to the columns attribute for the following FlexCards, add the columns attribute and custom JSON as a value to the sfiAdsDataGrid Lightning Web Component.
-
sfiAdsDigitalGrid
This is the out-of-the-box JSON for the Digital media placement grid.
[{"fieldName":"product","label":"Ad Space Product","Placeholder":"Product Name","searchable":true,"sortable":true,"type":"typeaheaddate","editable":true,"visible":true,"userSelectable":true,"optionField":"productLists","helperFeild":"placementDateRange","startdate":"startdate","enddate":"enddate","maxTypeAheadDate":"mediaPlanEndDate","minTypeAheadDate":"mediaPlanStartDate","disableStartDate":"disableStartDate","disableEndDate":"disableEndDate","columnWidth":"18%","errorMessage":"placementError","hasCellError":"hasDigitalProductError","hasSpinner":"true","displayCellLink":"isOptional","cellLinkLabel":"Add to Media Plan","showCaret":"true","disableEditForChild":true,"postFix":"ProductFamily","postFixClass":"ads-product-tag"},{"fieldName":"placementName","label":"Placement Name","Placeholder":"--","searchable":true,"sortable":true,"type":"text","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"textAlign":"left","columnWidth":"5%","hasSpinner":"true"},{"fieldName":"checkAvailability","label":"Availability","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":true,"userSelectable":true,"conditionalIcon":"conditionalIconStyle","conditionalToolTip":"toolTipMessage","columnWidth":"7.2%","disableIfTrue":"isWrapper"},{"fieldName":"ratetype","label":"Pricing Model","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showRateTypeFlag","visible":true,"userSelectable":true,"optionField":"rateTypeOptions","textAlign":"left","columnWidth":"6%","hasCellError":"hasRateTypeError","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"BaseOneTimeCharge","subHelperFeild":"UnitsPerQuantityLabel","label":"Base Rate","Placeholder":"--","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%"},{"fieldName":"Budget","label":"Budget","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"85px","hasToolTipHeader":"false","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"RequestedUnits","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units should be in multiples of 1000 for CPM","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"EffectiveRequestedUnits","label":"Effective Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"displayEditIcon":"displayEditIcon","visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units should be in multiples of 1000 for CPM","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"quantity","label":"Quantity","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"EffectiveQuantity","label":"Effective Quantity","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"AdspaceName","label":"Ad Space(s)","Placeholder":"--","searchable":true,"sortable":true,"type":"typeahead","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"optionField":"AdspaceRecords","textAlign":"left","columnWidth":"14%","hasCellError":"hasAdSpaceError","hasSpinner":"true","disableIfTrue":"isWrapper","dependantFields":"AdspaceSizes,SelectedPriority"},{"fieldName":"AdspaceSizes","label":"Ad Space Size(s)","Placeholder":"--","searchable":false,"sortable":true,"type":"multiselect","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"optionField":"sizerecords","postFix":"additionalCount","postFixClass":"ads-grid-additionalMultiSelect","textAlign":"left","columnWidth":"10%","hasCellError":"hasAdSpaceSizeError","multiSelectSelections":"multiSelectSelections","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"SelectedPriority","label":"Priority","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showPriorityTypeFlag","visible":true,"userSelectable":true,"optionField":"UpdatedPriorityOptions","textAlign":"left","columnWidth":"7.8%","hasCellError":"hasPriorityError","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"isPlacementConfigured","label":"Configured","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":true,"userSelectable":false,"conditionalIcon":"configuredIconStyle","textAlign":"left","columnWidth":"5%","disableIfTrue":"isWrapper"},{"fieldName":"unitprice","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"editable":true,"displayEditIcon":"displayEditIcon","type":"picklistText","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%","optionField":"AdjustmentOptions","picklistTextType":"AdjustmentMethod","picklistTextValue":"AdjustmentValue","hasSpinner":"true"},{"fieldName":"totalprice","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"1%"},{"fieldName":"EffectiveOneTimeTotal","label":"Effective One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"1%"}] -
sfiAdsTVGridChild
-
sfiAdsPrintGrid
This is the out-of-the-box JSON for single issue columns.
[{"fieldName":"ChannelName","label":"Publication","Placeholder":"Add Publication","searchable":true,"sortable":false,"type":"typeahead","editable":true,"disableUntil":"isRequiredFieldPopulated","displayEditIcon":"true","visible":false,"userSelectable":false,"optionField":"publicationList","hasSpinner":"true","showCaret":"true","disableEditForChild":true},{"fieldName":"ProductName","label":"Ad Product","Placeholder":"Add Product","searchable":true,"sortable":true,"type":"typeaheaddate","editable":true,"visible":true,"userSelectable":true,"optionField":"productList","helperFeild":"AdRequestedDateRange","startdate":"AdRequestedStartDate","enddate":"AdRequestedEndDate","maxTypeAheadDate":"mediaPlanEndDate","minTypeAheadDate":"mediaPlanStartDate","disableStartDate":"disableStartDate","disableEndDate":"disableEndDate","columnWidth":"27%","errorMessage":"placementError","warningMessage":"placementWarning","hasCellError":"hasPrintProductError","hasSpinner":"true","displayCellLink":"isOptional","cellLinkLabel":"Add to Media Plan","showCaret":"true","disableEditForChild":true,"disableUntil":"isRequiredFieldPopulated"},{"fieldName":"issue","label":"Issue","helperFeild":"IssueDate","Placeholder":"--","searchable":false,"sortable":true,"type":"typeahead","editable":true,"disableUntil":"isRequiredFieldPopulated","displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"optionField":"IssueList","optionLabelNode":"Name","hasCellError":"hasIssueError","hasSpinner":"true","columnWidth":"20%","disableIfTrue":"isWrapper"},{"fieldName":"ADS-RATE-TYPE","label":"Pricing Model","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showRateTypeFlag","visible":true,"userSelectable":true,"optionField":"ADS-RATE-TYPEOptions","textAlign":"left","columnWidth":"8%","hasCellError":"hasRateTypeError","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"BaseOneTimeCharge","label":"Unit Price","Placeholder":"--","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","hasCellError":"hasBaseRateError","columnWidth":"5%"},{"fieldName":"AdRequestedQuantity","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"displayEditIcon":"displayEditIcon","visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units message","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"EffectiveAdRequestedQuantity","label":"Effective Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"displayEditIcon":"displayEditIcon","visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units message","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"Quantity","label":"Quantity","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"EffectiveQuantity","label":"Effective Quantity","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"AdCreativeSizeName","label":"Ad Space Size(s)","helperFeild":"AdCreativeSizeDimension","Placeholder":"--","searchable":false,"sortable":true,"type":"text","editable":false,"visible":true,"userSelectable":true,"textAlign":"left","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"Section","label":"Section","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"SubSection","label":"SubSection","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"OneTimeCharge","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"editable":true,"displayEditIcon":"displayEditIcon","type":"picklistText","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%","optionField":"AdjustmentOptions","picklistTextType":"AdjustmentMethod","picklistTextValue":"AdjustmentValue","hasSpinner":"true"},{"fieldName":"OneTimeTotal","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"1%"},{"fieldName":"EffectiveOneTimeTotal","label":"Effective One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"1%"}]This is the out-of-the-box JSON for multi-issue columns.
[{"fieldName":"ChannelName","label":"Publication","Placeholder":"Add Publication","searchable":true,"sortable":false,"type":"typeahead","editable":true,"disableUntil":"isRequiredFieldPopulated","displayEditIcon":"true","visible":false,"userSelectable":false,"optionField":"publicationList","hasSpinner":"true","showCaret":"true","disableEditForChild":true},{"fieldName":"ProductName","label":"Ad Product","Placeholder":"Add Product","searchable":true,"sortable":true,"type":"typeaheaddate","editable":true,"visible":true,"userSelectable":true,"optionField":"productList","helperFeild":"AdRequestedDateRange","startdate":"AdRequestedStartDate","enddate":"AdRequestedEndDate","maxTypeAheadDate":"mediaPlanEndDate","minTypeAheadDate":"mediaPlanStartDate","disableStartDate":"disableStartDate","disableEndDate":"disableEndDate","columnWidth":"27%","errorMessage":"placementError","warningMessage":"placementWarning","hasCellError":"hasPrintProductError","hasSpinner":"true","displayCellLink":"isOptional","cellLinkLabel":"Add to Media Plan","showCaret":"true","disableEditForChild":true,"disableUntil":"isRequiredFieldPopulated"},{"fieldName":"SelectedIssueCount","label":"No. of Issue(s)","Placeholder":"--","searchable":false,"sortable":true,"type":"typeahead","editable":false,"disableUntil":"isRequiredFieldPopulated","visible":true,"userSelectable":true,"columnWidth":"5%","disableIfTrue":"isWrapper"},{"fieldName":"ADS-RATE-TYPE","label":"Pricing Model","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showRateTypeFlag","visible":true,"userSelectable":true,"optionField":"ADS-RATE-TYPEOptions","textAlign":"left","columnWidth":"10%","hasCellError":"hasRateTypeError","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"BaseOneTimeCharge","label":"Unit Price","Placeholder":"--","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","hasCellError":"hasBaseRateError","columnWidth":"6%"},{"fieldName":"AdRequestedQuantity","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"displayEditIcon":"displayEditIcon","visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units message","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"Quantity","label":"Quantity","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"AdCreativeSizeName","label":"Ad Space Size(s)","helperFeild":"AdCreativeSizeDimension","Placeholder":"--","searchable":false,"sortable":true,"type":"text","editable":false,"visible":true,"userSelectable":true,"textAlign":"left","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"Section","label":"Section","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"SubSection","label":"SubSection","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"OneTimeCharge","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"editable":true,"displayEditIcon":"displayEditIcon","type":"picklistText","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%","optionField":"AdjustmentOptions","picklistTextType":"AdjustmentMethod","picklistTextValue":"AdjustmentValue","hasSpinner":"true"},{"fieldName":"OneTimeTotal","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"1%"}] -
sfiAdsRadioParent
This is the out-of-the-box JSON for standard columns.
[{"fieldName":"ChannelName","label":"Station","Placeholder":"Add Radio Station","searchable":true,"sortable":false,"type":"typeahead","editable":true,"disableUntil":"isRequiredFieldPopulated","displayEditIcon":"true","visible":false,"userSelectable":false,"optionField":"radioStationList","hasSpinner":"true","showCaret":"true","disableEditForChild":true},{"fieldName":"ProductName","label":"Ad Product","Placeholder":"Add Product","searchable":true,"sortable":true,"type":"typeaheaddate","editable":true,"visible":true,"userSelectable":true,"optionField":"productList","helperFeild":"AdRequestedDateRange","startdate":"AdRequestedStartDate","enddate":"AdRequestedEndDate","maxTypeAheadDate":"mediaPlanEndDate","minTypeAheadDate":"mediaPlanStartDate","disableStartDate":"disableStartDate","disableEndDate":"disableEndDate","columnWidth":"25%","errorMessage":"placementError","warningMessage":"placementWarning","hasCellError":"hasPrintProductError","hasSpinner":"true","displayCellLink":"isOptional","cellLinkLabel":"Add to Media Plan","showCaret":"true","disableEditForChild":true,"disableUntil":"isRequiredFieldPopulated"},{"fieldName":"ratetype","label":"Pricing Model","Placeholder":"--","subHelperFeild":"UnitsPerQuantityLabel","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showRateTypeFlag","visible":true,"userSelectable":true,"optionField":"rateTypeOptions","textAlign":"left","columnWidth":"8%","hasCellError":"hasRateTypeError","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"SpotDuration","label":"Spot Duration","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showSpotDurationFlag","visible":true,"userSelectable":true,"optionField":"spotDurationOptions","textAlign":"left","columnWidth":"8%","hasSpinner":"true","disableIfTrue":"disableFlatFee"},{"fieldName":"AdSpaceType","label":"Spot Type","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showSpottypeFlag","visible":true,"userSelectable":true,"optionField":"spotTypeOptions","textAlign":"left","columnWidth":"8%","hasSpinner":"true","disableIfTrue":"disableFlatFee"},{"fieldName":"BaseOneTimeCharge","label":"Unit Price","Placeholder":"--","subHelperFeild":"UnitPriceHelperLabel","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","hasCellError":"hasBaseRateError","columnWidth":"5%"},{"fieldName":"RequestedUnits","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units message","hasSpinner":"true","disableIfTrue":"disableFlatFee"},{"fieldName":"OneTimeCharge","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"editable":true,"displayEditIcon":"displayEditIcon","type":"picklistText","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%","optionField":"AdjustmentOptions","picklistTextType":"AdjustmentMethod","picklistTextValue":"AdjustmentValue","hasSpinner":"true"},{"fieldName":"OneTimeTotal","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"1%"}]This is the out-of-the-box JSON for calendar columns.
[{"fieldName":"ChannelName","label":"Station","Placeholder":"Add Radio Station","searchable":true,"sortable":false,"type":"typeahead","editable":true,"disableUntil":"isRequiredFieldPopulated","displayEditIcon":"true","visible":false,"userSelectable":false,"optionField":"radioStationList","hasSpinner":"true","showCaret":"true","disableEditForChild":true},{"fieldName":"ProductName","label":"Ad Product","Placeholder":"Add Product","searchable":true,"sortable":true,"type":"typeaheaddate","editable":true,"visible":true,"userSelectable":true,"optionField":"productList","helperFeild":"AdRequestedDateRange","startdate":"AdRequestedStartDate","enddate":"AdRequestedEndDate","maxTypeAheadDate":"mediaPlanEndDate","minTypeAheadDate":"mediaPlanStartDate","disableStartDate":"disableStartDate","disableEndDate":"disableEndDate","columnWidth":"25%","errorMessage":"placementError","warningMessage":"placementWarning","hasCellError":"hasPrintProductError","hasSpinner":"true","displayCellLink":"isOptional","cellLinkLabel":"Add to Media Plan","showCaret":"true","disableEditForChild":true,"disableUntil":"isRequiredFieldPopulated"},{"fieldName":"ratetype","label":"Pricing Model","Placeholder":"--","subHelperFeild":"UnitsPerQuantityLabel","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showRateTypeFlag","visible":true,"userSelectable":true,"optionField":"rateTypeOptions","textAlign":"left","columnWidth":"100px","hasCellError":"hasRateTypeError","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"SpotDuration","label":"Spot Duration","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showSpotDurationFlag","visible":true,"userSelectable":true,"optionField":"spotDurationOptions","textAlign":"left","columnWidth":"100px","hasSpinner":"true","disableIfTrue":"disableFlatFee"},{"fieldName":"AdSpaceType","label":"Spot Type","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":true,"displayEditIcon":"showSpottypeFlag","visible":true,"userSelectable":true,"optionField":"spotTypeOptions","textAlign":"left","columnWidth":"100px","hasSpinner":"true","disableIfTrue":"disableFlatFee"},{"fieldName":"BaseOneTimeCharge","label":"Unit Price","Placeholder":"--","subHelperFeild":"UnitPriceHelperLabel","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","hasCellError":"hasBaseRateError","columnWidth":"100px"},{"fieldName":"RequestedUnits","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"115px","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units message","hasSpinner":"true","disableIfTrue":"disableFlatFee","isExtention":"calendarExtention"},{"fieldName":"OneTimeCharge","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"editable":true,"displayEditIcon":"displayEditIcon","type":"picklistText","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"120px","optionField":"AdjustmentOptions","picklistTextType":"AdjustmentMethod","picklistTextValue":"AdjustmentValue","hasSpinner":"true"},{"fieldName":"OneTimeTotal","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"120px"}] -
vplAdsSelectTemplate
This is the out-of-the-box JSON for the Select Template FlexCard. Session variables are removed in Spring '24.
[{"fieldName": "Radiobox","label": "","searchable": true,"sortable": false,"type": "radio","editable": "false","userSelectable": "true","visible": "true"}, {"fieldName": "Name","label": "Template Name","searchable": "true","sortable": true,"type": "text","editable": "false","userSelectable": "true","visible": "true"}, {"fieldName": "Description","label": "Description","searchable": "true","sortable": true,"type": "text","editable": "false","userSelectable": "true","visible": "true"}, {"fieldName": "Id","label": "Id","searchable": true,"sortable": true,"type": "number","editable": "false","userSelectable": "true","visible": "false"}] -
sfiAdsDigitalViewSummaryPagination
This is the out-of-the-box JSON for the Digital Summary page FlexCard. Session variables are removed in Spring '24.
[{"fieldName":"ProductName","label":"Ad Space Product","Placeholder":"--","visible":true,"userSelectable":false,"helperFeild":"placementDateRange","startdate":"startdate","enddate":"enddate"}, {"fieldName":"RateType","label":"Pricing Model","Placeholder":"--","visible":true,"userSelectable":false},{"fieldName":"RequestedUnits","label":"Requested Units","Placeholder":"--","visible":true,"userSelectable":false},{"fieldName":"EffectiveRequestedUnits","label":"Effective Requested Units","Placeholder":"--","visible":true,"userSelectable":false},{"fieldName":"EffectiveOneTimeTotal","label":"Effective One Time Total","Placeholder":"--","visible":true,"userSelectable":false},{"fieldName":"AdspaceName","label":"Ad Space","Placeholder":"--","visible":true,"userSelectable":false},{"fieldName":"TotalPrice","label":"Total Price","Placeholder":"--","visible":true,"userSelectable":false,"type":"currency","cellClass":"ads-totalCell"}] -
sfiAdsPrintViewSummaryPagination
This is the out-of-the-box JSON for the Print Summary page FlexCard for single issue columns.
[{"fieldName":"ChannelName","label":"Publication","Placeholder":"Add Publication","searchable":true,"sortable":false,"type":"text","displayEditIcon":"true","visible":false,"userSelectable":false,"hasSpinner":"true","showCaret":"true"},{"fieldName":"ProductName","label":"Ad Product","searchable":true,"sortable":true,"type":"text","visible":true,"userSelectable":true,"helperFeild":"AdRequestedDateRange","columnWidth":"25%","showCaret":"true"},{"fieldName":"SelectedIssueName","label":"Issue","helperFeild":"IssueDate","Placeholder":"--","searchable":false,"sortable":true,"type":"text","columnWidth":"20%","visible":true},{"fieldName":"ADS-RATE-TYPE","label":"Pricing Model","Placeholder":"--","searchable":false,"sortable":true,"type":"text","visible":true,"userSelectable":true,"textAlign":"left","columnWidth":"8%"},{"fieldName":"BaseOneTimeCharge","label":"Unit Price","Placeholder":"--","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"5%"},{"fieldName":"AdRequestedQuantity","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"6%"},{"fieldName":"Quantity","label":"Quantity","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasSpinner":"true"},{"fieldName":"AdCreativeSizeName","label":"Ad Space Size(s)","helperFeild":"AdCreativeSizeDimension","Placeholder":"--","searchable":false,"sortable":true,"type":"text","editable":false,"visible":true,"userSelectable":true,"textAlign":"left"},{"fieldName":"Section","label":"Section","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"SubSection","label":"SubSection","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"OneTimeCharge","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"editable":false,"displayEditIcon":"displayEditIcon","type":"currency","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%"},{"fieldName":"OneTimeTotal","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"1%"}]This is the out-of-the-box JSON for the Print Summary page FlexCard for multi-issue columns.
[{"fieldName":"ChannelName","label":"Publication","Placeholder":"Add Publication","searchable":true,"sortable":false,"type":"text","visible":false,"userSelectable":false,"showCaret":"true"},{"fieldName":"ProductName","label":"Ad Product","Placeholder":"Add Product","searchable":true,"sortable":true,"type":"text","visible":true,"userSelectable":true,"helperFeild":"AdRequestedDateRange","columnWidth":"25%","showCaret":"true"},{"fieldName":"SelectedIssueCount","label":"No. of Issue(s)","Placeholder":"--","searchable":false,"sortable":true,"type":"text","editable":false,"visible":true,"columnWidth":"8%","userSelectable":true},{"fieldName":"ADS-RATE-TYPE","label":"Pricing Model","Placeholder":"--","searchable":false,"sortable":true,"type":"text","visible":true,"userSelectable":true,"optionField":"ADS-RATE-TYPEOptions","textAlign":"left","columnWidth":"6%"},{"fieldName":"BaseOneTimeCharge","label":"Unit Price","Placeholder":"--","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"8%"},{"fieldName":"AdRequestedQuantity","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"6%"},{"fieldName":"Quantity","label":"Quantity","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"visible":false,"userSelectable":true,"textAlign":"right","columnWidth":"6%"},{"fieldName":"AdCreativeSizeName","label":"Ad Space Size(s)","helperFeild":"AdCreativeSizeDimension","Placeholder":"--","searchable":false,"sortable":true,"type":"text","editable":false,"visible":true,"userSelectable":true,"textAlign":"left"},{"fieldName":"Section","label":"Section","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"SubSection","label":"SubSection","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"OneTimeCharge","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"type":"currency","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%"},{"fieldName":"OneTimeTotal","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"1%"}] -
sfiAdsRadioViewSummaryPagination
This is the out-of-the-box JSON for the radio Summary page FlexCard.
[{"fieldName":"ChannelName","label":"Station","Placeholder":"Add Radio Station","searchable":true,"sortable":false,"type":"typeahead","editable":false,"disableUntil":"isRequiredFieldPopulated","displayEditIcon":"true","visible":false,"userSelectable":false,"optionField":"radioStationList","hasSpinner":"true","showCaret":"true","disableEditForChild":true},{"fieldName":"ProductName","label":"Ad Product","Placeholder":"Add Product","searchable":true,"sortable":true,"type":"typeaheaddate","editable":false,"visible":true,"userSelectable":true,"optionField":"productList","helperFeild":"AdRequestedDateRange","startdate":"AdRequestedStartDate","enddate":"AdRequestedEndDate","maxTypeAheadDate":"mediaPlanEndDate","minTypeAheadDate":"mediaPlanStartDate","disableStartDate":"disableStartDate","disableEndDate":"disableEndDate","columnWidth":"25%","errorMessage":"placementError","warningMessage":"placementWarning","hasCellError":"hasPrintProductError","hasSpinner":"true","displayCellLink":"isOptional","cellLinkLabel":"Add to Media Plan","showCaret":"true","disableEditForChild":true,"disableUntil":"isRequiredFieldPopulated"},{"fieldName":"ADS-RATE-TYPE","label":"Pricing Model","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":false,"displayEditIcon":"showRateTypeFlag","visible":true,"userSelectable":true,"optionField":"rateTypeOptions","textAlign":"left","columnWidth":"8%","hasCellError":"hasRateTypeError","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"SpotDuration","label":"Spot Duration","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":false,"displayEditIcon":"showSpotDurationFlag","visible":true,"userSelectable":true,"optionField":"spotDurationOptions","textAlign":"left","columnWidth":"8%","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"ADS-SPOT-TYPE","label":"Spot Type","Placeholder":"--","searchable":false,"sortable":true,"type":"picklist","editable":false,"displayEditIcon":"showSpottypeFlag","visible":true,"userSelectable":true,"optionField":"spotTypeOptions","textAlign":"left","columnWidth":"8%","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"BaseOneTimeCharge","label":"Unit Price","Placeholder":"--","searchable":false,"sortable":true,"type":"currency","editable":false,"visible":true,"userSelectable":true,"textAlign":"right","hasCellError":"hasBaseRateError","columnWidth":"5%"},{"fieldName":"AdRequestedQuantity","label":"Requested Units","Placeholder":"--","searchable":false,"sortable":false,"type":"number","editable":false,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"6%","hasCellError":"hasRequestedUnitsError","hasToolTipHeader":"true","toolTipHeaderText":"Requested Units message","hasSpinner":"true","disableIfTrue":"isWrapper"},{"fieldName":"Section","label":"Section","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"SubSection","label":"SubSection","Placeholder":"--","searchable":false,"sortable":false,"type":"text","editable":false,"visible":false,"userSelectable":true,"textAlign":"left","columnWidth":"6%"},{"fieldName":"OneTimeCharge","label":"One Time Charge","strikeThroughFeild":"baseUnitPrice","Placeholder":"--","searchable":false,"sortable":true,"editable":false,"displayEditIcon":"displayEditIcon","type":"picklistText","visible":true,"userSelectable":true,"textAlign":"right","columnWidth":"1%","optionField":"AdjustmentOptions","picklistTextType":"AdjustmentMethod","picklistTextValue":"AdjustmentValue","hasSpinner":"true"},{"fieldName":"OneTimeTotal","label":"One Time Total","Placeholder":"--","searchable":false,"sortable":false,"type":"currency","editable":false,"visible":true,"userSelectable":true,"cellClass":"ads-totalCell","textAlign":"right","columnWidth":"1%"}]
After you've made the required changes, click Preview to generate the FlexCard with the modified Lightning Web Component.
With Spring '24, session variables fail to parse. Session variables containing JSON values (including rowCustomActions, columns, and totalValues) are removed from the custom Lightning Web Components, and the values are passed as attribute values.
