InfoPath Task forms in blackpearl


Badge +3

Hello,


I have a few questions regarding the InfoPath forms (browser forms) closing behavior.  On my Initiation forms that are published to a forms library, when the user submits the form, it brings them back to the sharepoint site.  However, when a user clicks on the url from a mail event to access a task form, after the user submits, the browser closes.  I have received a requirement so that when after a user actions his task form, it brings them back to the site's homepage. 


 


Since the URL in the mail event is calling a K2 web service to open the form, I am not sure if we can modify that URL to alter the form closing behavior.


 


Can somebody please help me please?  This is kind of urgent.


 


Thanks so much,


 


Brian


2 replies

Badge +8

Brian,


Here are some links that may help.


http://social.msdn.microsoft.com/forums/en-US/sharepointinfopath/thread/b09deb4a-8fd9-42d8-b0b7-6f95aabbfc01/
http://www.sharepoint-tips.com/2007/06/solving-infopath-error-following.html


I have not tried to do this before so I cannot verify right now.  However after reading these, you can append the "&Source=XXXX" into the URL, then the user submits, the user will be redirected correctly.


Now to set that, I think you will need to modify the InfoPath client event code.  If you right click on the client event, you can go down into the WF code.  In there you should find some code which sets the task list.


Is that enough to get you started?


Jason

Badge +3

Thanks Jason.


Yes, the &Source=XXX should do the trick.  I will attempt to crack open the code in the client event and try to figure out how to append this to the concatenated URL.


 


Brian

Reply