Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » InfoPath   (RSS)

Random musings and an Infopath tip

Random musings... I have had too much sugar today and too little sleep last night, so my brain is a little fried. Consider yourself warned :) My current gig is for a hospital. Every evening when I leave the parking lot, the automated toll machine remarks
Posted by Addys | 1 Comments
Filed under: , ,

The Infopath presentation to the .Net Architects User Group Rocked!

Last night was lots of fun. I delivered a 2 hour InfoPath presentation to the Israeli .Net Architects user group. This was my first time in front of this particular UG, and they are a pretty sharp bunch who were very interactive with questions and comments
Posted by Addys | 4 Comments

Sucked into a black hole...

I have been neglecting my blog lately due to an insane project I got sucked into... Compressing 12 man weeks of work into 4 calendar weeks is harder than it sounds. I managed it though, and yesterday I handed off the final deliverable to the customer
Posted by Addys | 0 Comments
Filed under: ,

Loading XML data into your Infopath form with IXMLDOMDocument.ImportDom

This isn't a very common scenario, but every now and then the need arises to programmatically populate an Infopath form (from scratch) with data. After preparing the data in the required schema, my first thought was to do a simple “ ThisXDocument.DOM.loadXML(strMyData)
Posted by Addys | 0 Comments
Filed under:

Why doesn't InfoPath tell us who is the current user? Turns out there is a good reason...

This is a question I have often asked, and been asked by virtually every customer I have worked with: Infopath's User object includes the following two methods: IsCurrentUser(domain\username) returns True if the current(ly logged in) user matches the
Posted by Addys | 2 Comments
Filed under:

Getting the POSITION() of the PARENT node using Xpath

I just spent waaaaaay too long figuring this out, so I'll leave a note of it for future projects: To enumerate the current node's position in the current nodeset, position() is great. However when using nested nodesets, getting the parent's position relative
Posted by Addys | 5 Comments
Filed under: ,

Infopath forms and the XmlNamespaceManager

One common task when programmatically manipulating an InfoPath form is setting up the namespace manager. The following code will fail: MyInfopathDOM.SelectSingleNode("//my:name"); because of the unrecognized "my" prefix. But create a namespacemanager
Posted by Addys | 1 Comments
Filed under: ,

Office / Information Worker related weblogs

If anyone is interested, here is a compilation of 78 weblogs with Office or IW related themes: It was exported from my SharpReader so YMMV in other readers. < Added : About 90% of this list is from http://www.officezealot.com - recommended! > <outline
Posted by Addys | 4 Comments
Filed under: ,

Programmatically caching Infopath templates using Application.CacheSolution

Infopath has a simple and elegent system for caching form templates - when you open a form with an unknown template, it extracts the template version and location information from an XML processing instruction (PI) in the form, and then loads the template
Posted by Addys | 1 Comments
Filed under: ,

XmlDocument.CreateProcessingInstruction goes better with XmlDocument.InsertBefore

Note to self: Next time you need to add a Processing Instruction (PI) to an XmlDocument, ignore the MSDN documentation sample which uses XmlDocument.AppendChild . That sample isn't exactly incorrect, however it does result in the PI being appended to
Posted by Addys | 1 Comments
Filed under: ,

How to display data from an InfoPath form inside WSS/SPS web parts (without coding)

A nice connect-the-dots explanation is up on MSD2D.COM which shows how to hook up a data web part to an Infopath form library under WSS. It isn't very hard to do if you know how, but this tip shows a simple solution without any coding. Great for newbie
Posted by Addys | 1 Comments
Filed under:

InfoPath SP1 Tip of the Day

Tip #1: Do you have a form with multiple instances of the same dropdown list? Or multiple forms with the same dropdown? Well, instead of embedding the choices inside the dropdown itself , consider saving them to an external XML file and saving it as a
Posted by Addys | 0 Comments
Filed under:

Infopath SP1 preview announced

This is a must for Infopath developers. Support for managed code instead of VB/JS scripting, VS.NET integration, improved designer, better XML support and loads of new functionality. Whats not to like? http://www.microsoft.com/presspass/press/2004/feb04/02-23EnhancedInfoPathPR.as
Posted by Addys | 0 Comments
Filed under:
 
Page view tracker