Santomania

Addy Santo's occasional braindumps

Browse by Tags

Tagged Content List
  • Blog Post: 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 " thank you and please come again ". Is that really...
  • Blog Post: 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 throughout the presentation. There were about...
  • Blog Post: 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 (who BTW still can't believe I pulled it off). The...
  • Blog Post: 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) ”. However that call triggers a...
  • Blog Post: 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 specified user name IsUserMemberOf(domain\groupname...
  • Blog Post: 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 to its nodeset is a bit more complex: count...
  • Blog Post: 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 with the namespaces used in the form and you are good...
  • Blog Post: 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 title="Information Worker"> <outline...
  • Blog Post: 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 from the specified location and caches it on...
  • Blog Post: 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 the end of the document , which probably matches...
  • Blog Post: 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 WSS developers or just plain users!
  • Blog Post: 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 resource of the form(s). It is less work and easier...
  • Blog Post: 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.asp
Page 1 of 1 (13 items)