id
, see getID()type
, see getType()attributes
, see getAttributes()attributes
are key value pairs:
type.attribute_definitions
entriestype.attribute_definitions
entries
(similar to how ComponentScriptContext.getContent() exposes the raw attribute value of a Component.getAttribute(String) in shape of a DWScript API object based on the attribute type)getType().attribute_definitions
entriesgetType().attribute_definitions
entries
(similar to how ComponentScriptContext.getContent() exposes the raw attribute value of a Component.getAttribute(String) in shape of a DWScript API object based on the attribute type)myCmsRecord.getAttributes().get('foo')
yields value 'bar'
,
then myCmsRecord.foo
will give the same results.content/schema/cmsrecord.json#/definitions/cms_content_type
schema. Properties
can be accessed accordingly:
getType().id : string
getType().name : string
getType().attribute_definitions : Map
(see content/schema/attributedefinition.json
)getType().attribute_definitions
entriesgetType().attribute_definitions
entries (similar to how ComponentScriptContext.getContent() exposes the raw attribute value of a Component.getAttribute(String) in shape of a DWScript API object based on the attribute type)getType().attribute_definitions
entriesgetType().attribute_definitions
entries
(similar to how ComponentScriptContext.getContent() exposes the raw attribute value of a Component.getAttribute(String) in shape of a DWScript API object based on the attribute type)myCmsRecord.getAttributes().get('foo')
yields value 'bar'
,
then myCmsRecord.foo
will give the same results.content/schema/cmsrecord.json#/definitions/cms_content_type
schema. Properties
can be accessed accordingly:
getType().id : string
getType().name : string
getType().attribute_definitions : Map
(see content/schema/attributedefinition.json
)