Posted: 24 Jun 2019 10:45 EDT Last activity: 9 Jul 2019 1:48 EDT
Open URL automatically in window when opening an assignment
I got the following requirement:
When the user opens an assignment, a website should be automatically opened in a window. This website is needed to work on this assignment. The user doesn't want to make an extra click on the UI (e.g. link control) to open it manually.
I have tried to do this is PerformDefaults, as it should be just opened once. I have used Show-HTML method, but it is not working. My idea was to do with window.open('https://www.google.com'); as a test and if it would work then assembling the URL in the activity before using Show-HTML.
Has anybody implement a similar requirement and can help me figuring out how to do this?
Hi Evita, thank you for your answer. Yes, I know this option, but as I wrote the requirement is to open the URL automatically without the need of the user to click. When the user opens the case, the website should be opened as well in a popup.
So that means I am trying to launch a new window from server-side to open a URL.
yes it is working when I run the activity directly from developer portal, but if I run it in e.g. PerformDefaults when the case opens, it is not. I think because there is no window there for Pega to show that HTML.
When the user opens the case, a popup window should open with that URL.