Programmatic access to location of form library - InfoPath Dev
in

InfoPath Dev

Programmatic access to location of form library

Last post 02-05-2007 06:57 AM by EricL. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-29-2007 02:38 PM

    • EricL
    • Not Ranked
    • Joined on 01-18-2007
    • Posts 5

    Programmatic access to location of form library

    Hi,
    I need to programmatically build a "URI" string for an InfoPath document which has not yet been submitted.

    I have pre-built the name of the document (<ExternalFileName>.xml), but I need to pull out the URL of the form library from "somewhere"(???).

    I can use the XDocument.DOM.URI after a doc is submitted, but before submitting the form is just named "FORM1" with no path.

    I'm assuming I should be able to pull the URL of the form library either from the "submit" data-adapter or from somewhere in the template.xsn? Or is it hidden somewhere in the XDocument or XApplication?
    Thanks
  • 01-29-2007 11:24 PM In reply to

    Re: Programmatic access to location of form library

    Hi,

    You can get the URL of sharepoint form library, using
    thisXDocument.Solution.URI(in C#).

    I hope this will help for you.

    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
  • 02-05-2007 06:57 AM In reply to

    • EricL
    • Not Ranked
    • Joined on 01-18-2007
    • Posts 5

    Re: Programmatic access to location of form library

    Hi,
    This was exactly what I was missing.
    Thank you!!!
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.