Skip to main content
Skip table of contents

Layer Assigned Condition

The Condition Layer Assigned checks if a layer with a specific ID is assigned to a content item e.g. Check if layer with ID "ProductInformation" is assigned to find all product related content.

(lightbulb) Triggers when a Content Item is available which has the selected Layer assigned. 

Use Layer Assigned inside AND/OR to check if multiple Layers are assigned. 

CODE
{
    "kind": "AndCondition",
    "conditions": [
		{
		"kind": "LayerAssignedCondition",
		"layerId": "AutoTagging"
		},
		{
		"kind": "LayerAssignedCondition",
		"layerId": "ProductInformation
		}
	]
}

Is Layer AutoTagging Assigned

CODE
{
	"kind": "LayerAssignedCondition",
	"layerId": "AutoTagging"
}

Specific Definitions

  • Type-ahead and select the Layer from the dropdown.

  • The Layer ID is used in the Business Rule, so you can update the name anytime.  

Property

Value

kind

LayerAssignedCondition

layerId

The ID of the Layer to check. 

See Access Layer for details, but except in the JSON, you don't have to worry about casing. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.