Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

getTacticTemplates

This method returns the list of tactic templates related to the input promotion template.

Input Parameters

Name Description
promoTemplate SFDC ID of the promotion template.

Input Sample

1{
2    "class": "NewPromotionWizardCallable",
3    "method": "getTacticTemplates",
4    "params": {
5        "promoTemplate": "{! promoTemplate.Id }"
6    },
7    "cache": true
8}

Response Sample

1[
2    {
3        "Id": "a3B2X00000167f3UAA",
4        "Name": "Price Cut"
5    },
6    {
7        "Id": "a3B2X00000167f4UAA",
8        "Name": "Promo Advertising"
9    }
10]

Response Properties

This method returns a list of items with the following properties:
Name Description
Id SFDC ID of the Tactic template
Name Description value of the Tactic template.