Input Parameter Problem after moving to Forms Server 2007 - InfoPath Dev
in

InfoPath Dev

Input Parameter Problem after moving to Forms Server 2007

Last post 11-23-2009 09:32 AM by manroland. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-20-2009 12:44 AM

    Input Parameter Problem after moving to Forms Server 2007

    We have a dozen or so Infopath 2007 Forms.
    They were hosted on a Wss 3.0 platform.
    They are launched from a .net application we have, which simply calls:
    http://<url>/template.xsn?parameter1=whatever

    This worked pefectly, until we moved to Forms Server 2007.
    Calling the same templates from the same website now no longer works.
    The templates open, but the code is unable to get the InputParameters now.

    The following code proves the InputParameters now look to be 0.

    Public Sub FormEvents_Loading(ByVal sender As Object, ByVal e As LoadingEventArgs)
                MessageBox.Show("Loading!")
     
                If e.InputParameters.Count = 0 Then
                    MessageBox.Show("InputParameters are 0")
                End If
     
                For Each s As System.Collections.Generic.KeyValuePair(Of String, String) In e.InputParameters
                    MessageBox.Show("In for loop!")
                Next
    End Sub
    



    I get the "Loading!" messagebox, and then the "InputParameters are 0" box.

    Can anyone explain why this is? Seems to be dropping the parameters?

    When I put on Fiddler, i can see the parameter(s) do appear to be there:
    http://<server>/FormTest/forms/template.xsn?OpenIn=PreferClient&specialty=general

    Have also tried:

    http://<server>/FormTest/forms/template.xsn?OpenIn=Client&NoRedirect=False&specialty=general

    But again no luck, looks as though the "specialty" parameter is not getting passed in.

  • 11-23-2009 09:32 AM In reply to

    Re: Input Parameter Problem after moving to Forms Server 2007

     have you ever solved the problem , i have a very similar issue , and i can't find the answer anywhere. i didn't upgrade or anything, and the funny thing is the problem occurs only for a few users

    Please let me know if you found a solution

     [email protected]

    thanks a lot

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