Search - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Search

Page 1 of 4 (39 items) 1 2 3 4 Next >
  • Re: userName() blank

    Jonesie, If you're not afraid of writing a little code, you can set the field's value with one line of C# in the form's onload event: MainDataSource.CreateNavigator().SelectSingleNode("//[xpath expression here]").SetValue(Application.User.UserName); This is what I do, but with the code behind the form, it requires a little ...
    Posted to Browser Forms (Forum) by anotherchrisberry on 02-11-2008
  • Timer in Browser form

    I assume this is not possible but want to make sure before I give up: I want to automatically submit a form every five minutes while it's open in the browser. I do this to maintain a "lock" on the form, which is actually rendered as a secondary data source in another form. I was hoping to use System.Timers, but I can't access ...
    Posted to Code (Forum) by anotherchrisberry on 01-09-2008
  • Re: Images as Navigation

     Thanks for the reply. Replacing buttons with images does not work in browser forms, though.
    Posted to Browser Forms (Forum) by anotherchrisberry on 12-20-2007
  • Images as Navigation

    I'm trying to use images as navigational tools (wrapping images in hyperlinks to other forms). Without going into much detail about why I'm doing this, well, suffice to say that I am. I have it working really well - except Forms Services always add a "target=_blank" attribute to the links. This isn't something the client ...
    Posted to Browser Forms (Forum) by anotherchrisberry on 12-20-2007
  • Re: Modifying another XML file using C#

    Amazing. Again, thanks. If anyone has a list of behavioral idiosyncrasies between client and web versions of forms, here's another: xml files as secondary data sources do not contain the XML declaration or processing instructions in the InfoPath client, but they do in the browser.  
    Posted to Data Connections (Forum) by anotherchrisberry on 12-19-2007
  • Re: Modifying another XML file using C#

    It did not work for me in Forms Server. Unfortunately, I don't have access to the server logs, so I can't do much debugging.
    Posted to Data Connections (Forum) by anotherchrisberry on 12-19-2007
  • Re: Modifying another XML file using C#

     Wow. That works. Suffice to say I would never have figured that out. Thank you so much, David!
    Posted to Data Connections (Forum) by anotherchrisberry on 12-19-2007
  • Re: Modifying another XML file using C#

     It turns out that "Only XPathNavigators from a DataObject are allowed" to use Submit Data methods. Great idea, though.
    Posted to Data Connections (Forum) by anotherchrisberry on 12-18-2007
  • Re: Modifying another XML file using C#

    David, That's correct. For whatever reason, CreateNavigator() positions itself at the document element. The parameterized version of execute allows you to use a data connection to submit data other than the form's main data source. I will try option #2 and get back. Thanks for the reply. Chris 
    Posted to Data Connections (Forum) by anotherchrisberry on 12-18-2007
  • Modifying another XML file using C#

    I am new to C# and InfoPath 2007 but pretty experienced with IP2003 and JScript. One thing I often did in IP2003 was link two forms together programatically - i.e., if a user changes a field in Form X, a field in Form Y was also changed. To do this, I would use two data connections: one to grab Form Y from SharePoint and another to re-submit Form ...
    Posted to Data Connections (Forum) by anotherchrisberry on 12-14-2007
Page 1 of 4 (39 items) 1 2 3 4 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.