Preview of Correspondence is changing background screen
On previewing a correspondance, the background harness is changing.
Error MessagesNot applicable
Steps to Reproduce1. Log into Pega7.
2. Launch Manager Portal and Create a payment case of any type.
3. Create a correspondence and select a correspondence type Swift.
4. Select message type, for example MT191.
5. Enter the Required fields.
6. Click on Preview.
7. Observe that the background screen is changed and could not see the complete data.
By comparing tracers provided by developer and the one with Out-of-the-box (OOTB), one could see that WHEN condition in 15th step of ‘PostCreateStructMessage’ activity is getting true in developer case. But the WHEN condition should be false and exit the activity.
The WHEN condition is checking for ‘Param.DisableActionFrame=="true"’. In OOTB login the parameter is set to true.
But at developer end the parameter is not set.
So checked the configuration of the Preview button and compared it with OOTB one.
In OOTB, the Preview button is picked from ‘CreatedStructMessage’ section and the actions are configured with ‘RefreshSection’ and pre activity ‘PreviewStructMessage’.
One could observe at user end the Preview button is customized. And the actions on the button are different.
Use the OOTB 'CreatedStructMessage' section or replace the actions on the ‘Preview’ button with ‘RefreshSection’ with Pre activity ‘PreviewStructMessage’.
Published December 1, 2016 - Updated December 9, 2016