A User Defined policy has no predefined properties, so that you can define your own properties.
You can currently use the Policy editor in the IBM® App Connect Enterprise Toolkit to view and edit the properties of an existing user-defined policy. You cannot use the editor to create a new user-defined policy or add additional properties to an existing policy.
<?xml version="1.0" encoding="UTF-8"?>
<policies>
<policy policyType="UserDefined" policyName="MyUDCS" policyTemplate="">
<prop1>a value</prop1>
<prop2>another value</prop2>
<prop3>100</prop3>
</policy>
</policies>
Save
the file with the extension .policyxml. If you import this
.policyxml file into a policy project in the IBM App Connect
Enterprise Toolkit, you can open the policy in the Policy editor and edit the
values.