Latte
Apprentice

Set Cookie with SmartForms

Hi, I'm using Office Web Apps with K2 SmartForms. The SharePoint documents are surfaced as hyperlinks on K2 so the end-user does not even know where the documents are from. They just click the hyperlink and the document opens up. 

 

The issue here is that Office Web Apps has a close button, when this close button is clicked the browser navigates back to SharePoint. I want to prevent this redirect back to SharePoint and keep the user within K2, so a navigate back to K2 homepage is required. 

 

Office Web Apps 2013 allows redirects to a specific URL by setting a cookie. 

window.document.cookie = "WOPISessionContext=http://client1.mydomain.com/project11210/default.aspx;path=/";

Anybody have any ideas how to do this with SmartForms?

 

Thanks.  

0 Kudos
Reply
1 Reply
dgilmour
Apprentice

Re: Set Cookie with SmartForms

Did you figure anything out?

0 Kudos
Reply