Skip to content

Configure Static Content Rulesets

Rulesets for static content determine which library items and assets appear in your Publication Items, where they are positioned, and under what conditions they are included. A static content ruleset consists of rules organized into three categories: library item rules, asset rules, and library item groups.

Create a static content ruleset

  1. Go to TemplatingStatic contentRulesets.
  2. Click Add ruleset.
  3. Give the ruleset a name.
  4. Save the ruleset.

Once created, you can add rules to define what content is generated.

Understand rule types

Static content rulesets support three types of rules:

  • Library item rules — Place a library item from a Design Library into a specific layer at defined coordinates, with optional data mappings to fill content dynamically.
  • Asset rules — Add image assets to a specific layer with configurable display format, overlap behavior, and optional limits on the number of assets included.
  • Library item groups — Organize and group library items within a ruleset for easier management.

Add a library item rule

  1. Open the ruleset for editing.
  2. Click AddAdd Library item rule.
  3. Configure the rule:
    • Rule name — enter a descriptive name for this rule
    • Library item — select a library item from your Design Library
    • Layer — select the layer in your template where this item will be placed
    • Item group (optional) — assign the item to a group for organization
    • Position and sizing — set the anchor point, X/Y coordinates, scale method (by dimensions or percentage), and width/height
  4. Define conditions (see below).
  5. Add value mappings (see "Map data to library items" below) to populate the item with dynamic content.
  6. Save the rule.

Add an asset rule

  1. Open the ruleset for editing.
  2. Click AddAdd Asset rule.
  3. Configure the rule:
    • Rule name — enter a descriptive name for this rule
    • Layer — select the layer in your template where assets will be placed
    • Position and sizing — set the anchor point, X/Y coordinates, width, and height
    • Display format — choose how assets are arranged: Grid, Stairs up, Stairs down, Wave up, or Wave down
    • Overlap settings (under "Solver") — set minimum and maximum overlap percentages for neighboring assets
    • Maximize fill (optional) — prioritize filling the asset area, which may reflow the selected composition
    • Limit assets — set a maximum number of assets to include (0 means all assets)
  4. Define conditions for when this rule applies (see below).
  5. Add asset conditions to specify which assets to include (see "Add assets to a rule" below).
  6. Save the rule.

Define rule conditions

When you add a rule, specify one or more conditions that determine when the rule applies.

Available condition types depend on the data field type:

  • Exists / Not exists — whether the field has a value
  • Equals / Not equals — exact match
  • Contains / Does not contain — substring match (for string fields)
  • Greater than / Greater or equal / Lower than / Lower or equal — numeric or date comparison
  • Match regular expression — pattern matching (for string fields)
  • Length of / Length greater than — array or string length checks

When you have multiple conditions, use AND to require all conditions to be true, or OR to require at least one condition to be true.

Map data to library items

To populate a library item rule with briefing or product data:

  1. In the rule's Values section, click Add value.
  2. Select a layer or field from the library item where the data should be inserted.
  3. Choose the data field to map to that location.
  4. Optionally, select a format function to transform the value:
    • Currency formats (dot, comma, stripe variants)
    • Date format
    • Lowercase
    • Array join (join array values with a separator)
    • Regular expression (extract values from data)
    • Decorate (wrap the value with extra characters)
    • Optional (use empty string instead of undefined if the field is missing)
    • Ignore empty (skip setting the value if the field is missing)
  5. Save the mapping.

Add assets to a rule

To include image assets in an asset rule:

  1. In the rule's Assets section, click Add asset condition.
  2. Select an asset layer or field where the assets will be placed.
  3. Choose the data field that contains the asset references.
  4. Optionally, add additional conditions to filter which assets are included.
  5. Save the asset mapping.

Add a library item group

Library item groups help organize items within a ruleset without affecting their conditions or behavior:

  1. Open the ruleset for editing.
  2. Click AddAdd Library item group.
  3. Assign library items to the group for organizational purposes.
  4. Save the group.

Edit a rule

  1. Open the ruleset for editing.
  2. Find the rule and click to edit.
  3. Update the configuration, conditions, or data mappings.
  4. Save the changes.

Delete a rule

  1. Open the ruleset for editing.
  2. Find the rule and click the delete button.
  3. Confirm the deletion.

Apply a ruleset to a template

  1. Open a static content template for editing.
  2. Go to the Ruleset section.
  3. Select the ruleset from the list.
  4. Save the template.