Decision Tree rule forms display HTML tags instead of HTML
Post upgrading Pega Platform 7.1.6 to Pega Platform 8.3.1, the Decision Tree rule forms display HTML tags instead of HTML.
Steps to Reproduce
Open and compare the same Decision Tree rule in Pega Platform 7.1.6 and Pega Platform 8.3.1.
An issue in the custom application code or rules.
The client entered HTML script in the values, which is passed to the custom function in the Decision Tree.
In Pega Platform 8.3, the HTML is rendered as plain text due to the usage of the Text Input control for the pyExpressionString property in the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section.
Perform the following local-change:
- Mark the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section as 'Available,Extension'.
- Save As the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section.
- Update the control for the 'pyExpressionString' property in the 'Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section to 'AsHTML' instead of 'Text Input'.
For a large HTML script, use the client CSS classes and adjust its height.
Published July 15, 2020 - Updated December 2, 2021
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.