Support Article
Grid action not working if RTE with grid is present same screen
SA-63825
Summary
Grid action does not work if the Rich Text Editor (RTE) with the grid is present in the same screen.
Error Messages
RuleNotFoundException
Steps to Reproduce
- Add the RTE control with a property .
- Map the property to a section stream where the section has a grid.
- Add another grid below the RTE control.
- In the second grid, add a link control in the cell and configure onClick launch local action.
Root Cause
A defect in Pegasystems’ code or rules.
If the RTE has a grid component after modifying the link action from the launch local action to open the local action, the grid objects are not initialized for other grids outside the RTE. This occurs when both the grids (within and outside the RTE) render simultaneously.
Since the grid object is not initialized correctly, the row context is not set when the action is launched. This resulted in the rule not found exception.
Resolution
Perform the following local-change:
- Add an RTE in a dynamic layout.
- Check the Defer load option in the dynamic layout.
- Populate the RTE property as part of the Defer load activity.
- Change the grid action from Launch local action to Open local action.
Published January 5, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.