JSON HTML Parameters (with Runtime Parameters)
Describes a list of parameters used specifically in the creation of web content.
Structure
The structure consists of an object
with the following name/value pairs:
-
section
– the section within the Web context of the template to use (type ofstring
) -
inline
– the inline mode to be used in the creation of content (type ofstring
)
(value of either:NONE
- no inliningCSS
- converts style rules to inline styles on elementsALL
- inline all resourcesLOCAL
- inline local resources; remote resources remain external)
-
cssSelector
– a CSS selector for the creation of only a specific HTML element within the template (type ofstring
) -
parameters
– a set of runtime parameter names (defined in the template) and their corresponding values, consisting of an object with one or more name/value pairs:-
<name>
– the name (name) and the value of the runtime parameter
(type of eitherstring
,number
, orboolean
)
-
Example
The following are examples of this structure:
{
"section": "Section 1",
"inline": "ALL"
}
{
"section": "Section 2",
"cssSelector": "#salutation"
}