Question
Harness not getting replaced in Dynamic Container
I m using Pega 7.1.7.
Working Composite Portal, wherein I have a navigation which has two links say Link 1 and Link 2.
Now when user click on Link 1, "Harness 1" gets loaded in work area, and when user performs a action in the Harness 1 then Harness 2 is loaded.
Till now everything works fine.
Now When user clicks on Link 2, Harness 3 gets loaded which is as expected.
But when user click on Link 1 , it still shows Harness 2 instead of Harness 1.
Why it is not replace Harness 2 with 1, as the run script should have replaced the harness?
Message was edited by: Vidyaranjan Av
Hello Rasaiya,
As we don't have your design time configuration details, I will try to answer your question with the help of OOTB navigation rule pyCaseManagerLinks.
If you check the configuration for "My Cases" sub-menu, 2 Run Script action sets has been defined on it. On the first run script action set, "pega.desktop.showHarness" function is being called, which will show the harness in the workarea. This function takes an input parameter named "replaceCurrent". If you set this parameter to true, the harness will be replaced on each interaction.
Hope this will help you to achieve your requirement.