Question
Open URL from activity in new tab or pop-up window
Hi together,
I have a URL attachment attached to the case and would like to open it automatically from an activity (as an example) in a new tab or in a pop-up window.
It is important that it should not open from a user action, like we know when you configure "Open URL in Window" from the action menu. It has to be done automatically in a post action of a flow action.
I have read already this article, but I couldn't solve my requirement with the hints other user gave: https://community1.pega.com/community/pega-support/question/open-url-activity
Thanks for any help, Marcel
Hello Marcel,
I think you need some sort of UI element to fire off the new tab/window. The best I can think of would be to use a method like Show-HTML to call a section which has some sort of onLoad function where you pass in the URL and call it from there. The suggestion of calling redirectAndRun might also work, if you want to call the URL in the Pega Context, but I'm used to calling that from the UI, so I'm not sure if there are any pieces missing to get that to work.
Thanks,
Mike