new record in infopath - InfoPath Dev
in

InfoPath Dev

new record in infopath

Last post 06-12-2005 04:28 AM by Shanthi Reddy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-04-2005 02:30 AM

    • jojinek
    • Not Ranked
    • Joined on 06-04-2005
    • Czech Republic
    • Posts 4

    new record in infopath

    Hi,

    I want to make similar button as new record button in infopath but by Jscript code because I need make some action after create new record. I did not find how to solve it. Can you gime me any advice ?

    Thank



    RM
  • 06-12-2005 04:28 AM In reply to

    Add a button to the your form and the following code behind will help you access the Web service adapter and do actiosn with it
    var oXml = XDocument.DataObjects["GetSurveyVersion"];
    oXml.DOM.setProperty("SelectionNamespaces", 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:s0="http://autonomysystems.com/webservices/"');

    Then you do various actions like
    oXml.Query();

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