Dynamic Attribute Metadata
Metadata for dynamic attributes are stored in the sap.com/tc/DymnamicAttributeMetadata entity service. Aside from the standard attributes of an entity service, the following attributes are required to describe a dynamic attribute.
Attribute Name |
Type |
key |
Description |
attributeName |
com.sap.caf.core.name |
Y |
Name of the attribute. Has to be unique for one entity service |
entityName |
com.sap.caf.core.name |
Y |
Name of the entity the dynamic attribute is assigned to. |
attributeLabel |
com.sap.caf.core.shortText |
N |
Language dependent display text for the dynamic attribute. |
attributeDescription |
com.sap.caf.core.longText |
N |
Description of the dynamic attribute for documentation purposes. |
attributeType |
sap.com/tc/SimpleType |
N |
Reference to entity that holds the simple type information. |
status |
com.sap.caf.core.active |
N |
Status if attribute is active or inactive. Dynamic attributes must not be deleted in case dynamic attribute values are already created for these attributes. An active flag will disable the use of this field in the UI, but will keep the stored attribute values. This is necessary so that references of an entity will not point to a dynamic attribute without type information. |