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
FieldNameName of the field to add.
FieldValueThe value of the field to add.
FieldIdThe NodeId of the added field Property.

Method Result Codes

ResultCode Description
Bad_NodeIdExists A field with the name already exists.
Bad_InvalidArgumentThe Server is not able to apply the Name. The Name may be too long or may contain invalid characters.
Bad_UserAccessDeniedThe Session user is not allowed to configure the Object.

Table 250 specifies the AddressSpace representation for the AddExtensionField Method.

Table 250 – AddExtensionField Method AddressSpace definition
Attribute Value
BrowseNameAddExtensionField
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model Base