Sitevision Developer
Log in

Log in

sv:metadataSingleDefinition

This node is either a sub node of a metadata definition repository (sv:metadataDefinitionRepository) or a metadata template definition repository (sv:metadataDefinitionTemplateRepository) and has zero or more alternative items (sv:alternativeItem) as sub nodes.

The metadata template definition repository node corresponds to the metadata(template) tab on a site while the metadata definition repository node corresponds to the metadata tab on a site or page.

Node name

Name

Type and description

<definition-name>

Dynamic / Model dependent


The given name of the definition.

Properties

Name

Type and description

allowOther

javax.jcr.PropertyType.BOOLEAN


Defines if arbitrary alternatives are allowed.



displayName

javax.jcr.PropertyType.STRING


The same value as defined in the description property.



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.WEAKREFERENCE


Defines if the definition is renderable.

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 2.6.2_04.

Did you find the content on this page useful?