Run webservice from my script.js - InfoPath Dev
in

InfoPath Dev

Run webservice from my script.js

Last post 04-12-2006 09:54 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-12-2006 01:40 AM

    Run webservice from my script.js

    Hi all,
    I have created a webservice called 'CancelIncrementedOralNumber'.
    What I want is to run this webservice from my script.js code,
    when I choose for _not_ saving my formdocument.
    In script.js code, it must be placed in function:
    XDocument::OnSaveRequest(eventObj)
    with some 'if' statement such as:
    if (XDocument.IsNew == true || eventObj.IsSaveAs == false)

    I can't find how I must do this...
    Leon

  • 04-12-2006 09:54 PM In reply to

    Re: Run webservice from my script.js

    Hi Leon,
    Have you searched the InfoPath SDK? Should be some JS samples in there that call Web services.
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.