ViewFlow.aspx

  • 6 March 2006
  • 2 replies
  • 2 views

Badge +5
I've created a Windows Forms VB.Net application communicating to K2 via the K2ROM. I was trying to reproduce the K2 workspace functionality in windows forms by showing the workflow (ViewFlow.aspx).

I have successfully done this by displaying Internet Explorer with the correct link and processID by the code below.

I however have a small problem with authentication. For workspace I have integrated windows authenticatin set and workspace opens up correctly for the logged on user. However displaying the view flow page by my code it asks me to log in.

Do I need to create an ASP.Net wrapper around this page to use integrated windows authentication or should it work automatically?


Reference: Interop.SHDocVw

Private WithEvents ThisieSKB As SHDocVw.InternetExplorer

ThisieSKB = New SHDocVw.InternetExplorer

ThisieSKB.AddressBar = False
ThisieSKB.Visible = True
ThisieSKB.Navigate("http://192.168.16.200/K2V3/Workspace/K2MIS/ViewFlow.aspx?ProcInstID=") & WLItem.ProcessInstance.ID)

thanks

Dean

2 replies

Badge +11
Hi,

Not sure about a direct answer to your request, but please have a look at the following KB article. Maybe it will shed some light...
http://kb.k2workflow.com/Articles/KB000023.aspx

Regards,
Ockert
Badge +5
Thanks that seems to do it and much easier!!

Reply