Change the location of the Infopath form - InfoPath Dev
in

InfoPath Dev

Change the location of the Infopath form

Last post 01-10-2012 09:47 AM by csaha. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-10-2012 09:47 AM

    • csaha
    • Not Ranked
    • Joined on 12-13-2011
    • Posts 22

    Change the location of the Infopath form

    Users enter the name and zip of the student and it launches a Infopath form and the code behind this is as following:

    string href = "<A href='/SL/SitePages/ParentsPermissions.aspx?studentID=" + item["Student_Number"].ToString() + "'>";

    however I would like to launch the form which is in the following location after the infopath form is published in the form library and the location is

    http://sitecollection/SL/_layouts/FormServer.aspx?XsnLocation=http://sitecollection/SL/Parent%20Travel%20Permission/Forms/template.xsn&SaveLocation=http%3A%2F%2Fsc%2Esc%2Esc%2FSL%2FParent%20Travel%20Permission&DefaultItemOpen=1

    when the form is opened using the publishing Wizard the address is as following:

    http://sitecollection/SL/_layouts/FormServer.aspx?XsnLocation=http://sitecollection/SL/Parent%20Travel%20Permission/Forms/template.xsn&OpenIn=browser&SaveLocation=http://sitecollection/SL/Parent%20Travel%20Permission&Source=http://sitecollection/SL/Parent%20Travel%20Permission

    How do I write the above string href in the following location?

    Please advice.

     

    Thank you

     

    Chitra

     

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