Posted: 10 Mar 2015 7:53 EDT Last activity: 17 Jul 2017 15:59 EDT
Is there a Desktop API to close all tabs?
[from unanswered PDN question last August.] I have a question from our developers on this. It's probably easy to do, but I haven't looked into it yet.Maybe someone else has written it?
One consideration is whether individual tags are dirty (have been edited). Is there some visual indicator to advise such (using a different color for a tab or adding a pencil icon). None I see in v7.1.5.
***Updated by moderator: Marissa to close 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.
I'm not promising that it will still be there when Pega 7.1.8 is released, but I am testing a beta version of 7.1.8 and there is a Close All option available all the time in my portals now, where in previous versions of Pega7 it only appeared if the width of the window was too narrow to show all the tabs in my dynamic container. I think this is a great enhancement to the product and one that my users have been asking about since we moved to a responsive portal in 7.1. It also keeps me from building my own version of a Close All button, which I did not want to do.
In CPM Portal 7.1.3 on Pega 7.1.8, same solution i have applied in button action --> Run Script; but no luck. it does not work?
Unable to close all tabs?
Is there any solutions?
We have agents who can serve many clients, each client has its own application. When Agent works in an application for a client here can receive call from other client then when he accept call pop up system should switch to corresponding application and need to close all recent tabs before switch application.
This is not working??? I have tried CPM Clearing activities but some how D_CPMPortalRecents page populated by earlier interactions ? How to clear out this Data page?
Property-Remove or Page-Remove or Update page with update time: anything is not success!!!!
Are you sure that CPM is using a multi-document dynamic container ? I thought that for CPM, the tabs were repeating dynamic layout and the dynamic container was an iframe less mode. in this case, this would not work.
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
We were able to close all work item tabs with above suggestion. Apart from work item tabs, we have some other tabs in our caseworker portal. Is there a way to set tabindex on this script call so that focus moves to desired tab on reload ?