Closed
Close all open tabs
Hi,
My Requirement is to close all open tabs on click of button in one of the tab.
I am using "pega.desktop.closeAllDocuments" . But it does not closes all the workitems.
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
Hi,
My Requirement is to close all open tabs on click of button in one of the tab.
I am using "pega.desktop.closeAllDocuments" . But it does not closes all the workitems.
Hello Akansha,
Thanks for posting your query in PSC :)
Are you passing event with pega.desktop.closeAllDocuments function?
Refer the below screenshot showing OOTB use case wherein we have 'CloseAll'.
Could you share screenshots displaying the configuration made at your end with actual outcome.
Regards,
Rincy
Hi Rincy,
Thanks for your reply. Please find attached screenshots.
Hello Akanksha,
Are you using a multi-document dynamic container? To confirm check where the dynamic container is used and its configuration.
For example, pega.desktop.closeAllDocuments on the designer studio will close all the tabs because it is using a multi-doc DC.
Regards,
Rincy
Hi Rincy,
Yes, we are using multi-document dynamic container.
Please find attached screen shot.
Regards,
Akanksha
Hello Akanksha,
I tried adding button to a tab and configured closeAllDocument on click of the button. I see all the tabs are getting closed.
Refer the attached document for your reference.
PS: My observation is from Pega 7.2.1.
Regards,
Rincy
Also, refer if below posts are helpful at your end:
Discussion
Discussion
Question Solved
Question Solved
Question
Discussion
Question Solved
Question
Question
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.