How to use same thread when using openWorkByURL js function
A pop up windows opens in Thread1. The pop window is a search window and has a listview with the search results. Onclick of listview row a js function is invoked. The js function in turn invokes openWorkByURL. openWorkByURL opens a harness in the main portal window, but the harness opens in Thread2.
Is there a way we can open the harness in the main portal window from the pop up window on the same thread (Thread1)?