Skip to main content

Hi all,


I've configured the K2 worklist to open worklist items in a new window.
Users find it very annoying that, after actioning, they have to close that window manualy.
Opening the worklist item in the same window is not an option because after actioning you don't return to the page on which the K2 worklist sits.


Any ideas?


Tnx Lucien

The best thing might be use some javascript on your window to close it.


maybe something like self.close() would work.


in asp .net


                    ScriptManager.RegisterStartupScript(Page, Me.GetType(), "CloseForm",
                                       "window.opener = self; window.open('','_parent',''); window.close();", True)


self.close() results in a warning from IE that a script wants to close the window.
My users wouldn't like that. Any idea on how to avoid the popup?


asp.net is not an option for me. I'm not a developer so i'm using K2 Studio client side.


What is K2 Studio "client side"?   I thought that's a tool for workflow process.


Are you using InfoPath?   Or the 4.6 K2 Forms?


This works after all. The trick is, if a script has opened the new window then the popup will not apear.
So all you have to do is add the script to the return page. Hopefully this page isn't visited often by your users because they will then be confronted with the popup.


Reply