Open two assignments from Email url in same opened session in pega
Is there a way to open 2 work objects from Email URL in same tab in Pega without opening a new window tab?
Now if i have an opened portal in Pega, when i click on a URL link to open a work objects, it opens a new tab in the browser and opens a new portal with the object.
What is needed is to open the new work objects in the current portal of Pega already opened.
Because the problem is when 2 Tabs of Pega are opened, each time you navigate between the 2 tabs they will be refreshed.
If there is no way to open the new work object in the same opened portal, is there an option to disable the refresh when navigating between the 2 tabs of pega?
It is not possible to do a window.open for an external link and open the 2 work object in the SAME browser tab. The only option is to have 2 different browser tab
the issue that you have is that you are using the same thread for each request and as such the 2 WOs are stepping on each and causing the 2 tabs to refresh. To fix that you need to make sure to use a different thread - generate the threadname to be unique (for example based on the work ID
I recommend to use the pyMobileSnapStart activity. This is available in Pega 7.2 and higher - see https://community.pega.com/sites/default/files/help_v74/procomhelpmain.htm#mobile/concepts/mob-use-snapstart-module-outside-sdk-con.htm
Here is an example of url that uses a redirect and run
http://MYHOST/[email protected]&ThreadName=WorkXXXXX&bPurgeTargetThread=true&AccessGroupName=MYAccessGroup&Location=pyActivity%3DpyMobileSnapStart%26pyShowFullPortal%3Dtrue%26Action%3DopenWorkByHandle%26InsHandle%3DPEGASOCIAL-DOCUMENT%20DOC-1934