Discussion
Custom Button - not working in 7.1.9
We are upgrading from 5.4 to 7.1.9, In one of the process we have some custom buttons, which are not working in 7.1.9.
In 5.4 the button was calling few JS script.
Through this script (button) we are calling an activity , opening a window from a particular tab and also refreshing sections in other tabs depending on different different conditions.
I have used the OOTB open window in URL action with Run Activity but not able to use the when condition. Using this approach not able to fulfill the requirement.
Also used script to call the activity and open a window, but that also not working.
Scripts method: pega.u.reloadsection(sectionnode,activityname,'','','','','') and windowshowModalDailog();
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi Umeshsarda,
I understand that on click of the button, you are launching a new window and a tab gets focused by default. You need others tabs should get refreshed based on conditions.
Please let me know if my understanding is wrong.
For opening a new window, you can use Open URL in window action for tha button event , and select the option to launch in a new window.
In order to refresh other section, you can use refresh when option by embedding the section rule in a dynamic layout as shown below.
Please let me know if this helps.
Thanks,
Gowrishankar.