Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 3 (21 items) 1 2 3 Next >
  • Updating a document library column on submission when the submission library is different than the library where the form template is published

    I'm using an Infopath form template to submit a form to a SharePoint document library.  In addition I want to update a column named Status in that document library when the form submits.  The idea is that it will default to open when the form is initially submitted, and then once the form has been processed, the user can open it from ...
    Posted to General (Forum) by KoopLaFez on 07-24-2013
  • Default Role Superseding All Roles

    I have several roles on my form which govern who sees what on the form. The default role is "Submitter", which is what everyone should see unless they are explicitly listed on one of the other roles. I tried testing this by leaving all of the roles empty, then adding myself to a role other than Submitter ("Voter"). When I ...
    Posted to General (Forum) by KoopLaFez on 06-26-2008
  • Re: Setting non-text values using selectSingleNode

     Thanks Greg, it worked great.  One more thing though:  What format would I use for a date/time value?  I tried "2008-04-22 08:01:00" but that gave me validation error. Also, out of curiosity, what's the logic behind th nillable attribute?  I can see the benifit of having  field that can be blank, but ...
    Posted to Code (Forum) by KoopLaFez on 04-22-2008
  • Setting non-text values using selectSingleNode

    I'm trying to set the values of fields on my XML form using javascript.   I have no problem setting text values using the selectSingleNode method: XDocument.DOM.selectSingleNode("/my:myFields/my:strField1").text = "hello world"; However, if I wan to set the value of a non-text field usinig similar ...
    Posted to Code (Forum) by KoopLaFez on 04-21-2008
  • Re: Method to remove signature

    I know this is an old thread, but if anyone's interested, I got this code to work in JScript (Where bName is a string containing the name of the data block that contains the signature you want to delete): function removeSignature(bName){            var oSignaturesCollection = ...
    Posted to Code (Forum) by KoopLaFez on 03-13-2008
  • Re: Referring to parent object in JSCript

    Thinking on this some more, I suppose I could do this: //oTest.oChild function displayVal(){            XDocument.UI.Alert(this.val1); } function oChild(oTest){ //oChild object definition           this.displayVal = ...
    Posted to Code (Forum) by KoopLaFez on 03-10-2008
  • Referring to parent object in JSCript

    Is there a way in JScript to refer to the current object's parent within a method of that object without explicitly passing the parent object to that method?  For instance: if I am in a method of an object, I can refer to the current object using the this keyword.  What I would like to do is use something along the lines of ...
    Posted to Code (Forum) by KoopLaFez on 03-10-2008
  • Re: Error when getting system date from Date Object

    Thanks Clay.  Setting the default to today() did the trick.  For some reason I always try to do things the hard way...
    Posted to Code (Forum) by KoopLaFez on 03-03-2008
  • Error when getting system date from Date Object

    I'm trying to get the current system date using the Today method of the Date object.  I took the following code right from the example in the help file: var currentDate = XDocument.Util.Date.Today(); But when I try to run it, I get the following error:  Variable uses an Automation type not supported JScript Any ideas?
    Posted to Code (Forum) by KoopLaFez on 03-03-2008
  • Getting the file name with code

    Is it possible to get the file name of an XML form using code?  Here is what I'm trying to do: I have one SharePoint form library that contains the form template.  When the user submits a new form using this template, it submits the form to a different form library (Library A).  Another user than opens the form from Library A, ...
    Posted to Code (Forum) by KoopLaFez on 03-03-2008
Page 1 of 3 (21 items) 1 2 3 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.