newAttribute()
Creates a new attribute with the specified display form ref and optional modifications and localIdentifier.
export declare function newAttribute(displayFormRefOrId: ObjRef | Identifier, modifications?: AttributeModifications): IAttribute;
Parameters
Parameter | Type | Description |
|---|---|---|
displayFormRefOrId | ref or identifier of the attribute display form | |
modifications | (Optional) optional modifications (e.g. alias, etc.) |
Returns