InfoPath 2003 - Submit form to network share - InfoPath Dev
in

InfoPath Dev

InfoPath 2003 - Submit form to network share

Last post 02-10-2011 01:41 PM by pbays. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-10-2011 01:41 PM

    • pbays
    • Not Ranked
    • Joined on 02-10-2011
    • Posts 1

    InfoPath 2003 - Submit form to network share

    I read the other post on this topic but I am lost.  On submit I would like it to save an XML file to a network share using a Date/Time picker for the name of the file that gets saved.  I am code stupid, so any help is greatly appriciated.

     Here is the code as it stand at this moment: 

    /* * This file contains functions for data validation and form-level events.

    * Because the functions are referenced in the form definition (.xsf) file,

    * it is recommended that you do not modify the name of the function,

    * or the name and number of arguments.

    *

    */

    // The following line is created by Microsoft Office InfoPath to define the prefixes

    // for all the known namespaces in the main XML data file.

    // Any modification to the form files made outside of InfoPath

    // will not be automatically updated.

    // XDocument.DOM.setProperty("SelectionNamespaces", 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2011-02-10T20:42:46" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"');

    // //======= // The following function handler is created by Microsoft Office InfoPath.

    // Do not modify the name of the function, or the name and number of arguments. /

    /=======

    function XDocument::OnSubmitRequest(eventObj)

    {

    // If the submit operation is successful, set

    // eventObj.ReturnStatus = true;

    // Write your code here

    }

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