Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 1 (5 items)
  • Re: Load Event - Generate GUID

    K.Ramana: Thanks for takin a look at the code. If I change the ''d'' to ''dfs'', I come up with the error: 'XDocument.DOM.selectSingleNode(...)' is null or not an object. File:script.js If I leave it as the ''d'', i get this error Reference to undeclared namespace prefix: 'd'. File:script.js So, any other ideas? Is it possible since the field ...
    Posted to Newbie Questions (Forum) by SPP_ACS on 08-01-2006
  • Re: Load Event - Generate GUID

    Just for an update to everyone, I have fixed the undefined system error. The following changes to the namespace: //<namespacesDefinition> XDocument.DOM.setProperty(''SelectionNamespaces'', 'xmlns:xsi=''http://www.w3.org/2001/XMLSchema-instance'' xmlns:s0=''urn:sap-com:document:sap:rfc:functions'' ...
    Posted to Newbie Questions (Forum) by SPP_ACS on 07-31-2006
  • Re: Load Event - Generate GUID

    Additional information on error: 'XDocument.DOM.selectSingleNode(..)' is null or not an object. File:script.js Line:77 Is there another way to generate this GUID field on load or during the submission the the SQL Server.
    Posted to Newbie Questions (Forum) by SPP_ACS on 07-31-2006
  • Re: Load Event - Generate GUID

    quote:Originally posted by Matt Faus Hi Paul and welcome to the forums! I don't see anything blaringly wrong with this - what error are you getting? The Error: XDocument.DOM.selectSingleNode( . . . ) is undefined
    Posted to Newbie Questions (Forum) by SPP_ACS on 07-31-2006
  • Load Event - Generate GUID

    I am extremely new to Infopath, but learning by making mistakes. Here is the code I have so far: function XDocument::OnLoad(eventObj) { XDocument.DOM.selectSingleNode(''/myFields/CallAuditID'').text = System.Guid.NewGuid() } Any assitance would be great. I have read up on the forums, but still confused. Paul
    Posted to Newbie Questions (Forum) by SPP_ACS on 07-31-2006
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.