Retrieve form filename - InfoPath Dev
in

InfoPath Dev

Retrieve form filename

Last post 08-25-2006 12:27 AM by madhuri. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-23-2006 04:19 PM

    • jmacs
    • Not Ranked
    • Joined on 08-23-2006
    • Posts 2

    Retrieve form filename

    I have a simple infopath form published to a sharepoint library.
    I want to retrieve the filename of the form, and display it in the form so that it appears when the form is printed.

    I have no programming skills, but I follow directions well ;)
    Any help is appreciated.

  • 08-25-2006 12:27 AM In reply to

    Hi

    1. Is the form saved to the SharePoint? If so then look at this link

    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=607&SearchTerms=filename

    2. If the form is not saved then save InfoPath form using its fields as filename in share point.
    get the text box value Using Xpath and then save that value as filename on
    submit

    code in c#:

    IXMLDOMNode Value = thisXDocument.DOM.selectSingleNode("XPATH");
    string fileName = Value.text;

    Look at these threads may help more to answer your question...

    http://infopathdev.com/forums/topic.asp?TOPIC_ID=416
    http://infopathdev.com/forums/topic.asp?TOPIC_ID=1074
    http://infopathdev.com/forums/topic.asp?TOPIC_ID=361
    http://infopathdev.com/forums/topic.asp?TOPIC_ID=1342
    Madhuri
    http://www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.