Loading
The Trailblazer Community is now read-only Read More
Media Cloud
Set Up Custom Fields For the Digital Media Type

Set Up Custom Fields For the Digital Media Type

If you use product attributes to set up custom columns on the digital media planning grid, update the sfiAdsDigitalGrid Flexcard to include custom fields.

Required Editions

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.

Available in: All Editions
User Permissions Needed
To access Media Cloud advanced features MediaCloudPlusRuntime
To create, read, update, and delete Flexcard OmniStudio Admin
  1. From the App Launcher, find and select OmniStudio FlexCards.
  2. Select sfiAdsDigitalGrid.
    If the Flexcard is Active, you can't edit it. First deactivate the Flexcard and then edit it.
  3. Under Pagination Grid, select sfiAdsDataGrid.
  4. Under Properties, edit the value for the asmColumns attribute to include the custom column. Ensure that you set columnType to attribute.
    In this example, consider the custom picklist CommonPicklist__c. Here's an example of the edited asmColumns field.
    Note
    Note The value of fieldName for the picklist is the API Name without the appended __c, and label is the label or the name that you want to show in the grid header. The value of optionField must be in the format <fieldName>Options.
    {
    "fieldName": "CommonPicklist",
    "label": "Custom Picklist",
    "Placeholder": "--",
    "searchable": false,
    "sortable": false,
    "type": "picklist",
    "editable": true,
    "displayEditIcon": "showCommonPicklistFlag",
    "visible": true,
    "userSelectable": true,
    "optionField": "CommonPicklistOptions",
    "textAlign": "left",
    "columnWidth": "7.8%",
    "hasCellError": "hasCommonPicklistError",
    "hasSpinner": "true",
    "disableIfTrue": "isWrapper",
    "columnType":"attribute"
    }

    For the Budget attribute, ensure that you add this key value pair: "dependantFields":"RequestedUnits".

 
Loading
Salesforce Help | Article