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 of string)

  • inline – the inline mode to be used in the creation of content (type of string)
    (value of either:

    • NONE - no inlining
    • CSS - converts style rules to inline styles on elements
    • ALL - inline all resources
    • LOCAL - inline local resources; remote resources remain external)

  • cssSelector – a CSS selector for the creation of only a specific HTML element within the template (type of string)

  • 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 either string, number, or boolean)

Example

The following are examples of this structure:

{
    "section": "Section 1",
    "inline": "ALL"
}
{
    "section": "Section 2",
    "cssSelector": "#salutation"
}