DataAdapters syntax help - InfoPath Dev
in

InfoPath Dev

DataAdapters syntax help

Last post 08-17-2005 02:16 AM by Agni Jonnalagadda. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-17-2005 01:35 AM

    • crachos
    • Not Ranked
    • Joined on 08-17-2005
    • Germany
    • Posts 1

    DataAdapters syntax help

    Hello,

    i have a problem with the XDocument.DataAdapter-syntax.
    I want to send the form, by using the following code(Jscript):

    var oEmail = XDocument.DataAdapters("main submit");
    oEmail.To = "[email protected]";
    oEmail.CC = "[email protected]";
    oEmail.Subject = "subject"
    oEmail.Intro = XDocument.Dom.xml;
    oEmail.Submit();

    If i click on the button, i get an error msg, which says, that no such element index ("main submit") was found.

    So, what i have to fill in there?

    I'm asking you, becouse of the german infopath scripting support in the web is very bad. So thank you and don't be unlucky about my speech.

    greatz timo
  • 08-17-2005 02:16 AM In reply to

    Re: DataAdapters syntax help

    Hi Timo,
    Welcome to the Forum!
    Did you create an Email connection called "main submit"?
    If you dint create one you need to create an data connection email connection.

    Note: Check for casing and spelling.


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