Role | Admin |
Challenge | I want to predefine filters of the Media Search by external systems or specific criteria. |
To set this feature up you should first know what you would like to use this feature exactly for.
You can either set up a very easy flow with just 2 components if you enable your users to fill the filter fields.
When you want to add more logic you should read yourself a little bit into Salesforce Flows to make the setup easier for you.
Your flow setup could look similar to this:
By using the Lightning component Media Search in your flow 3 input parameters are required:
Content Filter Values
Can be set by taking field values and parsing them into the correct format as shown below
Filter Values
Can be set by taking field values and parsing them into the correct format as shown below
Record Id
Can be set by creating an input text variable in the flow and taking the Media Campaign Id where the flow was started as a value.
Please take note that the following syntax (JSON) is required to set the filter values and that no blanks should be set.
Field | Syntax explanation | Example |
---|---|---|
Content Filter Values | Please follow the JSON syntax. Starting object is the Ad Price object. | { "ADvendio__Content__c":[ "a0u3N000000NAxFQAW" ], "ADvendio__Content__r.ADvendio__ParentContent__c":"a0u3N000000NAxFQAV"} |
Filter Values | Please follow the JSON syntax. Starting object is the Ad Price object. | {"ADvendio__Billing_Category__c":"CPD"} |
Version | 2.125 |
License Plan/Edition | AMS |
Title | Predefine Media Search filters |