9.1.4.2.3 AddExtensionField Method
This Method is used to add a Property to the Object ExtensionFields.
The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.
Signature
AddExtensionField (
[in] QualifiedName FieldName,
[in] BaseDataType FieldValue,
[out] NodeId FieldId
);
| Argument | Description |
| FieldName | Name of the field to add. |
| FieldValue | The value of the field to add. |
| FieldId | The NodeId of the added field Property. |
Method Result Codes
| ResultCode | Description |
| Bad_NodeIdExists | A field with the name already exists. |
| Bad_InvalidArgument | The Server is not able to apply the Name. The Name may be too long or may contain invalid characters. |
| Bad_UserAccessDenied | The Session user is not allowed to configure the Object. |
Table 250 specifies the AddressSpace representation for the AddExtensionField Method.
| Attribute | Value | ||||
| BrowseName | AddExtensionField | ||||
| References | NodeClass | BrowseName | DataType | TypeDefinition | ModellingRule |
|---|---|---|---|---|---|
| HasProperty | Variable | InputArguments | Argument[] | PropertyType | Mandatory |
| HasProperty | Variable | OutputArguments | Argument[] | PropertyType | Mandatory |
| ConformanceUnits | |||||
|---|---|---|---|---|---|
| PubSub Model Base |