Saturday, March 22, 2008

External Collaboration Toolkit for SharePoint released

External Collaboration Toolkit for SharePoint has been released and can be downloaded from http://www.microsoft.com/collabkit. The toolkit runs on MOSS 2007 and WSS 3.0.

Friday, March 14, 2008

How to find a node using expressions

If your main data source contains hundreds of nodes, how will you find one using expressions? Suppose "Nodes" is the parent node with the following xpath:
XPathNavigator nodes = this.CreateNavigator().SelectSingleNode("/my:myFields/my:Nodes", this.NamespaceManager);
To find nodes inside "Nodes" (parent node), do the following
nodes.SelectSingleNode("child::*[contains(name(),"abc")]");
This will select the child node that has "abc" in its name. This is just an example and can have many practical uses.

Publishing web enabled InfoPath form using STSADM command

Learn how to publish web enabled InfoPath forms using STSADM command line utility. It's simple. Admins use stsadm to publish forms. It's easy to create a batch file of commands that will remove form, deactivate form, upload form, activate form and upgrade form when needed.