Stream Name and XML Type fields in User Data form are read only
After importing a WSDL, user noticed that the Stream Name and XML Type fields present in User Data form of a node element in XML Stream Rule are not editable.
The Stream Name and XML Type fields are populated with generic names like pyAnyNS and pyAnyName respectively.
User wants to know if the XML Stream Rule in Pega 7.1.8 is broken because in PRPC 6, finds that all the node elements has editable fields with appropriate values.
Steps to Reproduce
- Import the WSDL file.
- The XML Stream rules will have node elements in the tree structure.
- Click on a node element to open the User Data form for that element.
- The "Stream Name" and "XML Type" fields present in User Data form for the corresponding node element of the XML Stream Rule are displayed as read only fields.
The reported behavior is not an issue. The feature is working per design of XML Stream Rule in Pega 7.1.8.
Here’s the explanation for the reported behavior:
"Allow tree editing?" option present in Mapping tab of a XML Stream Rule must be checked to enable editing option for "Stream Name" and "XML Type" fields present in User Data form for a node element.
This will also enable the icon to allow us open the XML Stream Rule referenced in "XML Type" field.
The referenced XML Stream Rule has the embedded elements.