After launching KM portal from other CPM application, user is invoking KM application from different service items using a button. Every time existing screen is refreshing with old data (dynamically passing parameters to PRCustomServlet to fetch search results for the selected Service Request, using onload script to fire KM search) .Can you please let me know how to close existing session (session opened through window.open) and launch a fresh/replace session.
***Edited by Moderator Marissa to update platform capability tags***
We are passing service item parameters (i.e Billing & Payments, State, Role etc...). These parameters are defined in the taxonomy. If user selects any content with these parameters sent from other pega application, Pega KM has to launch in new window and display the results (Open new session for different service item).
We are able to get the results using onload script and invoking the search event (empty search is invoked and KMSearchExtn activity is triggered with custom where class on the selected taxonomy).
If user is launching Pega KM from different service items, Pega KM application has to open in new window which is independent of each other and able to perform search. Currently system is open in new window, but it is replacing the old window with the current content.
Posted: 3 years ago
Posted: 5 Oct 2017 1:25 EDT
Sawant Tandle (tands)
Manager, CRM - Customer Service
if the name of the window is different it does open the articles in different windows, on the action button when you launch the harness in a pop up ensure you dynamically give a new name each time. then the windows wont be replaced.
Yes it is true, If the window name is different it opens a new window every time. But the problem is with open session with the same user, instead of calling the servlet it looks for existing open window and replacing the old content. Is there a way to terminate the session from another application and launch a new a session or replace existing screen with the newly passed parameters to PRCustomServlet?