CampaignContent
OCP App SDK / CampaignContent
CampaignContent
The translated content template.
Index
Properties
Properties
settings
FormData
Static data from the content settings form. This is the same data sent to target.
Defined in: src/app/Channel.ts:169
template
FormData
Potentially dynamic data from the content template form. Any string fields that contained ODP Liquid have been
translated into a simple substitution template where substitution sources are of the form %%name%%
.
Defined in: src/app/Channel.ts:174
variables
string
[]
The complete set of variable names used within all template fields. Eg, if the template consists of
Hello, %%b0%%. Still interested in that %%b1%%? Buy now at %%b2%%!
, the set of variables would be
['b0', 'b1', 'b2']
. This information can be helpful when translating templates into external formats,
performing substitutions locally, etc.
Defined in: src/app/Channel.ts:181
Updated 2 months ago