InfoPath browserenabled forms; modifying query-parameters programatically? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

InfoPath browserenabled forms; modifying query-parameters programatically?

Last post 07-27-2009 05:48 AM by andreas.hagen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-27-2009 05:37 AM

    InfoPath browserenabled forms; modifying query-parameters programatically?

     I’m hosting InfoPath 2007 forms in Sharepoint with Form Services (browser enabled forms).

    I want to modify the Source parameter programmatically to enable redirecting to custom pages instead of the hosting site of the form. I want to do this without specifying the Source-parameter in the url used to open the form (we are redirecting users from an SSO-portal (SingleSignOn)  and the URL used by this portal does not specify the Source parameter and is difficult to change).

    1.       Is this possible (if so how) or do I have to specify the Source-parameter in the url when the form is opened?

    2.       If NO; Are there any other robust way to redirect users programatically to another website or aspx redirect page within the site?

    The Source parameter could typically be on the form &Source=http://myserver/_layouts/MyCustomRedirectPage.aspx  (form hosted in “rootsite”).

    I've attempted several approaches for (2), i.e. HttpContext.Current.Response.Redirect(“http://myserver/_layouts/MyCustomRedirectPage.aspx”) without any success.

    Any help is appreciated!

  • 07-27-2009 05:48 AM In reply to

    Update: InfoPath browserenabled forms; modifying query-parameters programatically?

     Another reason for us to do i this way is that we could present the user with several choices for what to do next:

     1. Finish and logout (redirect to logout url, which in turn redirects to the main site of the portal)

     2. Go to homepage (go to main site of the portal without loggin out and start other tasks)

     3. Open another form (i.e. open another related form without logging out of the SSO-session)

     This could not be done without the ability to change the Source-parameter programatically or do some other form of redirecting the user to custom aspx-pages with redirect rules.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.