Loading
PHP Vulnerability Monitoring Read More
Media Cloud
Restrict the Delete Action using Flexcards

Restrict the Delete Action using Flexcards

You can restrict the delete action of media placements in a media plan using Flexcards.

Managed Package Icon 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

The following Flexcards contain the attributes that restrict the deletion of media placements in a media plan.

  • sfiAdsDigitalGrid

  • sfiAdsTvGrid

  • sfiAdsRadioParentGrid

  • sfiAdsPrintGrid

You can use the restrictDeleteNode and restrictDeleteNodeValues attributes within the Flexcards as inputs to the embedded handler Lightning Web Components. These attributes within the Flexcards determine whether the delete action is restricted at the line item level or the media plan level. By default, restrictDeleteNode and restrictDeleteNodeValues have these values:

Attribute Name Attribute Value
restrictDeleteNode Action
restrictDeleteNodeValues ["Existing","Change"]

Depending on these values, the action to delete isn't available for the line items that have the value of Existing or Change for the Action data node. If you select a line item that has the specified combination of values for restrictDeleteNode and restrictDeleteNodeValues, and click Delete, then a message appears stating that the line item can't be deleted.

You can edit the values for restrictDeleteNode and restrictDeleteNodeValues to restrict the delete action for your unique scenario.

 
Loading
Salesforce Help | Article