Loading
The Trailblazer Community is now read-only Read More
Media Cloud
Adjust Publication Frequency Picklist Values for Print Media Placements

Adjust Publication Frequency Picklist Values for Print Media Placements

Advertising Sales Management comes with pre-defined Publication Frequency picklist values for print media placements. If necessary, you can add, edit, or remove picklist values for Publication Frequency.

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.

The pre-defined picklist values include Daily, Weekly, Fortnightly, Monthly, Quarterly, and Yearly. You can use these picklist values, or edit them to meet your business needs.

Note
Note Edit the picklist values like you would any picklist field in Salesforce. However, if you'd like to add a new picklist value, you must first create a custom implementation class, before you can add the picklist value.

Before adding a new picklist value, add a custom implementation class for InsertMediaPrintIssues.

  • In your Advertising Sales Management org, use the App Launcher to navigate to Interface Implementations.

  • Search for and click InsertMediaPrintIssues, and click Related.

  • To create an Interface Implementation Detail, click New.

  • Enter the Available Implementation, and select Active and Default.

  • Click Save.

  • Under the Interface Implementation Details, set the active implementation class to the implementation detail you created.

The following is the expected input for the custom implementation class.

{
"MediaChannelSObject": <Media channel Entity name 'MediaChannel'>,
"StartDate": <Start date for issue record creation>,
"EndDate": <End Date  for issue record creation>,
"FrequencyCycle": <Frequency of issues to be generated, eg:- daily, monthly...>,
"FrequencyCycleInterval": <Interval of the frequency>,
"AdvertisingDeadline": <Number of days for deadline>
}

The following is a sample output for the custom implementation class.

Expected Output: 
{
"message": <success or failure message>,
"status": <true / false>
}

After adding the custom implementation class, follow these steps to add new picklist values:

  1. Go to Settings and then click Setup.
  2. From Setup, in the Quick Find box, enter Object Manager, and then select Object Manager.
  3. Click Media Channel.
  4. Under Fields & Relationships, click Publication Frequency.
  5. In the Publication Frequency Picklist Values section, click New.
  6. Add one or more picklist values in the space provided. For multiple picklist values, type each value on a new line.
  7. Click Save.
 
Loading
Salesforce Help | Article