dw.experience.cms.CMSRecordid, 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 : stringgetType().name : stringgetType().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 : stringgetType().name : stringgetType().attribute_definitions : Map (see content/schema/attributedefinition.json)