Applying a user-defined property override
You can apply a user-defined property override by using the IBM® App Connect Enterprise administration REST API.
Before you begin
About this task
apply-global-udp-override method
to create an override value for a named user-defined property. When
an override value is created, the value is seen anywhere that the
user-defined property is referenced in the message flow, both in the
main flow and in subflows, including: - ESQL: DECLARE myVar EXTERNAL datatype defaultValue
- Java: MbNode.getUserDefinedAttribute()
- .NET: NBNode::GetUserDefinedProperty
- Mapping node access to user defined properties
UserVariables:
udp-persist-global-overrides: trueapply-global-udp-override action
takes the following query parameters:
| Parameter | Description |
|---|---|
| name* | The name of the user-defined property for which an override is to be applied. This parameter is required. |
| value | The value of the user-defined property override. If
the value includes characters that are not supported in REST URIs,
these characters must be URI encoded. For example, a space in a value
must be encoded as This parameter is optional; if it is not supplied, the default for the datatype is used. |
| type | The datatype of the user-defined property override
(matching ESQL datatypes). This parameter is optional; if it is
omitted, the datatype of the existing override is used. If this parameter
is omitted and there is no existing override, |
apply-global-udp-override method:apiv2/applications/UDPAPP/messageflows/FLOWWITHUDP/apply-global-udp-override?name=myCharUDP&value=NewValue&type=CHARACTERapiv2/applications/UDPAPP/messageflows/FLOWWITHUDP/apply-global-udp-override?name=myBoolUDP&value=TRUE&type=BOOLEANapiv2/applications/UDPAPP/messageflows/FLOWWITHUDP/apply-global-udp-override?name=myIntUDP&value=350&type=INTEGERapiv2/applications/UDPAPP/messageflows/FLOWWITHUDP/apply-global-udp-override?name=myCharUDP&value=NewValueapiv2/applications/UDPAPP/messageflows/FLOWWITHUDP/apply-global-udp-override?name=myCharUDP&value=New%20Value%20with%20spacesFor more information about how to set user-defined property overrides, see Example: setting user-defined property overrides.
You can also remove a user-defined property override by using the IBM App Connect Enterprise administration REST API, as described in Removing a user-defined property override.