Oct 30

Written by: Soul Solutions
Monday, 30 October 2006 

BronwenWeeGo.jpgTo add an attribute by code in Infopath:

 

 
            IXMLDOMNode expressionBox= _document.DOM.selectSingleNode("//someNode");
            IXMLDOMNode disableEditing;
            node2 = _document.DOM.createAttribute("disableEditing");
            node2.text = "yes";
            addressNode.attributes.setNamedItem(node2);

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
Copyright © 2002-2009 Soul Solutions Pty Ltd. | Login