January 31, 2007

Site Admin Templates for WSS 3.0 are released

Some of the templates for WSS 3.0 are release including ;
  • Business Performance Reporting
  • Case Management for Government Agencies
  • Classroom Management
  • Clinical Trial Initiation and Management
  • Competitive Analysis Site
  • Discussion Database
  • Disputed Invoice Management
  • Employee Activities Site
  • Employee Self-Service Benefits
  • Employee Training Scheduling and Materials
  • Equity Research
  • Integrated Marketing Campaign Tracking
  • Manufacturing Process Management
  • New Store Opening
  • Product and Marketing Requirements Planning
  • Request for Proposal
  • Sports League
  • Team Work Site
  • Timecard Management

You can download them here

January 26, 2007

How to allow a blocked file type in WSS 3.0?

WSS 3.0 blocks certain file types listed in
Central Administration -> Security Configuration -> Blocked file types.

You can edit this list to allow a specified filetype.

January 22, 2007

Sample Code for traversing a MindManager xml file

MindJet's MindManager is a good mind mapping software. The best part is it stores the content in an xml file. Locate your mindmanager file, change the extension to .zip and extract the contents.
What you will see is a xml file and associated schemas and image files.

I have written some sample code traversing this file and adding the structure to a treeview. Here is the code sample.

private void btnLoad_Click(object sender, EventArgs e)
{
XmlDocument xdoc = new XmlDocument();
xdoc.Load(@"..\..\SampleData\Document.xml");

TreeNode trn = new TreeNode("Root");
trv.Nodes.Add(trn);

// Create an XmlNamespaceManager to resolve the default namespace.
XmlNamespaceManager nsmgr = new XmlNamespaceManager(xdoc.NameTable);
nsmgr.AddNamespace("mm", "http://schemas.mindjet.com/MindManager/Application/2003");

string xpathQuery = "/mm:Map/mm:OneTopic/mm:Topic";

RecurseChilds(
xdoc.ChildNodes.Item(1).SelectNodes(xpathQuery, nsmgr),
trn,
nsmgr);


}

public void RecurseChilds(XmlNodeList xnl, TreeNode root, XmlNamespaceManager nsmgr)
{
if (xnl != null && xnl.Count > 0)
{
foreach (XmlNode xn in xnl)
{
XmlNode xnTitle= xn.SelectSingleNode("./mm:Text", nsmgr);
if (xnTitle != null)
{
XmlNode xnHyperlink = xn.SelectSingleNode("./mm:Hyperlink", nsmgr);
string treeText = xnTitle.Attributes["PlainText"].Value;
TreeNode trn = new TreeNode(treeText);
if (xnHyperlink != null)
trn.ToolTipText = xnHyperlink.Attributes["Url"].Value;
root.Nodes.Add(trn);
XmlNodeList xnlChildNodes = xn.SelectNodes("./mm:SubTopics/mm:Topic", nsmgr);
RecurseChilds(
xnlChildNodes,
trn,
nsmgr);
}

}
}
}

January 17, 2007

Getting rid of "Welcome System Account"

I have installed WSS 3.0. To my surprise when I tried to log in the system recognized me as sharepoint\system. The problem is even I log with my company domain credentials wss still recognizes me as sharepoint\system. And there is no domain , or server called "sharepoint" either.

I have crawled the web and tried the following with no success

Checked the application pool accounts and changed them to a wss admin account for all content, config databases wss 3.0 uses.
  • I have changed the domain accounts for the windows services for sharepoint.
  • I have checked the local user groups like IIS_WPG etc, removed my domain name.
  • I have checked the database users and switched them to wss admin account.
  • I have swithed the database owners to wss admin account

None of them worked, till Jukka Paajanen [MSFT] solved the problem suggesting the following command On a machine hosting the central admin web application:

stsadm -o updatefarmcredentials -userlogin "domain user" -password "newPassword"

This did the trick!


Thanks Jukka :)

January 14, 2007

Top Worst Domain Names of 2006

I have seen these domain names and I noticed I have never looked the techie site expertsexchange.com like that :D .

Check out the link...

January 13, 2007

Adding Pdf search to WSS 3.0 ,Sharepoint 2007 or MOSS 2007

Adding Pdf search to WSS 3.0 ,Sharepoint 2007, MOSS 2007
Although it is easy to found around, I have compiled the following information anyway:

  1. Download the ifilter plugin for adobe pdf documents.
  2. Install the filter as in told here.
  3. Download the pdf icon here.
  4. Edit C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\XML\DOCICON.XML -> add an entry for pdf
  5. copy the pdf icon to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\IMAGES
  6. iisreset