Search - InfoPath Dev

InfoPath Dev

Search

Page 9357 of 11491 (114909 items) « First ... < Previous 9355 9356 9357 9358 9359 Next > ... Last »
  • Re: Looping through Data Source nodes

    Genius.&nbsp; Here is all the code, and it works great.&nbsp; I&#39;ll always have an English translation, but may be missing some other.&nbsp; This way, at least the English will always be dispalyed.//When loading the document, set all the labels to the default language id choice (english) function XDocument::OnLoad(eventObj) &nbsp; { var ...
    Posted to Code (Forum) by skrile on 07-17-2007
  • Re: Looping through Data Source nodes

    Well, selectSingleNode returns a node object if xpath matches or null otherwise. So if you do .text of something which is null, you will get an exception. Instead, do something like that: var someNode = something.selectSingleNode(someXPath) if&nbsp;(someNode != null) { &nbsp; // do something with someNode.text } &nbsp;
    Posted to Code (Forum) by davidair on 07-17-2007
  • Re: Looping through Data Source nodes

    OK, I found the issue.&nbsp; I named my stringIDs on my Sharepoint list things like &#39;user_username&#39; and &#39;user_emailaddress&#39;.&nbsp; oNode.nodeName was returning &#39;my:user_username&#39; etc.&nbsp; I used the string.replace(&quot;my:&quot;,&quot;&quot;) function and all is well.&nbsp; However, I was wondering.&nbsp; Is there a way ...
    Posted to Code (Forum) by skrile on 07-17-2007
  • Tutorial: How to get the active directory details of the currently logged in user

    // using jscript - dont use vb, nobody is using vbscript in infopath, it hurts the brain, trust me. //Call Wscript to get user logged in details: &nbsp;var oNet = new ActiveXObject(&quot;Wscript.Network&quot;); &nbsp;sUserID = oNet.surname; //&nbsp;Call AD to get details about user: &nbsp;var objSysinfo = new ...
    Posted to SharePoint Integration (Forum) by ByronBalaski on 07-17-2007
  • Re: Query/Submit fields

    What a quick answer :-) Unfortunately I don&#39;t get it working, I put a query rule on textbox A, trying both with &quot;is not blank&quot; and &quot;is present&quot; conditions, but textbox A does not &quot;fire&quot; to connection 2. Neither does the rules and custom code button work, although I carefully attach the textbox A to the button ...
    Posted to Data Connections (Forum) by ollewessel on 07-17-2007
  • Re: Button to Save the form

    The submit to SharePoint can be added to a button whether it is a submit button or via a rule on another button. It is an action of a rule. Saving to a file share or any where else is a submit data connection as well.&nbsp; You can go into form options and remove the ability to save the form manually by your users.&nbsp; Once the form is in ...
    Posted to General (Forum) by Clay Fox on 07-17-2007
  • Re: Infopath and VB

    in an event handler you can use e.Site.text for example otherwise use XDocument.DOM.selectSingleNode(&quot;my:myFields/my:NameOfYourField&quot;) but please just check out the help files.
    Posted to Newbie Questions (Forum) by nukkumatti on 07-17-2007
  • Re: Looping through Data Source nodes

    Technically this code seems to make sense but maybe there is something else under labels which causes this to fail. I would recommend to step through your code in the debugger, looking at oNode at each iteration.
    Posted to Code (Forum) by davidair on 07-17-2007
  • Button to Save the form

    So&nbsp;I made a form that gets submitted to a sharepont site but i am having trouble because the users can move around the form into folders on the&nbsp;document library&nbsp;so i need to make the submit button into a save one that only saves it. &nbsp;Anyone have code to put on a button to save a form?&nbsp; I didnt see any action i could do to ...
    Posted to General (Forum) by homeguards on 07-17-2007
  • Re: Looping through Data Source nodes

    So, now I&#39;m trying to use that information to refresh all the data in those nodes by values stored in another data set.&nbsp; The complete code is: function XDocument::OnLoad(eventObj) { &nbsp;&nbsp; var objTranslation = XDocument.DataObjects(&quot;ThirdPartyEvent_Translations&quot;).DOM; ...
    Posted to Code (Forum) by skrile on 07-17-2007
Page 9357 of 11491 (114909 items) « First ... < Previous 9355 9356 9357 9358 9359 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.