Logotype Sitevision Developer
Log in

Log in

sv:metadataSingleTargetAudienceDefinition

This node is either a sub node of a metadata definition repository (sv:metadataDefinitionRepository) or a metadata template definition repository (sv:metadataDefinitionTemplateRepository).

The metadata template definition repository node corresponds to the Metadata (Template) tab at the site level, while the metadata definition repository node corresponds to the Metadata tab at the individual page level.

Node name

Name

Type and description

<definition-identifier>

Dynamic / Model dependent


The given identifier of the definition.

Properties

Name

Type and description

name

javax.jcr.PropertyType.STRING


The definition identifier



displayName

javax.jcr.PropertyType.STRING


The given display name of the definition



indexable

javax.jcr.PropertyType.BOOLEAN


Defines if the definition is indexable.



mandatory

javax.jcr.PropertyType.BOOLEAN


Defines if the definition is mandatory.



renderable

javax.jcr.PropertyType.BOOLEAN


Defines if the definition is renderable.



selectionScope

javax.jcr.PropertyType.STRING


Specifies the scope of selectable target audiences. The value can be either ALL or TARGET_AUDIENCE_GROUPS



targetAudienceGroups

MultiValue of javax.jcr.PropertyType.WEAKREFERENCE


An array of the target audience groups that define the selectable target audiences for the definition

Sitevision Utility API tip!

  • The MetadataDefinitionUtil interface exposes a set of methods for extracting a metadata definition for a node.

Note! This node type was introduced in Sitevision 2024.09.2

Did you find the content on this page useful?