<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4682300512116159238</id><updated>2011-12-22T04:31:58.427-08:00</updated><category term='C#'/><category term='Audience Targetting'/><category term='Excel Services'/><category term='jQuery'/><category term='Feature'/><category term='WebParts'/><category term='XSLT'/><category term='Office'/><category term='SharePoint Designer'/><category term='Code Snippet'/><category term='SharePoint Tools'/><category term='MOSS'/><category term='Object Model'/><category term='Security'/><category term='JavaScript'/><category term='Backup Restore'/><category term='InfoPath'/><title type='text'>All about Microsoft.NET &amp; MOSS</title><subtitle type='html'>In this stop you will get resources related to Microsoft.NET and MOSS</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-2827004046209731681</id><published>2009-08-13T22:22:00.000-07:00</published><updated>2009-08-13T23:05:03.818-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Object Model'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Designer'/><category scheme='http://www.blogger.com/atom/ns#' term='Feature'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Adding a Description for SharePoint Designer Workflow</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;I have seen this question in many places “&lt;em&gt;How to add description for a SharePoint Designer Workflow?”&lt;/em&gt; I had the same requirement; googling does not give me the result to achieve the same :-). See the image of a sample workflow generated by SharePoint Designer.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SoT6pMYPr5I/AAAAAAAAAa0/iGQtZjlyhqg/s1600-h/No_Desc.JPG"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369692241336971154" style="WIDTH: 388px; CURSOR: hand; HEIGHT: 335px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SoT6pMYPr5I/AAAAAAAAAa0/iGQtZjlyhqg/s400/No_Desc.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;br /&gt;Unfortunately, SharePoint Designer does not provide an option for adding workflow description. I have looked at the files which is generated by designer, but unsuccessful. See the files generated by a SharePoint Designer Workflow&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SoT6pri2oUI/AAAAAAAAAbE/zmCXdMTCHLY/s1600-h/SPD_Workflow_Files.JPG"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369692249702965570" style="WIDTH: 226px; CURSOR: hand; HEIGHT: 129px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SoT6pri2oUI/AAAAAAAAAbE/zmCXdMTCHLY/s400/SPD_Workflow_Files.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;br /&gt;The finally I decided to write a piece of code using SharePoint Object Model to achieve the same.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:times new roman;color:#996633;"&gt;&lt;em&gt;&lt;span style="color:#cc6600;"&gt;private void AddWorkflowDescription(string siteURL, string listName, string workflowName, string workflowDesc)&lt;br /&gt;{&lt;br /&gt;using (SPSite site = new SPSite(siteURL))&lt;br /&gt;{&lt;br /&gt;using (SPWeb web = site.OpenWeb())&lt;br /&gt;{&lt;br /&gt;SPList _linksList = web.Lists[listName];&lt;br /&gt;&lt;br /&gt;foreach (SPWorkflowAssociation _wfAssoc in _linksList.WorkflowAssociations)&lt;br /&gt;{&lt;br /&gt;if (_wfAssoc.Name.ToLower().Equals(workflowName))&lt;br /&gt;{&lt;br /&gt;_wfAssoc.Description = workflowDesc;&lt;br /&gt;_linksList.UpdateWorkflowAssociation(_wfAssoc);&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Feature Activated Code&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="color:#cc6600;"&gt;&lt;em&gt;public override void FeatureActivated(SPFeatureReceiverProperties properties)&lt;br /&gt;{&lt;br /&gt;string _siteURL = "http://mossserver:4545/sites/Demo/";&lt;br /&gt;string _listName = "Links";&lt;br /&gt;string _workflowName = "workflow 1";&lt;br /&gt;string _workflowDesc = "Workflow Descriptiopn updated by code";&lt;br /&gt;AddWorkflowDescription(_siteURL, _listName, _workflowName, _workflowDesc);&lt;br /&gt;}&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;I have added this code in my “&lt;em&gt;Feature Activated&lt;/em&gt;” event. The following image shows a SharePoint designer workflow with description which is generated by the above code.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SoT6pWpcN7I/AAAAAAAAAa8/zn9PMzLMi78/s1600-h/SPD_Added_WF_Desc.JPG"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5369692244093450162" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 236px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SoT6pWpcN7I/AAAAAAAAAa8/zn9PMzLMi78/s400/SPD_Added_WF_Desc.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;Note:&lt;br /&gt;&lt;/em&gt;If you just want to run this code only once then create a Console Application / Windows application to execute the above code.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-2827004046209731681?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/2827004046209731681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=2827004046209731681' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/2827004046209731681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/2827004046209731681'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/08/adding-description-for-sharepoint.html' title='Adding a Description for SharePoint Designer Workflow'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_x6pT7hIsR1A/SoT6pMYPr5I/AAAAAAAAAa0/iGQtZjlyhqg/s72-c/No_Desc.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-4677664194341788988</id><published>2009-08-07T08:25:00.000-07:00</published><updated>2009-08-10T09:56:56.665-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='WebParts'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Flash Tag Cloud in SharePoint using jQuery</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;This post uses &lt;/span&gt;&lt;a href="http://www.roytanck.com/2009/03/11/how-to-use-wp-cumulus-shortcodes/"&gt;&lt;span style="font-family:times new roman;"&gt;WP-Cumulus&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt; plugin and SharePoint &lt;em&gt;Content Editor Web Part&lt;/em&gt; to display Tags or any SharePoint list data in 3D format. The data from SharePoint list has been queried using &lt;/span&gt;&lt;a href="http://jquery.com/"&gt;&lt;span style="font-family:times new roman;"&gt;jQuery&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;. See the below screens which shows Tag Cloud in a SharePoint Page. &lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SoBJWVWcTXI/AAAAAAAAAak/fAdvlYt48Qk/s1600-h/Tag_Cloud.JPG"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5368371403862855026" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 124px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SoBJWVWcTXI/AAAAAAAAAak/fAdvlYt48Qk/s400/Tag_Cloud.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;See the Tag Cloud in action &lt;/span&gt;&lt;a href="http://www.roytanck.com/2009/03/11/how-to-use-wp-cumulus-shortcodes/"&gt;&lt;span style="font-family:times new roman;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;WP-Cumulus &lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;strong&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;WP-Cumulus&lt;/em&gt; allows you to display your site's tags, categories or both using a Flash movie that rotates them in 3D. There are different configuration options available like changing the color, style etc &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;For more information refer the following link (download)&lt;br /&gt;&lt;/span&gt;&lt;a href="http://wordpress.org/extend/plugins/wp-cumulus/"&gt;&lt;span style="font-family:times new roman;"&gt;http://wordpress.org/extend/plugins/wp-cumulus/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;jQuery &lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;strong&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;jQuery&lt;/em&gt; is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML. Refer the interesting post from &lt;/span&gt;&lt;a href="http://weblogs.asp.net/jan/archive/2009/05/06/querying-sharepoint-list-items-using-jquery.aspx"&gt;&lt;span style="font-family:times new roman;"&gt;Jan Tielens&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt; to query SharePoint list data using &lt;em&gt;jQuery&lt;/em&gt;.&lt;br /&gt;For more information refer the following link &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://jquery.com/"&gt;&lt;span style="font-family:times new roman;"&gt;http://jquery.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Here the Steps to create Tag Cloud using SharePoint list data with the use of &lt;em&gt;jQuery&lt;/em&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;Upload WP-Cumulus Files &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;You can use “&lt;em&gt;Shared Documents&lt;/em&gt;” or create a new Document Library to hold the necessary files. I have created a new Document Library called “&lt;em&gt;Tag Cloud&lt;/em&gt;” to hold the Tag Cloud related files. Download the WP-Cumulus from the above specified link, I have used version - 1.21. Extract the files and upload “&lt;em&gt;swfobject.js&lt;/em&gt;” and “&lt;em&gt;tagcloud.swf&lt;/em&gt;” files to the document library. &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SoBJWjZRsgI/AAAAAAAAAas/ntKpF7JEcGk/s1600-h/Tag_Cloud_Doc_Lib.JPG"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5368371407632839170" style="WIDTH: 288px; CURSOR: hand; HEIGHT: 164px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SoBJWjZRsgI/AAAAAAAAAas/ntKpF7JEcGk/s400/Tag_Cloud_Doc_Lib.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Creating a SharePoint list for holding Tag details&lt;/strong&gt; &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Create a SharePoint list with the following fields. You can see the list “&lt;em&gt;Tags&lt;/em&gt;” with sample data in first screen. &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;&lt;strong&gt;Field Name - Type - Description&lt;/strong&gt;&lt;/em&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Tags - Single Line of Text - This field holds the Tag name&lt;br /&gt;Link - Single Line of Text - This field points to the Tag Link&lt;br /&gt;Style - Single Line of Text - This field holds a style number&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Adding Content Editor Web part&lt;/strong&gt; &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Open your page (where you want to display Tag Cloud) in Edit Mode (Site Actions --&gt; Edit Page), add &lt;em&gt;Content Editor Web Part &lt;/em&gt;(CEWP) to any one Web part Zone. Copy and Paste the following code to the Source Editor of &lt;em&gt;CEWP&lt;/em&gt;. &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;Note:&lt;/em&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;If you want the Tag Cloud in all other pages then add &lt;em&gt;CEWP&lt;/em&gt; to the master page)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;Script&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;p&gt;&lt;table border="1"  style="color:#000000;"&gt;&lt;tbody&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;tr&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;td&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&amp;lt;script type="text/javascript" src="&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js" &amp;gt; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&amp;lt;script type="text/javascript" src="&lt;span style="color:#ff0000;"&gt;/sites/Demo/Tag%20Cloud/swfobject.js"&lt;/span&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&amp;lt;div id="flashcontent"&amp;gt;This will be shown to users with no Flash or Javascript.&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&lt;br /&gt;var tags = "";&lt;br /&gt;&lt;br /&gt;$(document).ready(function() {&lt;br /&gt;&lt;br /&gt;var soapEnv =&lt;br /&gt;&lt;br /&gt;"&amp;lt;soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;soapenv:Body&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;listName&amp;gt;&lt;span style="color:#ff0000;"&gt;Tags&lt;/span&gt;&amp;lt;/listName&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;viewFields&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;ViewFields&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;FieldRef Name='&lt;span style="color:#ff0000;"&gt;Tag&lt;/span&gt;' /&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;FieldRef Name='&lt;span style="color:#ff0000;"&gt;Link&lt;/span&gt;' /&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;FieldRef Name='&lt;span style="color:#ff0000;"&gt;Style&lt;/span&gt;' /&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;/ViewFields&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;/viewFields&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;/GetListItems&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;/soapenv:Body&amp;gt; \&lt;br /&gt;&lt;br /&gt;&amp;lt;/soapenv:Envelope&amp;gt;";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$.ajax({&lt;br /&gt;&lt;br /&gt;url: "_vti_bin/lists.asmx",&lt;br /&gt;&lt;br /&gt;type: "POST",&lt;br /&gt;&lt;br /&gt;dataType: "xml",&lt;br /&gt;&lt;br /&gt;data: soapEnv,&lt;br /&gt;&lt;br /&gt;complete: processResult,&lt;br /&gt;&lt;br /&gt;contentType: "text/xml; charset=\"utf-8\""&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function processResult(xData, status) {&lt;br /&gt;&lt;br /&gt;$(xData.responseXML).find("z\\:row").each(function() {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;tags += "&amp;lt;a href='" + $(this).attr("&lt;span style="color:#ff0000;"&gt;ows_Link&lt;/span&gt;") + "' style='" + $(this).attr("&lt;span style="color:#ff0000;"&gt;ows_Style&lt;/span&gt;") + "'&amp;gt;" + $(this).attr("&lt;span style="color:#ff0000;"&gt;ows_Tag&lt;/span&gt;") + "&amp;lt;/a&amp;gt;";&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;var tagDetails = "&amp;lt;tags&amp;gt;" + tags + "&amp;lt;/tags&amp;gt;";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;var so = new SWFObject("&lt;span style="color:#ff0000;"&gt;/sites/Demo/Tag%20Cloud/tagcloud.swf&lt;/span&gt;", "tagcloud", "230", "200", "7", "#ffffff");&lt;br /&gt;&lt;br /&gt;// uncomment next line to enable transparency&lt;br /&gt;&lt;br /&gt;//so.addParam("wmode", "transparent");&lt;br /&gt;&lt;br /&gt;so.addVariable("tcolor", "0x111111");&lt;br /&gt;&lt;br /&gt;so.addVariable("mode", "tags");&lt;br /&gt;&lt;br /&gt;so.addVariable("distr", "true");&lt;br /&gt;&lt;br /&gt;so.addVariable("tspeed", "100");&lt;br /&gt;&lt;br /&gt;so.addVariable("tagcloud", tagDetails);&lt;br /&gt;&lt;br /&gt;so.write("flashcontent");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;Note:&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;Replace the text marked in red with your respective document library relative path, list name and field names.&lt;br /&gt;&lt;br /&gt;A dynamic Tag Cloud is ready, now you can add/ modify the “&lt;em&gt;Tags&lt;/em&gt;” list data and it will be reflected in Tag Cloud. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-4677664194341788988?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/4677664194341788988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=4677664194341788988' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/4677664194341788988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/4677664194341788988'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/08/flash-tag-cloud-in-sharepoint-using.html' title='Flash Tag Cloud in SharePoint using jQuery'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/SoBJWVWcTXI/AAAAAAAAAak/fAdvlYt48Qk/s72-c/Tag_Cloud.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6399361908328727312</id><published>2009-08-05T07:35:00.000-07:00</published><updated>2009-08-05T07:51:21.501-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Creating Custom Permissions in SharePoint</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;SharePoint provides simple UI to create custom permissions or customize existing permissions. This post will guide you to create a permission level which allows a user to create, update items in list but not allow deleting the same.&lt;/span&gt; &lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Follow the below steps to create a new permission level&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Navigate to &lt;em&gt;Site Actions --&gt; Site Settings --&gt; Advanced Permissions&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;This page displays the complete list of user groups and their respective permission levels. Click on the group to add / remove associated permission levels&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SnmaMx4ukrI/AAAAAAAAAZ8/48C2qJCelqg/s1600-h/Advanced_Permissions.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366489975329034930" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 203px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SnmaMx4ukrI/AAAAAAAAAZ8/48C2qJCelqg/s400/Advanced_Permissions.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Go to &lt;em&gt;Settings --&gt; Permission Levels&lt;/em&gt; to create a new permission / customize an existing one.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnmaOFWKBEI/AAAAAAAAAac/BdMCV53GS7o/s1600-h/Permission_Levels.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366489997732611138" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 178px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnmaOFWKBEI/AAAAAAAAAac/BdMCV53GS7o/s400/Permission_Levels.JPG" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;To customize the existing permission level, click on the permission level and check / un-check the permission check boxes to match your requirement.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnmaNWX9rJI/AAAAAAAAAaE/Upt2_Qs1-B8/s1600-h/Contribute_Permission.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366489985123724434" style="WIDTH: 324px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnmaNWX9rJI/AAAAAAAAAaE/Upt2_Qs1-B8/s400/Contribute_Permission.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;I am going to create a new permission level “&lt;em&gt;&lt;strong&gt;Low Contribute&lt;/strong&gt;&lt;/em&gt;”, which allow a user to add, update an item but not delete. A little bit of customization to the Contribute permission level will give us the desired functionality. Click on “&lt;strong&gt;&lt;em&gt;Copy Permission Level&lt;/em&gt;&lt;/strong&gt;” which will copy the permission level, give a name to this permission level (“Low Contribute”).&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SnmaNruvmaI/AAAAAAAAAaM/ZXo1YVn0qgA/s1600-h/Low_Contribute_Permission.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366489990856415650" style="WIDTH: 286px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SnmaNruvmaI/AAAAAAAAAaM/ZXo1YVn0qgA/s400/Low_Contribute_Permission.JPG" border="0" /&gt;&lt;/a&gt; &lt;div&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Create the new permission level by un-checking “&lt;strong&gt;&lt;em&gt;Delete Items&lt;/em&gt;&lt;/strong&gt;” and “&lt;strong&gt;&lt;em&gt;Delete Versions&lt;/em&gt;&lt;/strong&gt;” from “&lt;strong&gt;&lt;em&gt;List Permissions&lt;/em&gt;&lt;/strong&gt;” section. The following screen shows a user with “&lt;strong&gt;&lt;em&gt;Low Contribute&lt;/em&gt;&lt;/strong&gt;” permission.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SnmaNzjpOyI/AAAAAAAAAaU/1-VAevRLs80/s1600-h/No_Delete_Result.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366489992957344546" style="WIDTH: 298px; CURSOR: hand; HEIGHT: 153px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SnmaNzjpOyI/AAAAAAAAAaU/1-VAevRLs80/s400/No_Delete_Result.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;Note:&lt;/em&gt; The security trimmed menu does not have the Delete option.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6399361908328727312?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6399361908328727312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6399361908328727312' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6399361908328727312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6399361908328727312'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/08/creating-custom-permissions-in.html' title='Creating Custom Permissions in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_x6pT7hIsR1A/SnmaMx4ukrI/AAAAAAAAAZ8/48C2qJCelqg/s72-c/Advanced_Permissions.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6930963749544237167</id><published>2009-08-03T08:20:00.000-07:00</published><updated>2009-08-03T08:37:30.441-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='WebParts'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Adding Custom New Icon using CEWP in SharePoint</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;This post uses &lt;strong&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/strong&gt; with &lt;strong&gt;&lt;em&gt;Content Editor Web Part&lt;/em&gt;&lt;/strong&gt; to add custom new icon.&lt;br /&gt;&lt;br /&gt;Use the following approach if your site is not a multilingual one. To achieve the same in multilingual sites, a more dynamic approach is required. New Icon can be found in images of &lt;em&gt;1033&lt;/em&gt; (English) folder. Each language will have a respective new icon.I have created four icons for this post and placed in 12 Hive\Template\Layouts\Images\Icons. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SncBozqI4JI/AAAAAAAAAZ0/AInylebOTXs/s1600-h/Images_Layout.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365759281608581266" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 115px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SncBozqI4JI/AAAAAAAAAZ0/AInylebOTXs/s400/Images_Layout.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Step – 1: Add a Content Editor Web Part (CEWP) to your page, where you want to display the custom New Icon. I have used my document library landing page (AllItems.aspx) for this purpose. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;Note:&lt;/em&gt;&lt;br /&gt;This will show the custom New Icon for that particular page, place the CEWP to your master page if you want to apply custom icon for other pages which references the master page.&lt;br /&gt;&lt;br /&gt;Step – 2: Open CEWP Tool Pane, click on “&lt;strong&gt;&lt;em&gt;Source Editor&lt;/em&gt;&lt;/strong&gt;”. Place the following script in Source Editor.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;&amp;lt;script language="JavaScript"&amp;gt;&lt;br /&gt;_spBodyOnLoadFunctionNames.push("ShowCustomNewIcons");&lt;br /&gt;&lt;br /&gt;function ShowCustomNewIcons()&lt;br /&gt;{&lt;br /&gt;//Custom New Icon Image path&lt;br /&gt;var newIcon = '_layouts/images/icons/new1.jpg';&lt;br /&gt;var fields,i; &lt;br /&gt;fields = document.getElementsByTagName('IMG'); &lt;br /&gt;for( i = 0; i &lt; fields.length; i ++ )&lt;br /&gt;{   &lt;br /&gt;var imagesrc = fields[i].getAttribute('SRC');   &lt;br /&gt;if(imagesrc.indexOf("new.gif") != -1)&lt;br /&gt;{     &lt;br /&gt;fields[i].src = newIcon;&lt;br /&gt;} &lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Once the script added, you can see the custom icon will be shown on the new items instead of the OOB New Icon.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SncBomiMa3I/AAAAAAAAAZs/_I4sjOd_Vi4/s1600-h/New_Icons.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365759278085598066" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 157px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SncBomiMa3I/AAAAAAAAAZs/_I4sjOd_Vi4/s400/New_Icons.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6930963749544237167?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6930963749544237167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6930963749544237167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6930963749544237167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6930963749544237167'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/08/adding-custom-new-icon-using-cewp-in.html' title='Adding Custom New Icon using CEWP in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_x6pT7hIsR1A/SncBozqI4JI/AAAAAAAAAZ0/AInylebOTXs/s72-c/Images_Layout.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6358084033711666544</id><published>2009-08-03T08:15:00.000-07:00</published><updated>2009-08-03T08:19:38.301-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Tools'/><title type='text'>Using STSADM to set the duration of New Icon in SharePoint</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;The duration of the New Icon can be modified using &lt;strong&gt;STSADM&lt;/strong&gt; utility. Use “&lt;strong&gt;&lt;em&gt;Days-to-show-new-icon&lt;/em&gt;&lt;/strong&gt;” property to set the duration in days. If the duration is set to “0” (zero) then the new icon will not be displayed. This is the better way to hide the New Icon.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/Snb_ffxgT2I/AAAAAAAAAZk/dvehTxSk26o/s1600-h/New_Icon.JPG"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365756922628689762" style="WIDTH: 189px; CURSOR: hand; HEIGHT: 70px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/Snb_ffxgT2I/AAAAAAAAAZk/dvehTxSk26o/s400/New_Icon.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;Note:&lt;/em&gt;&lt;br /&gt;The default duration of days is “2”.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Using STSADM&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use the following STSADM command to set the New Icon display duration to “5” days.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;stsadm.exe&lt;br /&gt;-o setproperty&lt;br /&gt;-pn days-to-show-new-icon&lt;br /&gt;-pv 5&lt;br /&gt;-url http://mosssiteUrl&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;TechNet Reference: &lt;/span&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc287681.aspx"&gt;&lt;span style="font-family:times new roman;"&gt;http://technet.microsoft.com/en-us/library/cc287681.aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6358084033711666544?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6358084033711666544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6358084033711666544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6358084033711666544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6358084033711666544'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/08/using-stsadm-to-set-duration-of-new.html' title='Using STSADM to set the duration of New Icon in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_x6pT7hIsR1A/Snb_ffxgT2I/AAAAAAAAAZk/dvehTxSk26o/s72-c/New_Icon.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6930646707475335001</id><published>2009-08-01T21:29:00.000-07:00</published><updated>2009-08-01T21:35:12.053-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>My Fourth SharePoint Article in Codeproject.com</title><content type='html'>&lt;span style="font-family:times new roman;"&gt; My Fourth Article published in Codeproject.com&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Title :&lt;/strong&gt; SharePoint Tasks Popup using JavaScript API&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Description :&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;This article uses SharePoint’s Content Editor Web part (CEWP) with Darren’s JavaScript API to display the tasks for current logged in user. JavaScript API is used to query the SharePoint Task list and the tasks for the current user will be displayed in the CEWP. See the screen below&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnUWyZo5lJI/AAAAAAAAAZc/V_iykq--g2c/s1600-h/Tasks_popup.jpg"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5365219586213516434" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 216px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnUWyZo5lJI/AAAAAAAAAZc/V_iykq--g2c/s400/Tasks_popup.jpg" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Link :&lt;/strong&gt; &lt;/span&gt;&lt;a href="http://www.codeproject.com/KB/sharepoint/SharePointTasksPopup.aspx"&gt;&lt;span style="font-family:times new roman;"&gt;http://www.codeproject.com/KB/sharepoint/SharePointTasksPopup.aspx&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6930646707475335001?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6930646707475335001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6930646707475335001' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6930646707475335001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6930646707475335001'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/08/my-fourth-sharepoint-article-in.html' title='My Fourth SharePoint Article in Codeproject.com'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_x6pT7hIsR1A/SnUWyZo5lJI/AAAAAAAAAZc/V_iykq--g2c/s72-c/Tasks_popup.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-1315552429839164797</id><published>2009-07-30T08:29:00.000-07:00</published><updated>2009-07-30T08:42:46.605-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Audience Targetting'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Audience Targeting for Quick Launch using CEWP in SharePoint</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;I have seen this query in communities to hide the Quick Launch for a user group / particular audience. Most of the SharePoint developers know that Content Editor Web Part can be used to hide the Quick Launch bar.&lt;br /&gt;&lt;br /&gt;To achieve the same, add the CEWP to the page, where you do not want to display the Quick Launch. Open Source Editor of CEWP and add the following&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;color:#990000;"&gt;&amp;lt;style&amp;gt;&lt;br /&gt;.ms-quicklaunch&lt;br /&gt;{&lt;br /&gt;display:none;&lt;br /&gt;}&lt;br /&gt;.ms-navframe&lt;br /&gt;{&lt;br /&gt;display: none;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/style&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;color:#990000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;color:#990000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Once the above &amp;lt;style&amp;gt; has been added, go to Advance Setting, set “&lt;strong&gt;&lt;em&gt;Audience Targeting&lt;/em&gt;&lt;/strong&gt;”. Set the group/audience to which you do not want to display the Quick Launch bar.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SnG-JEfda8I/AAAAAAAAAYs/ppOcayue0oU/s1600-h/Target_Audience.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364277694208764866" style="WIDTH: 224px; CURSOR: hand; HEIGHT: 68px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SnG-JEfda8I/AAAAAAAAAYs/ppOcayue0oU/s400/Target_Audience.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;I have set the “&lt;em&gt;Visitors&lt;/em&gt;” group in Audience Targeting. This setting will not allow the “&lt;em&gt;Visitors&lt;/em&gt;” to see the Quick Launch bar. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt; &lt;/div&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;I have a &lt;em&gt;moss_user1&lt;/em&gt; in Visitors Group and &lt;em&gt;moss_user2&lt;/em&gt; in Members Group.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SnG-JL9o8II/AAAAAAAAAYk/-bnKKwECnVo/s1600-h/Peopl_Group.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364277696214397058" style="WIDTH: 378px; CURSOR: hand; HEIGHT: 348px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SnG-JL9o8II/AAAAAAAAAYk/-bnKKwECnVo/s400/Peopl_Group.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;The below screen hides the Quick Launch for moss_user1 (Visitors Group)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnG-I1s7RRI/AAAAAAAAAYc/zeTCn3LbXAY/s1600-h/Login_Visitors_Grp.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364277690238715154" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 149px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SnG-I1s7RRI/AAAAAAAAAYc/zeTCn3LbXAY/s400/Login_Visitors_Grp.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;See the following screen, which shows the Quick Launch for &lt;em&gt;moss_user2&lt;/em&gt; (Members Group)&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SnG-IsnVLeI/AAAAAAAAAYU/iexbdYLlFZU/s1600-h/Login_Members_Grp.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5364277687799328226" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 189px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SnG-IsnVLeI/AAAAAAAAAYU/iexbdYLlFZU/s400/Login_Members_Grp.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;This approach will work for a single page, if you want the same to apply for all pages then add the CEWP to the master page with the above specified settings.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-1315552429839164797?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/1315552429839164797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=1315552429839164797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/1315552429839164797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/1315552429839164797'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/07/i-have-seen-this-query-in-communities.html' title='Audience Targeting for Quick Launch using CEWP in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_x6pT7hIsR1A/SnG-JEfda8I/AAAAAAAAAYs/ppOcayue0oU/s72-c/Target_Audience.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-422126995971277412</id><published>2009-07-30T03:27:00.001-07:00</published><updated>2009-07-30T03:37:55.848-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Object Model'/><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippet'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SharePoint Custom Search using FullTextSqlQuery – Format Hit Highlighted Summary</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;SharePoint search uses “&lt;strong&gt;&lt;em&gt;HitHighlightedSummary&lt;/em&gt;&lt;/strong&gt; “column for highlighting the search text in result summary. Querying the HitHighlightedSummary column using &lt;strong&gt;&lt;em&gt;FullTextSqlQuery&lt;/em&gt;&lt;/strong&gt; returns the data that contains hit highlights that are surrounded with tags like &amp;lt;c0&amp;gt;…&amp;lt;/c0&amp;gt;&lt;br /&gt;&lt;br /&gt;This hit-highlight can be easily customized in OOB search core result web part by customizing the xsl. If it is a custom web part and using FullTextSqlQuery then we need to write piece of code to format hit-highlights.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#660000;"&gt;public static string FormatHitHighlightedSummary(object text, string highlightedTag)&lt;br /&gt;{&lt;br /&gt;return Regex.Replace(Regex.Replace(text.ToString(), @"&amp;lt;c\d&amp;gt;", string.Format("&amp;lt;{0}&amp;gt;", highlightedTag), RegexOptions.IgnoreCase), @"&amp;lt;/c\d&amp;gt;", string.Format("&amp;lt;/{0}&amp;gt;", highlightedTag), RegexOptions.IgnoreCase);&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;While binding the Highlighted Summary, use the above created method as shown below&lt;br /&gt;&amp;lt;%# FormatHitHighlightedSummary(Eval("HitHighlightedSummary"), "i")%&amp;gt;&lt;br /&gt;&lt;br /&gt;I’ve used “Italics - &amp;lt;i&amp;gt;” to Highlight the search text… Use this method to format highlighted summary depends on your requirement.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-422126995971277412?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/422126995971277412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=422126995971277412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/422126995971277412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/422126995971277412'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/07/sharepoint-custom-search-using.html' title='SharePoint Custom Search using FullTextSqlQuery – Format Hit Highlighted Summary'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-7349666544741731651</id><published>2009-07-29T05:11:00.000-07:00</published><updated>2009-07-29T05:16:18.746-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Designer'/><category scheme='http://www.blogger.com/atom/ns#' term='Feature'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SharePoint Custom Page Layout – Web Parts getting added twice</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;I have used SharePoint Designer to create a custom page layout and added few custom web parts (drag-drop using SPD).&lt;br /&gt;&lt;br /&gt;The Page Layout has been deployed using a Feature. After deployment, The Page Layout has web parts as expected and the issue is, when a page is created using the custom Page Layout, each web part is added twice.&lt;br /&gt;&lt;br /&gt;I have tried different approaches to remove the web parts unsuccessfully. Finally removed all web parts (which I have added using SharePoint Designer) and used “&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd585727(office.11).aspx"&gt;&lt;span style="font-family:times new roman;"&gt;AllUsersWebPart&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;” element to add custom web parts in Feature. It worked like a charm!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-7349666544741731651?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/7349666544741731651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=7349666544741731651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/7349666544741731651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/7349666544741731651'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/07/sharepoint-custom-page-layout-web-parts.html' title='SharePoint Custom Page Layout – Web Parts getting added twice'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6524623410267402795</id><published>2009-07-27T23:41:00.000-07:00</published><updated>2009-07-28T00:00:23.846-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Designer'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Tools'/><title type='text'>Useful Tools for SharePoint</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;The following are the tools which are very frequently used in SharePoint Projects.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;u&gt;SharePoint Designer&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;SharePoint Designer is a WYSIWYG HTML editor and web design application from Microsoft exclusively for SharePoint sites.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Download link: &lt;a href="http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42&amp;amp;displaylang=en"&gt;http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;U2U CAML Builder&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool for creating and executing CAML queries&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Download link: &lt;a href="http://www.u2u.be/res/Tools/CamlQueryBuilder.aspx"&gt;http://www.u2u.be/res/Tools/CamlQueryBuilder.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;SP Dispose Check&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool for writing safe code using SharePoint Object Model to prevent memory leaks&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Download link: &lt;a href="http://code.msdn.microsoft.com/SPDisposeCheck"&gt;http://code.msdn.microsoft.com/SPDisposeCheck&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;WSPBuilder&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool for creating SharePoint Solution Package (WSP) WSS 3.0 &amp;amp; MOSS 2007&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.codeplex.com/wspbuilder"&gt;http://www.codeplex.com/wspbuilder&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;STSDEV&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool for creating easy deployable solution&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.codeplex.com/stsdev"&gt;http://www.codeplex.com/stsdev&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;SharePoint Manager 2007&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It a SharePoint object model explorer tool, enables you to browse every site on the local farm and view every property.&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.codeplex.com/spm"&gt;http://www.codeplex.com/spm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;WSS/MOSS Log file reader&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool to View, search and filter SharePoint ULS log files directly from within Central Administration.&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.codeplex.com/wssmosslogfilereader"&gt;http://www.codeplex.com/wssmosslogfilereader&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;SharePoint Logging Spy&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool to allow real time diagnostics of multiple servers in a SharePoint&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.codeplex.com/sharepointloggingspy"&gt;http://www.codeplex.com/sharepointloggingspy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;SharePoint Test Data Population Tool&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool for capacity planning and performance testing that populates data for testing SharePoint deployments&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.codeplex.com/sptdatapop"&gt;http://www.codeplex.com/sptdatapop&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;AD Explorer&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It is an advanced Active Directory (AD) viewer and editor which allows manipulation of AD objects&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;IE Developer Toolbar&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool that aims to aid in design and debugging of web pages&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Note&lt;/em&gt;: “Internet Explorer 8” includes the features of IE Developer Toolbar built in, instead of a separate product; known as Developer Tools rather than Developer Toolbar.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Reflector&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool for disassemble Assemblies&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.red-gate.com/products/reflector"&gt;http://www.red-gate.com/products/reflector&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;GhostDoc&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool that helps developers writing XML documentation comments&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.roland-weigelt.de/ghostdoc"&gt;http://www.roland-weigelt.de/ghostdoc&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Resource Refactoring&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A tool to extract hard coded strings from the code to resource files&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.codeplex.com/ResourceRefactoring"&gt;http://www.codeplex.com/ResourceRefactoring&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Fiddler&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet.&lt;br /&gt;&lt;br /&gt;Download link: &lt;a href="http://www.fiddlertool.com/"&gt;http://www.fiddlertool.com/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6524623410267402795?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6524623410267402795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6524623410267402795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6524623410267402795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6524623410267402795'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/07/useful-tools-for-sharepoint.html' title='Useful Tools for SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6365893983810629285</id><published>2009-03-28T09:33:00.000-07:00</published><updated>2009-03-28T09:39:51.933-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel Services'/><title type='text'>SharePoint Excel Services – Session Management</title><content type='html'>A session will be generated whenever a user views a workbook in browser using Excel Services. The session settings for excel services can be configured in &lt;em&gt;&lt;strong&gt;SSP&lt;/strong&gt;&lt;/em&gt;. To configure these settings, navigate to SSP site and click on “&lt;em&gt;Edit Excel Services Settings&lt;/em&gt;” from “&lt;em&gt;Excel Services Settings&lt;/em&gt;” section.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/Sc5R_ptsftI/AAAAAAAAAWk/ajYTTF8Irn0/s1600-h/ExcelSvcs_Session.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318278363942256338" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 71px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/Sc5R_ptsftI/AAAAAAAAAWk/ajYTTF8Irn0/s400/ExcelSvcs_Session.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The default session per user is 25. You can even use “&lt;em&gt;STSADM&lt;/em&gt;” command line utility to configure the Excel Services Session management setting.&lt;br /&gt;&lt;br /&gt;STSADM.EXE –o set-ecssessionmanagement –ssp mysharedservice&lt;br /&gt;                                -maxsessionperuser 40&lt;br /&gt;&lt;br /&gt;This will increase the session per user to 40.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6365893983810629285?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6365893983810629285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6365893983810629285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6365893983810629285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6365893983810629285'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/03/sharepoint-excel-services-session.html' title='SharePoint Excel Services – Session Management'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/Sc5R_ptsftI/AAAAAAAAAWk/ajYTTF8Irn0/s72-c/ExcelSvcs_Session.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-5122111129314344828</id><published>2009-03-27T09:07:00.000-07:00</published><updated>2009-03-27T09:14:45.639-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel Services'/><title type='text'>Excel Web Access - Unable to Load Workbook</title><content type='html'>The Excel web access will throw the following error when the associated workbook is created using Office Excel 2003 / lower.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;The workbook that you selected cannot be opened. &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;The workbook may be in an unsupported file format, or it may be corrupt.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/Scz6lcW8QeI/AAAAAAAAAWc/0vVZfQg4LlQ/s1600-h/Error.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317900781192233442" style="WIDTH: 365px; CURSOR: hand; HEIGHT: 262px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/Scz6lcW8QeI/AAAAAAAAAWc/0vVZfQg4LlQ/s400/Error.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Use Office Excel 2007 to create the workbook and save it to your library (trusted location) and now the Excel Web Access web part will display the workbook.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-5122111129314344828?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/5122111129314344828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=5122111129314344828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5122111129314344828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5122111129314344828'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/03/excel-web-access-unable-to-load.html' title='Excel Web Access - Unable to Load Workbook'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/Scz6lcW8QeI/AAAAAAAAAWc/0vVZfQg4LlQ/s72-c/Error.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-8792421100212885700</id><published>2009-02-28T08:02:00.000-08:00</published><updated>2009-02-28T08:19:20.013-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebParts'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Site Aggregator Web Part of SharePoint</title><content type='html'>Site Aggregator is a simple and straight-forward web part, can be used to display sites (specific page in a site) of our choice. &lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;The following are the important properties of Site Aggregator WebPart.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Properties of Site Aggregator&lt;/strong&gt;&lt;/div&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;1. Number of characters before ellipses&lt;br /&gt;&lt;/strong&gt;&lt;/em&gt;Sets the number of characters that should be rendered in a tab before truncating and showing ellipses&lt;/p&gt;&lt;p&gt;Default value of this property is 30&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;2. Number of tabs to show before more dropdown&lt;/em&gt;&lt;br /&gt;&lt;/strong&gt;Sets the number of tabs that should be rendered before additional items are put in the more dropdown&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Default value of this property is 5&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;strong&gt;3. URL&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;This URL fragment will be appended to the site URL when a tab is selected&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Default value of this property is MyInfo.aspx (_layouts/MyInfo.aspx).&lt;br /&gt;&lt;br /&gt;I have used “&lt;em&gt;Site Content and Structure&lt;/em&gt;” page (_layouts/sitemanager.aspx) page. This will help managers to easily navigate and review “&lt;em&gt;Pending Approvals&lt;/em&gt;” or other task of all sites from a same page.&lt;br /&gt;&lt;br /&gt;Add the “&lt;em&gt;Site Aggregator&lt;/em&gt;” to your page and set the Target Audience property to Managers or the respective approver group, so that only managers/approvers can see this web part.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SaliRJhKlCI/AAAAAAAAAWU/NpBPNPXqk3Y/s1600-h/SA_Title.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5307881682585162786" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 141px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SaliRJhKlCI/AAAAAAAAAWU/NpBPNPXqk3Y/s400/SA_Title.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Use “&lt;em&gt;New Site Tab&lt;/em&gt;” from Sites menu to create a new Site Tab. &lt;/div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SaliQqU5i-I/AAAAAAAAAV8/R4nDTgwxtd0/s1600-h/SA_NewTab.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5307881674212215778" style="WIDTH: 327px; CURSOR: hand; HEIGHT: 227px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SaliQqU5i-I/AAAAAAAAAV8/R4nDTgwxtd0/s400/SA_NewTab.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Set the URL property to &lt;em&gt;“_layouts/sitemanager.aspx”&lt;/em&gt;. See the below image for the properties of Site Aggregator.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SaliQ6qh-sI/AAAAAAAAAWM/63-8y5ffv7E/s1600-h/SA_Props.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5307881678597913282" style="WIDTH: 239px; CURSOR: hand; HEIGHT: 306px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SaliQ6qh-sI/AAAAAAAAAWM/63-8y5ffv7E/s400/SA_Props.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;After adding all the sites, select the “&lt;em&gt;Pending Approval&lt;/em&gt;” view to see all the approvals which are pending for the selected site.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaliQtWTs-I/AAAAAAAAAWE/VznNKkSmBs4/s1600-h/SA_Pedding_Approval.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5307881675023430626" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 212px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaliQtWTs-I/AAAAAAAAAWE/VznNKkSmBs4/s400/SA_Pedding_Approval.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Managers / Approvers can manage all approvals or view other details in same page.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-8792421100212885700?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/8792421100212885700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=8792421100212885700' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8792421100212885700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8792421100212885700'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/02/site-aggregator-web-part-of-sharepoint.html' title='Site Aggregator Web Part of SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_x6pT7hIsR1A/SaliRJhKlCI/AAAAAAAAAWU/NpBPNPXqk3Y/s72-c/SA_Title.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-3639547255107086627</id><published>2009-02-21T08:45:00.000-08:00</published><updated>2009-02-21T09:09:08.689-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Designer'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>Customizing SharePoint Blog Posts Web Part</title><content type='html'>&lt;strong&gt;Description&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;The OOTB posts web part displays complete posts in Home Page (default.aspx) of Blog Site. In this post, the Posts web part is customized to display only 250 characters from each post and a “&lt;em&gt;more&lt;/em&gt;” link to the actual blog post instead of displaying complete Blog post in Home Page.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Before Customization&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Posts “&lt;em&gt;ListViewWebPart&lt;/em&gt;” displays complete posts in home page. &lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SaAx6VMUhwI/AAAAAAAAAVs/PC0blX0fI4w/s1600-h/ListView_Posts.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305295239233439490" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 326px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SaAx6VMUhwI/AAAAAAAAAVs/PC0blX0fI4w/s400/ListView_Posts.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;After Customization&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;See the below screen, after the customization of Posts Web Part using SharePoint Designer.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAxnm0UTmI/AAAAAAAAAVM/7LrRyMs4b_Y/s1600-h/Customized_Posts.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305294917547085410" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 258px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAxnm0UTmI/AAAAAAAAAVM/7LrRyMs4b_Y/s400/Customized_Posts.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc222133095"&gt;&lt;strong&gt;Approach&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Below the approach followed to display 250 characters blog post summary.&lt;br /&gt;&lt;br /&gt;1) Convert Posts web part to XSD Data View using SharePoint Designer (SPD)&lt;br /&gt;2) customize the XSL to display 250 characters summary and a “&lt;em&gt;more&lt;/em&gt;” link to the actual blog post&lt;br /&gt;3) Create a new Web Part from Customized Post web part and use it in other blog site&lt;br /&gt;&lt;br /&gt;The following explains in-detail about the approach.&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Creating XSD Data View&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use SharePoint Designer to convert the default list view web part (Posts) to XSD Data View. Open the Blog’s Home Page in your SharePoint Designer. Once the page is opened Right Click the List View Posts web part and select “&lt;em&gt;Convert to XSD Data View&lt;/em&gt;”. See the below screen.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SaAxnaMrD8I/AAAAAAAAAVE/_O5MlQQ9JV4/s1600-h/Convert_XSLT.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305294914159579074" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SaAxnaMrD8I/AAAAAAAAAVE/_O5MlQQ9JV4/s400/Convert_XSLT.JPG" border="0" /&gt;&lt;/a&gt; &lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a name="_Toc222133097"&gt;&lt;strong&gt;Customizing the XSD Data View&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Body column of the Posts list holds the complete summary text. The DataFormWebPart generated by SPD points the list by using the ListID. ListID is nothing but the GUID, which will change server to server. so use ListName instead of ListID to use this web part in blog site of any server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;Parameters Generated by SPD&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SaAx6RcrytI/AAAAAAAAAVk/lTpMX5jPOLY/s1600-h/ListPraram_B4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305295238228331218" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 131px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SaAx6RcrytI/AAAAAAAAAVk/lTpMX5jPOLY/s400/ListPraram_B4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;After Change&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAx58VL8PI/AAAAAAAAAVc/1PxPGT8cPgc/s1600-h/ListPraram_After.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305295232559739122" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 155px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAx58VL8PI/AAAAAAAAAVc/1PxPGT8cPgc/s400/ListPraram_After.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;The “&lt;em&gt;removeHtmlTags&lt;/em&gt;” template of XSL used to strip the HTML text from the summary text. See the below screens which shows the XSL customizations.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;“&lt;em&gt;removeHtmlTags&lt;/em&gt;” Template Definition&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SaAx6iKxCTI/AAAAAAAAAV0/sxVQquDE7E4/s1600-h/removeHTMLTags.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305295242716580146" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 170px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SaAx6iKxCTI/AAAAAAAAAV0/sxVQquDE7E4/s400/removeHTMLTags.JPG" border="0" /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Call “&lt;em&gt;removeHtmlTags&lt;/em&gt;” for getting Pure Text&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Replace the following section&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAxnG_2QlI/AAAAAAAAAU0/NHxL1-FarAc/s1600-h/BodyColB4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305294909005513298" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 65px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAxnG_2QlI/AAAAAAAAAU0/NHxL1-FarAc/s400/BodyColB4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;by&lt;/div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SaAxnG111-I/AAAAAAAAAU8/tBCI3Qod7yY/s1600-h/call_removeHTMLTags.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305294908963543010" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 171px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SaAxnG111-I/AAAAAAAAAU8/tBCI3Qod7yY/s400/call_removeHTMLTags.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Now the customizations have been done. Export posts web part and use it in other Blog sites by uploading it to Web Part Gallery.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAxn5QnmdI/AAAAAAAAAVU/7EYlPedTpRI/s1600-h/Export.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5305294922497628626" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 252px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SaAxn5QnmdI/AAAAAAAAAVU/7EYlPedTpRI/s400/Export.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Reference:&lt;br /&gt;&lt;/strong&gt;Stripping HTML&lt;br /&gt;&lt;a href="http://blog.thekid.me.uk/archive/2007/05/18/stripping-html-tags-when-using-xslt.aspx"&gt;http://blog.thekid.me.uk/archive/2007/05/18/stripping-html-tags-when-using-xslt.aspx&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-3639547255107086627?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/3639547255107086627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=3639547255107086627' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/3639547255107086627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/3639547255107086627'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/02/customizing-sharepoint-blog-posts-web.html' title='Customizing SharePoint Blog Posts Web Part'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/SaAx6VMUhwI/AAAAAAAAAVs/PC0blX0fI4w/s72-c/ListView_Posts.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-3836393803844593341</id><published>2009-02-17T07:51:00.000-08:00</published><updated>2009-02-21T09:07:42.117-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Backup Restore'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Scheduling Periodic/Delayed SharePoint-STSADM Backup using Windows Task Scheduler</title><content type='html'>STSADM can be used effectively with Windows Task Scheduler to schedule periodic/delayed backups.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STSADM&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;STSADM is the powerful built-in command line tool to backup/restore a SharePoint server farm or web application or site collection or a database. This tool has very simple, faster and easy to use commands for backup/restore SharePoint data.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STSADM backup syntax&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;For site collection backup&lt;br /&gt;&lt;br /&gt;&lt;em&gt;stsadm -o backup&lt;br /&gt;-url &lt;url&gt;&lt;br /&gt;-filename &lt;file&gt;&lt;br /&gt;[-overwrite]&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;For catastrophic backup&lt;br /&gt;&lt;br /&gt;&lt;em&gt;stsadm -o backup&lt;br /&gt;-directory &lt;unc&gt;&lt;br /&gt;-backupmethod &lt;full&gt;&lt;br /&gt;[-item] &lt;created&gt;&lt;br /&gt;[-percentage] &lt;integer&gt;&lt;br /&gt;[-backupthreads] &lt;integer&gt;&lt;br /&gt;[-showtree]&lt;br /&gt;[-quiet]&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Please refer the following to get more details about the backup syntax&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc263441.aspx"&gt;http://technet.microsoft.com/en-us/library/cc263441.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Locking Site&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Backup process will take longer time for large site collections. If any changes made to the site collection during the backup process, the backup can become corrupted. The preferred approach would be locking the site collection using Setsitelock command of STSADM till the backup process complete. Once the backup process completes, reset the site collection to its default state.&lt;br /&gt;&lt;br /&gt;Please refer the following for more information on Setsitelock&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc262811.aspx"&gt;http://technet.microsoft.com/en-us/library/cc262811.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To get the current access level of the site&lt;br /&gt;&lt;em&gt;stsadm -o getsitelock -url &amp;lt;URL of Site Collection&amp;gt; &lt;url&gt;&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;To lock the site/changing the site to read-only.&lt;br /&gt;&lt;em&gt;stsadm -o setsitelock -url &amp;lt;URL of Site Collection&amp;gt; -lock readonly&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;The following steps needs to be done for scheduling a periodic/delayed backup.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Batch File&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Create a batch file, use Notepad to enter the below script and save as “Backup_Script.bat”.&lt;br /&gt;This script creates daily backup of a site collection. A new backup file will be created each day and the file name is auto generated concatenating the current system date.&lt;br /&gt;&lt;br /&gt;The script does the following&lt;br /&gt;&lt;br /&gt;1) Determine the lock status&lt;br /&gt;2) Locks the site collection&lt;br /&gt;3) Creates a file name using current date&lt;br /&gt;4) Creates backup&lt;br /&gt;5) Unlock the site collection&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Backup Script&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#663333;"&gt;@echo off&lt;br /&gt;@echo --------------------------------------------------------&lt;br /&gt;@echo backing up site collection &amp;lt;URL of Site Collection&amp;gt;&lt;url&gt;&lt;br /&gt;@echo --------------------------------------------------------&lt;br /&gt;cd \Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&lt;br /&gt;@echo locking site collection before the backup process starts&lt;br /&gt;@echo off&lt;br /&gt;stsadm -o getsitelock -url &amp;lt;URL of Site Collection&amp;gt;&lt;url&gt;&lt;br /&gt;stsadm -o setsitelock -url &amp;lt;URL of Site Collection&amp;gt; &lt;url&gt;-lock readonly&lt;br /&gt;@echo Site locked&lt;br /&gt;&lt;br /&gt;@Echo Generating File Name using current date&lt;br /&gt;@For /F "tokens=1,2,3 delims=/ " %%A in ('Date /t') do @(&lt;br /&gt;Set Day=%%A&lt;br /&gt;Set Month=%%B&lt;br /&gt;Set Year=%%C&lt;br /&gt;Set All=%%C%%B%%A&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;@echo off&lt;br /&gt;stsadm -o backup -url &amp;lt;URL of Site Collection&amp;gt; &lt;url&gt;-filename "C:\Backup\Backup_%All%.bak"&lt;br /&gt;@echo backup completed&lt;br /&gt;@echo off&lt;br /&gt;stsadm -o setsitelock -url &amp;lt;URL of Site Collection&amp;gt; &lt;url&gt;-lock none&lt;br /&gt;@echo Site lock removed&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;Note: Replace “&amp;lt;URL of Site Collection&amp;gt;&lt;url&gt;” with your site collection URL. Also I’ve used a folder named “C:\Backup” change it to your respective folder.Windows Scheduled Tasks&lt;br /&gt;&lt;br /&gt;Create a new Windows Scheduled Task by navigating Start -&gt; Control Panel -&gt; Scheduled Tasks -&gt; Add Scheduled Task. The following screen shows the Windows Scheduled Task Wizard.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SZrefscCIwI/AAAAAAAAAUU/iW5Hlv5pxBg/s1600-h/Task_Scheduler1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5303796147268231938" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 293px" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SZrefscCIwI/AAAAAAAAAUU/iW5Hlv5pxBg/s400/Task_Scheduler1.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click the Browse button and select the backup batch file (Backup_Script.bat). Click on Next to schedule the backup. The screen below shows the available options for scheduling a task.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SZregOFh01I/AAAAAAAAAUc/ttM968gCWQ8/s1600-h/Task_Scheduler2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5303796156300645202" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 295px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SZregOFh01I/AAAAAAAAAUc/ttM968gCWQ8/s400/Task_Scheduler2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select the convenient time to take the backup. It is better to choose low traffic hours for backing up a site.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SZregYElvPI/AAAAAAAAAUk/f5fleL5mz_o/s1600-h/Task_Scheduler3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5303796158981061874" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 299px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SZregYElvPI/AAAAAAAAAUk/f5fleL5mz_o/s400/Task_Scheduler3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Once the time schedule has been selected, click on Next and supply the credentials to run the task.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SZrego_FKfI/AAAAAAAAAUs/uY2kc_Njc9w/s1600-h/Task_Scheduler4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5303796163521358322" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 294px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SZrego_FKfI/AAAAAAAAAUs/uY2kc_Njc9w/s400/Task_Scheduler4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The account which is used for executing the task should have the Administrative permission. Click Finish to complete the wizard. Now a daily backup has been scheduled, the Task Scheduler will execute the batch file daily at specified time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-3836393803844593341?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/3836393803844593341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=3836393803844593341' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/3836393803844593341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/3836393803844593341'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/02/scheduling-periodicdelayed-sharepoint.html' title='Scheduling Periodic/Delayed SharePoint-STSADM Backup using Windows Task Scheduler'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_x6pT7hIsR1A/SZrefscCIwI/AAAAAAAAAUU/iW5Hlv5pxBg/s72-c/Task_Scheduler1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6130995395510435004</id><published>2009-01-10T04:40:00.000-08:00</published><updated>2009-01-10T05:05:52.979-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Site templates not available in SharePoint Publishing Site</title><content type='html'>Many of us would have seen this question in communities. When you create a sub-site from publishing root site, by default the site template list will show “&lt;strong&gt;&lt;em&gt;Publishing site with workflow&lt;/em&gt;&lt;/strong&gt;” template. &lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SWiYiNJ8USI/AAAAAAAAAUM/UfDdNrv0zic/s1600-h/Publishing_Create_Site.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5289645475760984354" style="WIDTH: 378px; CURSOR: hand; HEIGHT: 253px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SWiYiNJ8USI/AAAAAAAAAUM/UfDdNrv0zic/s400/Publishing_Create_Site.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;It doesn’t mean that you can create only publishing site within a publishing root site. To add other site templates, navigate to &lt;em&gt;Site Actions --&gt; Site Settings --&gt; Modify All Site Settings&lt;/em&gt;. Click on &lt;strong&gt;&lt;em&gt;“Page layouts and site templates”&lt;/em&gt;&lt;/strong&gt; from &lt;strong&gt;&lt;em&gt;“Look and Feel”&lt;/em&gt;&lt;/strong&gt; section.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SWiYiN-cqQI/AAAAAAAAAUE/skryOgD7-44/s1600-h/PageLayouts_SiteTemp.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5289645475981207810" style="WIDTH: 162px; CURSOR: hand; HEIGHT: 248px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SWiYiN-cqQI/AAAAAAAAAUE/skryOgD7-44/s400/PageLayouts_SiteTemp.JPG" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;Add whatever site templates you are interested in to create sub-sites from publishing site. I have added a “&lt;strong&gt;Blog&lt;/strong&gt;” template.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SWiYh-gSuEI/AAAAAAAAAT0/ruuO2isNe4o/s1600-h/Add_SiteTemplates.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5289645471828195394" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 244px" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SWiYh-gSuEI/AAAAAAAAAT0/ruuO2isNe4o/s400/Add_SiteTemplates.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Now navigate to &lt;em&gt;Site Actions --&gt; Site Settings --&gt; Create Site&lt;/em&gt;, notice that the newly added site template is available for you.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SWiYh8mNJII/AAAAAAAAAT8/xDjf-jIkFaw/s1600-h/Newly_Added_Blog_Template.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5289645471316124802" style="WIDTH: 377px; CURSOR: hand; HEIGHT: 254px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SWiYh8mNJII/AAAAAAAAAT8/xDjf-jIkFaw/s400/Newly_Added_Blog_Template.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this will be helpful to someone.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6130995395510435004?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6130995395510435004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6130995395510435004' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6130995395510435004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6130995395510435004'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/01/site-templates-not-available-in.html' title='Site templates not available in SharePoint Publishing Site'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/SWiYiNJ8USI/AAAAAAAAAUM/UfDdNrv0zic/s72-c/Publishing_Create_Site.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-307313092381178571</id><published>2009-01-02T21:40:00.000-08:00</published><updated>2009-01-02T21:51:43.979-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Object Model'/><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippet'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Programmatically adding web part to a SharePoint page from web part gallery</title><content type='html'>I had a requirement to add a web part to &lt;em&gt;&lt;strong&gt;default.aspx&lt;/strong&gt;&lt;/em&gt; page from Web part gallery. I have used a Feature to do the same. Please find the code below which is written in “&lt;strong&gt;&lt;em&gt;Feature Activated&lt;/em&gt;&lt;/strong&gt;” event.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Feature Activated&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SV77wl0MOLI/AAAAAAAAATk/XGrTvX_9uTo/s1600-h/Feature_Activated.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5286939824782850226" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 169px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SV77wl0MOLI/AAAAAAAAATk/XGrTvX_9uTo/s400/Feature_Activated.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Add WebPart&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SV77wczBoaI/AAAAAAAAATc/-vGILUY0vzA/s1600-h/Add_WebPart.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5286939822362042786" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 368px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SV77wczBoaI/AAAAAAAAATc/-vGILUY0vzA/s400/Add_WebPart.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Get WebPart XML&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SV77w11eQxI/AAAAAAAAATs/5OkezZpKPXo/s1600-h/GetWPXML.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5286939829083194130" style="WIDTH: 290px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SV77w11eQxI/AAAAAAAAATs/5OkezZpKPXo/s400/GetWPXML.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope the code is straightforward to understand.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-307313092381178571?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/307313092381178571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=307313092381178571' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/307313092381178571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/307313092381178571'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/01/programmatically-adding-web-part-to.html' title='Programmatically adding web part to a SharePoint page from web part gallery'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/SV77wl0MOLI/AAAAAAAAATk/XGrTvX_9uTo/s72-c/Feature_Activated.JPG' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6307875910343025368</id><published>2009-01-01T04:49:00.000-08:00</published><updated>2009-01-01T05:07:20.344-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SharePoint Feature to add site columns</title><content type='html'>&lt;span &gt;This post explains adding new site column to a SharePoint site. The following simple steps needs to be done to add site columns to a site collection.&lt;br /&gt;&lt;br /&gt;1) Identify the Fields (Site Columns), type and its properties. Each Field will have properties like ID(GUID), Display Name, Required, etc.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span &gt;2) Create a XML file for adding the column information. Ex. &lt;strong&gt;“SiteColumns.xml”&lt;/strong&gt; - This file holds the metadata information related to site columns (Fields). This file information used in&lt;br /&gt;&amp;lt;ElementManifests&amp;gt; &lt;elementmanifests&gt;section of FEATURE.xml.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span &gt;3) Create a FEATURE to add these site columns to a site collection.&lt;br /&gt;See the following sample screens to get the better understanding&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SiteColumns.xml&lt;/strong&gt;&lt;br /&gt;&lt;elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt;&lt;field id="{246C6CAE-D801-11DD-A840-DC8E55D89593}" displayname="About" type="HTML" richtext="TRUE" richtextmode="FullHtml" required="FALSE" group="Custom Column" staticname="About" name="About"&gt;&lt;/strong&gt;&lt;field id="{304952EE-D801-11DD-9B55-0C8F55D89593}" displayname="AboutImage" type="Image" richtext="TRUE" richtextmode="FullHtml" required="FALSE" group="Custom Column" staticname="AboutImage" name="AboutImage"&gt;&lt;/elements&gt;&lt;br /&gt;&lt;/span&gt;&lt;span &gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&amp;lt;Elements xmlns="http://schemas.microsoft.com/sharepoint/"&amp;gt;&lt;br /&gt;&amp;lt;Field Type="HTML"&lt;br /&gt;DisplayName="About"&lt;br /&gt;RichText="TRUE"&lt;br /&gt;RichTextMode="FullHtml"&lt;br /&gt;Required="FALSE"&lt;br /&gt;Group="Custom Column"&lt;br /&gt;ID="{246C6CAE-D801-11DD-A840-DC8E55D89593}"&lt;br /&gt;StaticName="About"&lt;br /&gt;Name="About" /&gt;&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;Field Type="Image"&lt;br /&gt;DisplayName="AboutImage"&lt;br /&gt;RichText="TRUE"&lt;br /&gt;RichTextMode="FullHtml"&lt;br /&gt;Required="FALSE"&lt;br /&gt;Group="Custom Column"&lt;br /&gt;ID="{304952EE-D801-11DD-9B55-0C8F55D89593}"&lt;br /&gt;StaticName="AboutImage"&lt;br /&gt;Name="AboutImage" /&amp;gt;&lt;br /&gt;&amp;lt;/Elements&amp;gt;&lt;/span&gt;&lt;/em&gt;&lt;span &gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;FEATURE.xml&lt;/strong&gt;&lt;br /&gt;&lt;feature id="873CDC1A-D801-11DD-B399-959255D89593" title="Add Site Columns Feature" description="This Feature adds Site Columns" xmlns="http://schemas.microsoft.com/sharepoint/" scope="Site" hidden="False"&gt;&lt;elementmanifests&gt;&lt;elementmanifest location="SiteColumns.xml"&gt;&lt;/elementmanifests&gt;&lt;/feature&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span &gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&amp;lt;Feature Id="873CDC1A-D801-11DD-B399-959255D89593"&lt;br /&gt;Title="Add Site Columns Feature"&lt;br /&gt;Description="This Feature adds Site Columns"&lt;br /&gt;Scope="Site"&lt;br /&gt;Hidden="False"&lt;br /&gt;xmlns="http://schemas.microsoft.com/sharepoint/"&amp;gt;&lt;br /&gt;&amp;lt;ElementManifests&amp;gt;&lt;br /&gt;&amp;lt;ElementManifest Location="SiteColumns.xml"/&amp;gt;&lt;br /&gt;&amp;lt;/ElementManifests&amp;gt;&lt;br /&gt;&amp;lt;/Feature&amp;gt;&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This post will also be helpful for the newbie’s to understand about Feature in SharePoint. &lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6307875910343025368?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6307875910343025368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6307875910343025368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6307875910343025368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6307875910343025368'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2009/01/sharepoint-feature-to-add-site-columns.html' title='SharePoint Feature to add site columns'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-316391494144696685</id><published>2008-12-05T06:45:00.000-08:00</published><updated>2009-01-01T05:10:41.524-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Object Model'/><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippet'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Code to remove Web part from a page in SharePoint</title><content type='html'>&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;Here the code snippet to remove Web Part from Web part zone of &lt;em&gt;default.aspx&lt;/em&gt; page. &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/STlDjGcX9pI/AAAAAAAAATU/kz-__xquHw0/s1600-h/Code_Remove_WP.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5276322708745352850" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 372px" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/STlDjGcX9pI/AAAAAAAAATU/kz-__xquHw0/s400/Code_Remove_WP.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Times New Roman;"&gt;The &lt;strong&gt;SPLimitedWebPartManager&lt;/strong&gt; provides a limited set of Web Part operations that can be performed in our object model.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-316391494144696685?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/316391494144696685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=316391494144696685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/316391494144696685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/316391494144696685'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/12/code-to-remove-web-part-from-page-in.html' title='Code to remove Web part from a page in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/STlDjGcX9pI/AAAAAAAAATU/kz-__xquHw0/s72-c/Code_Remove_WP.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-3560080001805425278</id><published>2008-09-19T07:57:00.000-07:00</published><updated>2008-09-19T08:07:26.437-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippet'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Code snippet to get all installed languages from sharepoint server Farm</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;I had a requirement to display all installed languages of a SharePoint server farm in a DropDownList. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Regional Settings of &lt;strong&gt;SPWeb&lt;/strong&gt; has a property named "&lt;strong&gt;SPWeb.RegionalSettings.InstalledLanguages&lt;/strong&gt;", which returns language collection of type&lt;br /&gt;"&lt;strong&gt;SPLanguageCollection&lt;/strong&gt;". The following are the properties of "&lt;strong&gt;SPLanguage&lt;/strong&gt;" instance.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SNO_Qi2LaqI/AAAAAAAAAOQ/XiL_1f9SvNE/s1600-h/SPLanguage.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5247748281769618082" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SNO_Qi2LaqI/AAAAAAAAAOQ/XiL_1f9SvNE/s400/SPLanguage.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Use the "&lt;strong&gt;Display Name&lt;/strong&gt;" property to get the language display name ex. English and "&lt;strong&gt;LCID&lt;/strong&gt;" property to get the locale ID ex. 1033(for English).&lt;br /&gt;See the below code snippet, which will be used to get the installed languages from a SharePoint server farm.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/SNO_QqIFUDI/AAAAAAAAAOY/pWrqIdiXblc/s1600-h/Code_Snippet.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5247748283723763762" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/SNO_QqIFUDI/AAAAAAAAAOY/pWrqIdiXblc/s400/Code_Snippet.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this will be helpful&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-3560080001805425278?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/3560080001805425278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=3560080001805425278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/3560080001805425278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/3560080001805425278'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/09/code-snippet-to-get-all-installed.html' title='Code snippet to get all installed languages from sharepoint server Farm'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/SNO_Qi2LaqI/AAAAAAAAAOQ/XiL_1f9SvNE/s72-c/SPLanguage.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-1320726902002186672</id><published>2008-07-17T02:49:00.000-07:00</published><updated>2008-07-17T03:01:36.271-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Object Model'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Programmatically uploading site templates to site template gallery</title><content type='html'>&lt;div&gt;I had a requirement to upload site templates to site collection’s site template gallery using SharePoint object model. See the code snippet below, which will be helpful to upload site templates to site template gallery.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp2.blogger.com/_x6pT7hIsR1A/SH8Wz6c6njI/AAAAAAAAANo/cFU_LDZAK_Y/s1600-h/Code.jpg"&gt;&lt;/a&gt;&lt;a href="http://bp0.blogger.com/_x6pT7hIsR1A/SH8YPeJyN_I/AAAAAAAAANw/LM3HYyenVeA/s1600-h/Code.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5223920746844272626" style="CURSOR: hand" alt="" src="http://bp0.blogger.com/_x6pT7hIsR1A/SH8YPeJyN_I/AAAAAAAAANw/LM3HYyenVeA/s400/Code.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This code uses a configuration file, which has a custom section called “SiteTemplatesSection”. This custom section holds the physical path of each site template.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-1320726902002186672?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/1320726902002186672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=1320726902002186672' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/1320726902002186672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/1320726902002186672'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/07/programmatically-uploading-site.html' title='Programmatically uploading site templates to site template gallery'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_x6pT7hIsR1A/SH8YPeJyN_I/AAAAAAAAANw/LM3HYyenVeA/s72-c/Code.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-8605532695850528914</id><published>2008-07-04T07:14:00.000-07:00</published><updated>2008-07-04T07:28:00.330-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Object Model'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Programmatically Creating Site Collection in SharePoint</title><content type='html'>&lt;div&gt;&lt;div&gt;It is possible to create site collections programmatically. The Site Collection creation can be accomplished in the following ways&lt;br /&gt;&lt;br /&gt;1) Using SharePoint Object Model&lt;br /&gt;2) Using Central Admin’s Admin Web Service&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Creation Site Collection using SharePoint Object Model&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;See the following code snippet, which uses SharePoint Object Model to create site collection. &lt;/div&gt;&lt;div&gt;&lt;br /&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;a href="http://bp3.blogger.com/_x6pT7hIsR1A/SG4yPTPWuJI/AAAAAAAAANQ/frwV2Hk6dVY/s1600-h/ObjModel_Code.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5219164256613087378" style="CURSOR: hand" alt="" src="http://bp3.blogger.com/_x6pT7hIsR1A/SG4yPTPWuJI/AAAAAAAAANQ/frwV2Hk6dVY/s400/ObjModel_Code.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Creating Site Collection using Admin Web Service&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;The Admin Web Service of Central Admin has the following web methods&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;a href="http://bp0.blogger.com/_x6pT7hIsR1A/SG4yfUszM5I/AAAAAAAAANY/NNTHu9nuwo0/s1600-h/Admin_ASMX.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5219164531882931090" style="CURSOR: hand" alt="" src="http://bp0.blogger.com/_x6pT7hIsR1A/SG4yfUszM5I/AAAAAAAAANY/NNTHu9nuwo0/s400/Admin_ASMX.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;The following code snippet uses “&lt;em&gt;CreateSite&lt;/em&gt;” web method to create a site collection.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;a href="http://bp2.blogger.com/_x6pT7hIsR1A/SG4yfTHFK3I/AAAAAAAAANg/asrKmDEcNA4/s1600-h/Admin_Code_Snippet.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5219164531456289650" style="CURSOR: hand" alt="" src="http://bp2.blogger.com/_x6pT7hIsR1A/SG4yfTHFK3I/AAAAAAAAANg/asrKmDEcNA4/s400/Admin_Code_Snippet.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;After the successful creation of site collection, this web method returns the URL of the newly created site.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-8605532695850528914?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/8605532695850528914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=8605532695850528914' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8605532695850528914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8605532695850528914'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/07/programmatically-creating-site.html' title='Programmatically Creating Site Collection in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_x6pT7hIsR1A/SG4yPTPWuJI/AAAAAAAAANQ/frwV2Hk6dVY/s72-c/ObjModel_Code.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-5010485365891043704</id><published>2008-05-29T08:55:00.000-07:00</published><updated>2008-07-17T23:52:05.629-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Object Model'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Programmatically adding data to SharePoint List’s Choice column</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;SharePoint has a column type called “CHOICE”. This column will be useful for presenting one of the field from the following&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;"&gt;Dropdown List&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:times new roman;"&gt;Radio Buttons&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:times new roman;"&gt;Check Boxes (To Select Multiple Items)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;Consider I’ve a list “&lt;em&gt;Resource List&lt;/em&gt;” with following columns&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;p&gt;&lt;strong&gt;Column Name ------ Type&lt;/strong&gt;&lt;br /&gt;Resource Name --&gt; Single Line of Text&lt;br /&gt;Languages Known --&gt; Choice (C#, VB.NET, Java, C, C++) – Multiselect&lt;/p&gt;&lt;p&gt;“&lt;em&gt;Languages Known&lt;/em&gt;” is the CHOICE field (Check Boxes), to select multiple languages known by the resource.When adding new items to the Resouce List, notice that multiple items selected for the ‘Languages Known’ CHOICE column will be seperated by semi colan(‘;’).&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/SD7Uun2Z5nI/AAAAAAAAAMI/Bdr2OHBkNKY/s1600-h/ResourceList_AddItem.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5205832116723115634" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/SD7Uun2Z5nI/AAAAAAAAAMI/Bdr2OHBkNKY/s400/ResourceList_AddItem.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;I had a requirement to add the list item by code. I have used “&lt;em&gt;ChoiceA;ChoiceB;..ChoiceN&lt;/em&gt;” for storing the ListItem’s multi-select CHOICE field. After adding ListItem by code, I have Edited the newly added item in the browser, but no check box has been selected for the item which was added by code.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Then after a little effort I found that the multi-select CHOICE data is stored as “&lt;em&gt;;#ChoiceA;#ChoiceB;#...;#&lt;/em&gt;”&lt;br /&gt;See the below code for adding listitem to Resource List.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/SD7UvH2Z5oI/AAAAAAAAAMQ/JLMUqQt_zAU/s1600-h/Code.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5205832125313050242" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/SD7UvH2Z5oI/AAAAAAAAAMQ/JLMUqQt_zAU/s400/Code.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Below screen shows the newly added Item in the edit mode&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/SD7UvX2Z5pI/AAAAAAAAAMY/TlDHZntJ2aM/s1600-h/EditItem.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5205832129608017554" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/SD7UvX2Z5pI/AAAAAAAAAMY/TlDHZntJ2aM/s400/EditItem.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-5010485365891043704?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/5010485365891043704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=5010485365891043704' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5010485365891043704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5010485365891043704'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/05/programatically-adding-data-to.html' title='Programmatically adding data to SharePoint List’s Choice column'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/SD7Uun2Z5nI/AAAAAAAAAMI/Bdr2OHBkNKY/s72-c/ResourceList_AddItem.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-5643581034349240166</id><published>2008-04-04T09:52:00.000-07:00</published><updated>2008-04-04T10:10:18.755-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Designer'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Page Hit Counter in SharePoint</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;You would have seen many sites displaying page hit counters. To display this in SharePoint page, insert the “Hit Counter” web component from SharePoint Designer.&lt;br /&gt;&lt;br /&gt;Open your site or your sites Master page to insert this component. For the demonstration purpose, I’ve use my default.aspx to insert the “&lt;em&gt;Hit Counter&lt;/em&gt;” component. Once the page is opened in SharePoint Designer, place the cursor where you want to insert the hit counter. Go to &lt;em&gt;Insert&lt;/em&gt; --&gt; &lt;em&gt;Web Component&lt;/em&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R_ZdOAeJLhI/AAAAAAAAAL4/XnWfWB-qY8g/s1600-h/Web+Component.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5185434516189687314" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/R_ZdOAeJLhI/AAAAAAAAAL4/XnWfWB-qY8g/s400/Web+Component.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Click on the Web Component, this will display the available web components. You can find different types of other components readily available.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNweJLgI/AAAAAAAAALw/bvsRLOgycew/s1600-h/Hit+Counter.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5185434511894720002" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNweJLgI/AAAAAAAAALw/bvsRLOgycew/s400/Hit+Counter.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click on the Hit Counter component, this will display different counter styles. Select any one style from the list. I have selected the below marked style.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNQeJLdI/AAAAAAAAALY/wsJynx1NyvE/s1600-h/Counter+Styles.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5185434503304785362" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNQeJLdI/AAAAAAAAALY/wsJynx1NyvE/s400/Counter+Styles.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click on “&lt;em&gt;Finish&lt;/em&gt;”, this will open the below Hit Counter Properties window.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNweJLfI/AAAAAAAAALo/7383frI16mw/s1600-h/Hit+Counter+Properties.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5185434511894719986" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNweJLfI/AAAAAAAAALo/7383frI16mw/s400/Hit+Counter+Properties.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can even create your own Hit Counter. Use “&lt;em&gt;Reset counter to&lt;/em&gt;” to reset the counter from a given number. To display fixed number of digits use “&lt;em&gt;Fixed number of digits&lt;/em&gt;” property. Click on “&lt;em&gt;Ok&lt;/em&gt;”, the hit counter will be inserted to your page. The below code will be inserted in your page to display the counter.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R_ZdTweJLiI/AAAAAAAAAMA/Rgfn7IeWx3g/s1600-h/Webbot+Source.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5185434614973935138" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R_ZdTweJLiI/AAAAAAAAAMA/Rgfn7IeWx3g/s400/Webbot+Source.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, preview your page from SharePoint Designer / a Web browser. You can see the Hit Counter incremented for each hit.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNgeJLeI/AAAAAAAAALg/XWnOnwOWtUE/s1600-h/Counter.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5185434507599752674" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R_ZdNgeJLeI/AAAAAAAAALg/XWnOnwOWtUE/s400/Counter.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can see the Hit Counter increments for each hit.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-5643581034349240166?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/5643581034349240166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=5643581034349240166' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5643581034349240166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5643581034349240166'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/04/page-hit-counter-in-sharepoint.html' title='Page Hit Counter in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_x6pT7hIsR1A/R_ZdOAeJLhI/AAAAAAAAAL4/XnWfWB-qY8g/s72-c/Web+Component.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-8828977820685872861</id><published>2008-03-04T07:19:00.000-08:00</published><updated>2008-04-04T10:04:51.767-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>Creating SharePoint List using Office Excel</title><content type='html'>I had a requirement to create SharePoint lists using Excel sheet data. Luckily I notice that there is an option in Office Excel to create SharePoint list using excel data. Below screen shows the “Employee” data. I have used Office Excel 2003 for publishing excel list to SharePoint.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81pTJk7i-I/AAAAAAAAAKQ/g0v-tvGBvQ4/s1600-h/1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173907324627815394" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81pTJk7i-I/AAAAAAAAAKQ/g0v-tvGBvQ4/s400/1.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;To create a SharePoint list, select the excel data then go to Data --&gt; List --&gt; Create List. This will create a List in Excel. If you are using Office Excel 2007 then use this &lt;a href="http://office.microsoft.com/en-us/excel/HA101314721033.aspx"&gt;reference&lt;/a&gt;.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R81pTpk7i_I/AAAAAAAAAKY/5Mwh0qzMN24/s1600-h/2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173907333217750002" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R81pTpk7i_I/AAAAAAAAAKY/5Mwh0qzMN24/s400/2.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Select the created list in Excel sheet and go to Data --&gt; List --&gt; Publish List. This will brings up a popup for publishing the created list to a SharePoint site.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81pUJk7jAI/AAAAAAAAAKg/WJbVezBUvbg/s1600-h/3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173907341807684610" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81pUJk7jAI/AAAAAAAAAKg/WJbVezBUvbg/s400/3.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Use this popup to input information like “Address” of the site, provide list a name and Description.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81pUJk7jBI/AAAAAAAAAKo/YhhPP-yTaDQ/s1600-h/4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173907341807684626" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81pUJk7jBI/AAAAAAAAAKo/YhhPP-yTaDQ/s400/4.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Click on Next, This will brings up the column and associated data type information. To publish excel data to a SharePoint list, Excel force columns to use certain types.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R81pUpk7jCI/AAAAAAAAAKw/jlM-mPuYxU4/s1600-h/5.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173907350397619234" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R81pUpk7jCI/AAAAAAAAAKw/jlM-mPuYxU4/s400/5.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Click Finish to publish list to SharePoint. &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81qRJk7jDI/AAAAAAAAAK4/GkCcdVUynTA/s1600-h/6.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173908389779704882" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R81qRJk7jDI/AAAAAAAAAK4/GkCcdVUynTA/s400/6.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Now, open the published site and add the newly created “Employee” list to the page. Below screen shows the Employee List which is created from Office Excel.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R81qRpk7jEI/AAAAAAAAALA/yAJxIG4d6XE/s1600-h/8.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173908398369639490" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R81qRpk7jEI/AAAAAAAAALA/yAJxIG4d6XE/s400/8.JPG" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;This approach will help to create SharePoint list from Office Excel with minimal effort.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-8828977820685872861?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/8828977820685872861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=8828977820685872861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8828977820685872861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8828977820685872861'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/03/creating-sharepoint-list-using-office.html' title='Creating SharePoint List using Office Excel'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/R81pTJk7i-I/AAAAAAAAAKQ/g0v-tvGBvQ4/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-4440607967061496724</id><published>2008-02-07T04:18:00.000-08:00</published><updated>2008-02-07T04:21:25.896-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Windows UI for STSADM</title><content type='html'>Those who have used SharePoint for developing applications, they might have used STSADM executable. Here is an interesting utility that gives a UI for STSADM. This utility is developed as a windows application. It has a dropdown that displays all the STSADM options. Once a specific option is selected from the dropdown, it displays textboxes for various parameters.&lt;br /&gt;&lt;br /&gt;See this &lt;a href="http://blogs.msdn.com/ronalus/archive/2007/01/04/stsadmwin-has-an-2007-version.aspx"&gt;post&lt;/a&gt; to download, to know more about STSADMWin utility.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-4440607967061496724?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/4440607967061496724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=4440607967061496724' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/4440607967061496724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/4440607967061496724'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/02/windows-ui-for-stsadm.html' title='Windows UI for STSADM'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-8357655976477033161</id><published>2008-01-18T02:29:00.000-08:00</published><updated>2008-01-18T02:34:51.082-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Displaying Pdf document in SharePoint Page</title><content type='html'>Pdf documents can be displayed in SharePoint site with the use of “&lt;em&gt;Content Editor Web part&lt;/em&gt;”. To know more about "&lt;em&gt;Content Editor Web part&lt;/em&gt;", I suggest you to read this &lt;a href="http://zabistop.blogspot.com/2007/11/inline-video-in-sharepoint.html"&gt;post&lt;/a&gt;, where you will get to know about playing a video in SharePoint site.&lt;br /&gt;&lt;br /&gt;Add a “&lt;em&gt;Content Editor Web part&lt;/em&gt;” to your SharePoint page, Click on the “&lt;em&gt;Open the Tool Pane&lt;/em&gt;”, click on “&lt;em&gt;Source Editor&lt;/em&gt;” to place the HTML source.&lt;br /&gt;Place the following piece of code in to the Source Editor&lt;br /&gt;&lt;br /&gt; &lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R5B_-2RCRWI/AAAAAAAAAH8/FJOKp3HeI1c/s1600-h/pdf3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5156762291034801506" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R5B_-2RCRWI/AAAAAAAAAH8/FJOKp3HeI1c/s400/pdf3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the above code, “&lt;em&gt;src&lt;/em&gt;” points to a source location, the location can be a HTTP or a UNC path. I’ve stored my Pdf document in my document library and used the Http location of my Pdf file. Also Set the Height and Width properties and click on “&lt;em&gt;Ok&lt;/em&gt;”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R5B_-2RCRXI/AAAAAAAAAIE/5aP8837MgII/s1600-h/pdf1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5156762291034801522" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R5B_-2RCRXI/AAAAAAAAAIE/5aP8837MgII/s400/pdf1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above image shows the embedded Pdf document to a SharePoint page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-8357655976477033161?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/8357655976477033161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=8357655976477033161' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8357655976477033161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8357655976477033161'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/01/displaying-pdf-document-in-sharepoint.html' title='Displaying Pdf document in SharePoint Page'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/R5B_-2RCRWI/AAAAAAAAAH8/FJOKp3HeI1c/s72-c/pdf3.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-7319031956602171896</id><published>2008-01-16T03:05:00.000-08:00</published><updated>2008-01-16T03:18:17.976-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Calculated column to display month name from a date</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;I was haing a requirement to display the month name from the selected date like January, February etc. I have created a calculated column and used a formula to display the month name.&lt;br /&gt;&lt;br /&gt;Create a custom SharePoint list and a date column, a calculated column to it and other columns to it. For the demonstration purpose, I have created a list “&lt;em&gt;Employee List&lt;/em&gt;”, with “&lt;em&gt;Emp ID&lt;/em&gt;”, “&lt;em&gt;Employee Name&lt;/em&gt;”, “&lt;em&gt;Joining Date&lt;/em&gt;”, and “&lt;em&gt;Month Calculated&lt;/em&gt;” columns. Here “&lt;em&gt;Month Calculated&lt;/em&gt;” is the Calculated Column. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R43l0mRCRSI/AAAAAAAAAHc/CjzfLyv2GEA/s1600-h/Cal1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5156029840197043490" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R43l0mRCRSI/AAAAAAAAAHc/CjzfLyv2GEA/s400/Cal1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Above image shows the column details of "&lt;em&gt;Employee List&lt;/em&gt;".&lt;br /&gt;&lt;br /&gt;In the Calculated Column, use the following formula to get the month name from the “Joining Date” column.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;=TEXT([Joining Date],"MMMM")&lt;/span&gt; -- To Display “&lt;em&gt;January&lt;/em&gt;”, “&lt;em&gt;February&lt;/em&gt;”, etc&lt;br /&gt;Or&lt;br /&gt;&lt;span style="color:#000099;"&gt;=TEXT([Joining Date],"MMM")&lt;/span&gt; -- To Display “&lt;em&gt;Jan&lt;/em&gt;”, “&lt;em&gt;Feb&lt;/em&gt;”, etc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R43l0mRCRTI/AAAAAAAAAHk/RDYDZu321uA/s1600-h/Cal2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5156029840197043506" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R43l0mRCRTI/AAAAAAAAAHk/RDYDZu321uA/s400/Cal2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Above image shows the “&lt;em&gt;Month Calculated&lt;/em&gt;” calculated column.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once the columns added to the List, Add new items by clicking “&lt;em&gt;New&lt;/em&gt;”.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R43l0mRCRUI/AAAAAAAAAHs/_SsGljSpVHY/s1600-h/Cal3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5156029840197043522" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R43l0mRCRUI/AAAAAAAAAHs/_SsGljSpVHY/s400/Cal3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After selecting the “&lt;em&gt;Joining Date&lt;/em&gt;” Click ok. Now the calculated column will display the month name for the selected “&lt;em&gt;Joining Date&lt;/em&gt;”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R43l02RCRVI/AAAAAAAAAH0/JBXrqhDOFhY/s1600-h/Cal4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5156029844492010834" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R43l02RCRVI/AAAAAAAAAH0/JBXrqhDOFhY/s400/Cal4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-7319031956602171896?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/7319031956602171896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=7319031956602171896' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/7319031956602171896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/7319031956602171896'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/01/calculated-column-to-display-month-name.html' title='Calculated column to display month name from a date'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/R43l0mRCRSI/AAAAAAAAAHc/CjzfLyv2GEA/s72-c/Cal1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6542341764337900981</id><published>2008-01-07T02:55:00.000-08:00</published><updated>2008-01-07T03:39:14.555-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Registering Assembly to GAC via Code</title><content type='html'>&lt;p&gt;&lt;strong&gt;Registering Assembly to GAC via Code&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;                As we know to register an assembly toGlobal Assembly Cache, the assembly must be strong named.  This strong name is used to prevent spoofing of your code. Use the “g&lt;em&gt;acutil.exe&lt;/em&gt;” to install the assembly to the &lt;em&gt;GAC&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;em&gt;gacutil /i  MyAssembly.dll&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The above command will installs the “&lt;em&gt;MyAssembly.dll&lt;/em&gt;” in to the &lt;em&gt;GAC&lt;/em&gt;.&lt;br /&gt;See the following code snippet to do the above stuff by &lt;em&gt;C#&lt;/em&gt; code.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color:#000099;"&gt;try&lt;br /&gt;&lt;/span&gt;{&lt;br /&gt;      &lt;span style="color:#000099;"&gt;string&lt;/span&gt; assemblyName = &lt;span style="color:#990000;"&gt;“MyAssembly.dll”&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;      &lt;span style="color:#339999;"&gt;ProcessStartInfo&lt;/span&gt; pStartInfo = &lt;span style="color:#000099;"&gt;new&lt;/span&gt; &lt;span style="color:#339999;"&gt;ProcessStartInfo()&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;      &lt;span style="color:#006600;"&gt;//specify gacutil.exe whith which to start the process&lt;/span&gt;&lt;br /&gt;      pStartInfo.FileName = &lt;span style="color:#990000;"&gt;"gacutil.exe";&lt;/span&gt;&lt;br /&gt;      pStartInfo.Arguments = &lt;span style="color:#000099;"&gt;string&lt;/span&gt;.Format&lt;span style="color:#990000;"&gt;("/i {0}"&lt;/span&gt;, assemblyName);&lt;br /&gt;      pStartInfo.UseShellExecute = &lt;span style="color:#000099;"&gt;false&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;      &lt;span style="color:#006600;"&gt;//start the process&lt;/span&gt;&lt;br /&gt;      &lt;span style="color:#339999;"&gt;Process&lt;/span&gt; process = &lt;span style="color:#339999;"&gt;Process&lt;/span&gt;.Start(pStartInfo);&lt;br /&gt;&lt;br /&gt;      &lt;span style="color:#006600;"&gt;//wait till the process completes&lt;/span&gt;&lt;br /&gt;      process.WaitForExit();&lt;br /&gt;}&lt;br /&gt;&lt;span style="color:#000099;"&gt;catch&lt;/span&gt; (&lt;span style="color:#339999;"&gt;Exception&lt;/span&gt; e)&lt;br /&gt;{&lt;br /&gt;      &lt;span style="color:#339999;"&gt;MessageBox&lt;/span&gt;.Show(string.Format&lt;/em&gt;&lt;em&gt;&lt;span style="color:#990000;"&gt;("Error registering the assembly :&lt;br /&gt;                                       '{0}'.\n{1}"&lt;/span&gt;, assemblyName, e.Message),&lt;br /&gt;&lt;span style="color:#990000;"&gt;                                      "GAC Installation Error"&lt;/span&gt;);&lt;br /&gt;}&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;The “&lt;em&gt;UseShellExecute&lt;/em&gt;” property indicates whether to use the operating system shell to start the process. The default is “&lt;em&gt;true&lt;/em&gt;”. Set this property to “&lt;em&gt;false&lt;/em&gt;” – The process is created directly from the executable file.&lt;/p&gt;&lt;span&gt;&lt;span style="font-family:times new roman;font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6542341764337900981?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6542341764337900981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6542341764337900981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6542341764337900981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6542341764337900981'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2008/01/registering-assembly-to-gac-via-code.html' title='Registering Assembly to GAC via Code'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-8289123875459281903</id><published>2007-12-28T00:40:00.000-08:00</published><updated>2007-12-28T01:28:39.918-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>Using XSL to display XML data into a human-readable format</title><content type='html'>&lt;strong&gt;Abstract&lt;/strong&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;When we open our XML document on browser, we will notice only the elements of that XML document. If we want to display our XML data in a table like format then we need to know about XSL.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;HTML&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;HTML contains the predefined tags like &amp;lt;TABLE&amp;gt;, &amp;lt;H1&amp;gt;, etc. This will be well understood by the browser. And the browser also knows how to display these tags.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;XML &amp;amp; XSL&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;The most recent version of XSLT is XSLT 2.0.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;XML does not use any predefined tags i.e., we can use any tag-name we like. And these names are not well understood. The browser doesn’t know how to display these tags. Now the XSL plays its role, it stands for “&lt;em&gt;Extensible Stylesheet Language&lt;/em&gt;”, which describes how the XML document should be displayed on the browser.Have a look at the following XML Document, which describes about Employees. It contains reference to the XSL file (&lt;em&gt;Employee.xsl&lt;/em&gt;).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Employee.xml:&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R3S-SGRCRNI/AAAAAAAAAG0/lFVabQocRdc/s1600-h/EmployeeXML.jpg"&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R3TAlGRCRPI/AAAAAAAAAHE/xqfC4k8mIKU/s1600-h/EmployeeXML.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5148952017561076978" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R3TAlGRCRPI/AAAAAAAAAHE/xqfC4k8mIKU/s320/EmployeeXML.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Now we need to create a XSL file, by name “&lt;em&gt;Employee.xsl&lt;/em&gt;”. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;em&gt;Employee.xsl:&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R3TA0GRCRRI/AAAAAAAAAHU/Ffj_qnyJSPw/s1600-h/EmployeeXSL.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5148952275259114770" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R3TA0GRCRRI/AAAAAAAAAHU/Ffj_qnyJSPw/s400/EmployeeXSL.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;em&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R3S-SWRCROI/AAAAAAAAAG8/vFhdwW2fiKo/s1600-h/EmployeeXSL.jpg"&gt;&lt;/a&gt;&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;In the above code, &lt;em&gt;xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&lt;/em&gt; points to the official W3C XSLT namespace. The &lt;em&gt;&lt;?xml:namespace prefix = xsl /&gt;&lt;xsl:template&gt;&lt;/em&gt;is used to build a template, and match attribute is used to associate a template with an XML element. Use “/” to associate the whole XML document. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;em&gt;&lt;xsl:template match="/"&gt;&lt;/em&gt;which associates the whole XML document to the template. The &lt;em&gt;&lt;xsl:for-each&gt;&lt;/em&gt;used to select every XML element of a specified node-set: in our example “&lt;em&gt;Employees/Employee&lt;/em&gt;”. The &lt;em&gt;&lt;xsl:value-of&gt;&lt;/em&gt;used to extract the value of an XML element. It is a simple XSL style sheet, there are other elements of XSL (if, choose, sort…), which are also very useful for transformation.Now the browser will nicely transform the XML document to XHTML.Open the “&lt;em&gt;Employee.xml&lt;/em&gt;” in your browser. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R3S-SGRCRMI/AAAAAAAAAGs/yHpwqP9_vHg/s1600-h/XSLT.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5148949492120306882" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R3S-SGRCRMI/AAAAAAAAAGs/yHpwqP9_vHg/s320/XSLT.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;XML data will be displayed in a table format. XSL also used to transform XML documents into some other formats.&lt;/div&gt;&lt;/div&gt;&lt;/xsl:value-of&gt;&lt;/xsl:for-each&gt;&lt;/xsl:template&gt;&lt;/xsl:template&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-8289123875459281903?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/8289123875459281903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=8289123875459281903' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8289123875459281903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/8289123875459281903'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/12/using-xsl-to-display-xml-data-into.html' title='Using XSL to display XML data into a human-readable format'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_x6pT7hIsR1A/R3TAlGRCRPI/AAAAAAAAAHE/xqfC4k8mIKU/s72-c/EmployeeXML.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-179471375215229899</id><published>2007-12-20T02:28:00.000-08:00</published><updated>2007-12-28T01:29:43.087-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Silverlight Slide Show in SharePoint Page</title><content type='html'>It is very easy to display Silverlight powered slide show in SharePoint using Slide.Show. Vertigo Software has released this full-featured interactive open source Silverlight 1.0 control for publishing photo slides on the web.&lt;br /&gt;&lt;br /&gt;Download &lt;a href="http://www.codeplex.com/SlideShow"&gt;Slide.Show&lt;/a&gt; from &lt;a href="http://www.codeplex.com/"&gt;Codeplex&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I have used this Slide.Show to display silverlight powered slide show in my SharePoint page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R2pENGRCRHI/AAAAAAAAAGE/GQ11t7xJkVc/s1600-h/1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5146000516035265650" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R2pENGRCRHI/AAAAAAAAAGE/GQ11t7xJkVc/s320/1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have created a basic html page to display this Silverlight powered slide show and used a “&lt;em&gt;Page Viewer WebPart&lt;/em&gt;” to display the slide show in my home page. You can refer this Quick Start Guide for configuration.&lt;br /&gt;&lt;br /&gt;Created a folder in my document library to store HTML and other files and also created two xml files Configuration.xml and Data.xml in the same location.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2pENWRCRII/AAAAAAAAAGM/OBquLU11rKw/s1600-h/2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5146000520330232962" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2pENWRCRII/AAAAAAAAAGM/OBquLU11rKw/s320/2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Use Data.xml to create albums and slides. I have used an Image Library to display these images. You can see buttons for displaying the Album list and also to display the slides in full screen.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2pENWRCRJI/AAAAAAAAAGU/Mu_v0tBwW8g/s1600-h/3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5146000520330232978" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2pENWRCRJI/AAAAAAAAAGU/Mu_v0tBwW8g/s320/3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Slide.Show supports 300 configurable options. Now it is very easy to play with Silverlight with the use of Slide.Show.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-179471375215229899?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/179471375215229899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=179471375215229899' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/179471375215229899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/179471375215229899'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/12/silverlight-slide-show-in-sharepoint.html' title='Silverlight Slide Show in SharePoint Page'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/R2pENGRCRHI/AAAAAAAAAGE/GQ11t7xJkVc/s72-c/1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-5953424804452671726</id><published>2007-12-14T22:14:00.000-08:00</published><updated>2007-12-14T23:01:24.462-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Creating Wiki Site in SharePoint</title><content type='html'>A Wiki site is a collection of web pages, which allows users to easily add or edit content on the web. Wiki site contains collaboration of works from different authors. It is very easy and straightforward to create a Wiki site in SharePoint.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Creating Wiki Site&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Create a site in SharePoint using the “&lt;em&gt;Wiki Site&lt;/em&gt;” template from the Collaboration tab. To do this, go to &lt;em&gt;Site Actions --&gt; Create --&gt; Sites and Workspaces&lt;/em&gt;. Fill Title, Description, and URL name input boxes and select the “&lt;em&gt;Wiki Site&lt;/em&gt;” template.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3GRCQ-I/AAAAAAAAAE8/gUpWBbNLdpE/s1600-h/Wiki1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144082589799302114" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3GRCQ-I/AAAAAAAAAE8/gUpWBbNLdpE/s320/Wiki1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once the Create button is clicked, it will create a Wiki site with default pages in it. The Home page will contains the welcome message and some information about the Wiki and also it contains details about how Wiki used in business environment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3GRCQ_I/AAAAAAAAAFE/YMlphNTzGsk/s1600-h/Wiki2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144082589799302130" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3GRCQ_I/AAAAAAAAAFE/YMlphNTzGsk/s320/Wiki2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A new “&lt;em&gt;Wiki pages&lt;/em&gt;” library will be created when you create a Wiki site. It also contains one more page by name “&lt;em&gt;How to use this wiki site&lt;/em&gt;”. This page has the detailed description about the creation and management of Wiki pages.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3GRCRAI/AAAAAAAAAFM/ZSs21UgaNXc/s1600-h/Wiki3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144082589799302146" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3GRCRAI/AAAAAAAAAFM/ZSs21UgaNXc/s320/Wiki3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Wiki site provides WYSWYG (what you see is what you get) editing. Use the Edit button at the top of the page to edit the page. You will get the entire “&lt;em&gt;Rich Text box&lt;/em&gt;” editing features to format the text.&lt;br /&gt;&lt;br /&gt;To link to another page in this Wiki site, enclose the name of the site in double brackets on the edit form.&lt;br /&gt;&lt;br /&gt;Ex: [[MOSS]] --&gt; this will link to the page moss page.&lt;br /&gt;&lt;br /&gt;Use the pipe “” symbol after the page name to display the link in some other text than the page name.&lt;br /&gt;&lt;br /&gt;Ex: [[SPDesignerSharepoint Designer]]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2N0PGRCREI/AAAAAAAAAFs/HyY4SYQ3swY/s1600-h/Wiki7.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144083002116162626" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2N0PGRCREI/AAAAAAAAAFs/HyY4SYQ3swY/s320/Wiki7.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, click the Edit button at the top of the Home page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3WRCRBI/AAAAAAAAAFU/ZUl8TjLKYVc/s1600-h/Wiki4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144082594094269458" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3WRCRBI/AAAAAAAAAFU/ZUl8TjLKYVc/s320/Wiki4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have given links to two pages namely “&lt;em&gt;MOSS&lt;/em&gt;” and “&lt;em&gt;SPDesigner&lt;/em&gt;”, and note I’ve used “” to display the page SPDesigner as “&lt;em&gt;Sharepoint Designer&lt;/em&gt;”. After adding the above text, click “&lt;em&gt;OK&lt;/em&gt;” button, this will bring the below page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3WRCRCI/AAAAAAAAAFc/v6zzVVk1l30/s1600-h/Wiki5.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144082594094269474" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3WRCRCI/AAAAAAAAAFc/v6zzVVk1l30/s320/Wiki5.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The two sites “&lt;em&gt;MOSS&lt;/em&gt;” and “&lt;em&gt;Sharepoint Designer&lt;/em&gt;” are underlined, which shows these pages are not exist. Click on the MOSS link, this will create a new Wiki page by name “&lt;em&gt;MOSS&lt;/em&gt;” in edit mode.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2N0PGRCRDI/AAAAAAAAAFk/TURAJeXhryg/s1600-h/Wiki6.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144083002116162610" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R2N0PGRCRDI/AAAAAAAAAFk/TURAJeXhryg/s320/Wiki6.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add some more information to this “&lt;em&gt;MOSS&lt;/em&gt;” page. I have added one more link in this page to go back to home page. Create “&lt;em&gt;SPDesigner&lt;/em&gt;” page as we created “&lt;em&gt;MOSS&lt;/em&gt;” page.&lt;br /&gt;&lt;br /&gt;There are some other options “&lt;em&gt;History&lt;/em&gt;” and “&lt;em&gt;Incoming Links&lt;/em&gt;” available at the top of the page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;History&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use History to restore a previous version of a page. Each page will contains version history. If you need to restore to previous version, click History at the top of the page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2N0PWRCRFI/AAAAAAAAAF0/1OdYkDSmtww/s1600-h/Wiki8.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144083006411129938" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2N0PWRCRFI/AAAAAAAAAF0/1OdYkDSmtww/s320/Wiki8.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As shown in the above image, select the version which you want to restore and click “&lt;em&gt;Restore this version&lt;/em&gt;” in the top toolbar.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Incoming Links&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;This will display the page which links to the current page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2N0PWRCRGI/AAAAAAAAAF8/N3kpsujfQRg/s1600-h/Wiki9.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5144083006411129954" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R2N0PWRCRGI/AAAAAAAAAF8/N3kpsujfQRg/s320/Wiki9.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;These are the pages “&lt;em&gt;MOSS&lt;/em&gt;” and “&lt;em&gt;SPDesigner&lt;/em&gt;” has the links to the “&lt;em&gt;Home&lt;/em&gt;” page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-5953424804452671726?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/5953424804452671726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=5953424804452671726' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5953424804452671726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5953424804452671726'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/12/creating-wiki-site-in-sharepoint.html' title='Creating Wiki Site in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/R2Nz3GRCQ-I/AAAAAAAAAE8/gUpWBbNLdpE/s72-c/Wiki1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-64671930959468511</id><published>2007-12-12T01:41:00.000-08:00</published><updated>2007-12-12T01:59:05.293-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Displaying charts in SharePoint using Excel Services</title><content type='html'>A chart displays data in a visually appealing way. By using charts, it is very easy to understand and compare data. We can use Office Excel 2007 for creating charts and Excel Services of MOSS to display it in SharePoint.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Excel Services&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Excel Services is part of MOSS 2007. Excel Services has a server-side engine for loading Excel spreadsheets, calculating formulas and rendering their output as wide-reach HTML targeting the browser.&lt;br /&gt;&lt;br /&gt;Open the &lt;em&gt;Central Admin--&gt; Operations --&gt; Services on Server&lt;/em&gt; then Start the Excel Calculation Service on the server if it is stopped.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Excel Web Access&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Excel Web Access is a webpart that displays data and charts from excel workbook. It has similar look like office excel workbook.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Creating a Document Library&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Create a Document Library in your MOSS Site. Go to &lt;em&gt;Site Actions --&gt; Create --&gt; Document Library&lt;/em&gt; to create document library in your SharePoint Site. This document library will be useful to publish our Excel spread sheets.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Trusted File Location&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Excel Services opens Excel workbooks that are stored in trusted file locations only. Trusted File location is a SharePoint Document Library, a UNC path, or an HTTP site that is configured as trusted repository for excel workbooks.&lt;br /&gt;&lt;br /&gt;Add this newly created excel document library as a trusted file location for storing excel workbooks. To do this, open the Shared Services Administration Site then click the “&lt;em&gt;Trusted File Locations&lt;/em&gt;” link from Excel Services Settings. Now, click “&lt;em&gt;Add Trusted File Location&lt;/em&gt;” and add our document library as a trusted location.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-t4Wm4_VI/AAAAAAAAAE0/LvoidE0Kn9U/s1600-h/Trusted_Loc.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020483133373778" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-t4Wm4_VI/AAAAAAAAAE0/LvoidE0Kn9U/s320/Trusted_Loc.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Creating Charts Using Office Excel 2007&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We can use Office Excel 2007 for creating different kinds of charts like Column, Pie, Bar, Area, Scatter etc. See the following image which shows the different chart types available with Office Excel 2007.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tnWm4_MI/AAAAAAAAADs/qFuBSOcVPqQ/s1600-h/Chart_Types.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020191075597506" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tnWm4_MI/AAAAAAAAADs/qFuBSOcVPqQ/s320/Chart_Types.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this sample, I’m going to create a Column Chart by using following sample data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R1-tzmm4_UI/AAAAAAAAAEs/c_koZcYOijg/s1600-h/Sample_Data.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020401528995138" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R1-tzmm4_UI/AAAAAAAAAEs/c_koZcYOijg/s320/Sample_Data.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To create Column Chart select the data and Click on Insert--&gt;Column (Chart) and select your desired chart. See the following screen, I’ve selected Clustered cylinder.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tnWm4_NI/AAAAAAAAAD0/AllhyK6L_so/s1600-h/Create_Chart.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020191075597522" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tnWm4_NI/AAAAAAAAAD0/AllhyK6L_so/s320/Create_Chart.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The below chart will be created once the chart type (&lt;em&gt;Clustered Cylinder&lt;/em&gt;) is selected. And this chart will be named as “&lt;em&gt;Chart 1&lt;/em&gt;”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R1-tnGm4_LI/AAAAAAAAADk/FHmm4lVDOj4/s1600-h/Chart_OP.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020186780630194" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/R1-tnGm4_LI/AAAAAAAAADk/FHmm4lVDOj4/s320/Chart_OP.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We are going to use &lt;em&gt;Excel Web Access Webpart&lt;/em&gt; to display this particular Chart. It is also possible to display the Entire Workbook. Once the chart has been created, publish this workbook to the document library. From the Office menu click &lt;em&gt;Publish--&gt;Excel Services&lt;/em&gt; as shown in below image&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R1-tzmm4_TI/AAAAAAAAAEk/Nk9TxvtqTdw/s1600-h/Publish.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020401528995122" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R1-tzmm4_TI/AAAAAAAAAEk/Nk9TxvtqTdw/s320/Publish.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click on that Excel Services, this will open a “&lt;em&gt;Save As&lt;/em&gt;” popup dialog and enter the Document Library path to save this file the Library.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R1-tzGm4_QI/AAAAAAAAAEM/qBncKmvKD9s/s1600-h/Excel_Services_SaveAs.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020392939060482" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/R1-tzGm4_QI/AAAAAAAAAEM/qBncKmvKD9s/s320/Excel_Services_SaveAs.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;“&lt;em&gt;Open in Excel Services&lt;/em&gt;” – Once the form is saved, Excel Services will open the excel workbook in a new browser.&lt;br /&gt;&lt;br /&gt;We can add some more options like showing only selected sheets, named items, or adding parameters, etc., with the use of “&lt;em&gt;Excel Services Options&lt;/em&gt;”. See the below image which shows the Excel Services Options.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R1-tnmm4_PI/AAAAAAAAAEE/ZHDRGIKMjRA/s1600-h/Excel_Services_Option.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020195370564850" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R1-tnmm4_PI/AAAAAAAAAEE/ZHDRGIKMjRA/s320/Excel_Services_Option.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tzWm4_SI/AAAAAAAAAEc/eIg07usAU4A/s1600-h/Items.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These are the different options available, here we can select the Entire Workbook, only selected sheets or any named item. In our sample, we are going to display only a Chart. Select the “&lt;em&gt;Items in the Workbook&lt;/em&gt;”, this will show a list of named items, in our case we have only one item “&lt;em&gt;Chart 1&lt;/em&gt;”. Check “&lt;em&gt;Chart 1&lt;/em&gt;” from the list. Click “&lt;em&gt;Ok&lt;/em&gt;” and save the excel workbook to the Document Library.&lt;br /&gt;&lt;br /&gt;There is one more tab “&lt;em&gt;Parameters&lt;/em&gt;” which can be used to pass parameters to excel services. Excel Services will create UI by using InfoPath at run time to get input for those parameters.&lt;br /&gt;&lt;br /&gt;Now, Open your SharePoint site and add the “&lt;em&gt;Excel Web Access WebPart&lt;/em&gt;” to your page.&lt;br /&gt;If this WebPart is not in your list then activate the “&lt;em&gt;Office SharePoint Server Enterprise Site Features&lt;/em&gt;” feature.&lt;br /&gt;&lt;br /&gt;Once the WebPart is added to the page, Open the Tool pane, this tool pane contains different properties that will be helpful to display the workbook, part of workbook or an item in a workbook.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tzWm4_RI/AAAAAAAAAEU/QHjHk-7Ds6g/s1600-h/Excel_Web_Access.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020397234027794" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tzWm4_RI/AAAAAAAAAEU/QHjHk-7Ds6g/s320/Excel_Web_Access.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Browse and select the Workbook from the document library, enter “&lt;em&gt;Chart 1&lt;/em&gt;” in Named Item property and enter other properties like rows, columns etc. Now, click ok, Excel services will render the chart. If the published workbook contains parameters then an InfoPath form will be displayed along with the chart. InfoPath form will be used to get input and the calculation service of excel will perform the calculation in server and render the results back to the browser.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tnWm4_OI/AAAAAAAAAD8/2GHavme2QJA/s1600-h/Excel_Final_WebPart.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5143020191075597538" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-tnWm4_OI/AAAAAAAAAD8/2GHavme2QJA/s320/Excel_Final_WebPart.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is also possible to use &lt;em&gt;Excel Web Services (EWS)&lt;/em&gt; hosted in SharePoint that provides several methods that can be used as an API to build custom applications based on Excel workbook.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-64671930959468511?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/64671930959468511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=64671930959468511' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/64671930959468511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/64671930959468511'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/12/displaying-charts-in-sharepoint-using.html' title='Displaying charts in SharePoint using Excel Services'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_x6pT7hIsR1A/R1-t4Wm4_VI/AAAAAAAAAE0/LvoidE0Kn9U/s72-c/Trusted_Loc.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-4650350467628829259</id><published>2007-11-29T01:45:00.000-08:00</published><updated>2007-11-29T01:54:24.492-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Displaying Custom Icon in Document Library</title><content type='html'>&lt;span style="font-family:times new roman;"&gt; It’s easy to display custom icon for documents in the Document Library. By default if a file extension is not know to SharePoint (doesn’t has an entry in &lt;em&gt;DOCICON.xml&lt;/em&gt;) then it will display a default icon “ICGEN.GIF”.&lt;br /&gt;&lt;br /&gt;Instead of displaying the Default Icon in the document library, I want to display a custom icon. To do this, we should know about “&lt;em&gt;DOCICON.xml&lt;/em&gt;” file. This file resides in “&lt;em&gt;Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\XML&lt;/em&gt; “. This file defines mapping between each file extension and its icon.&lt;br /&gt;&lt;br /&gt;You can even define your own file extension and associate a custom icon to that file extension. It is also possible to change already defined icons. Changes to the “&lt;em&gt;DOCICON.xml&lt;/em&gt;” will affect all site definitions under the front-end web server. So the changes should be made with extreme caution.&lt;br /&gt;&lt;br /&gt;See the below document library which displays a default icon.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R06KmJVIKXI/AAAAAAAAADM/WZp2zNGDxfE/s1600-h/1.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5138196612820511090" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R06KmJVIKXI/AAAAAAAAADM/WZp2zNGDxfE/s320/1.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;To change the default icon to a custom icon&lt;br /&gt;&lt;br /&gt;     1)      Create a 16x16 icon in “&lt;em&gt;Local_Drive:\Program Files\Common Files\Microsoft&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;               Shared\Web Server Extensions\12\TEMPLATE\IMAGES&lt;/em&gt;” location&lt;br /&gt;&lt;br /&gt;     2)      Take a copy of “&lt;em&gt;DOCICON.xml&lt;/em&gt;” – Take a backup of this file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;     3)      Open “&lt;em&gt;DOCICON.xml&lt;/em&gt;” and navgaete to the “Default” node and replace the “icgen.gif”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;               by your custom icon name.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;     &lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R06KmZVIKYI/AAAAAAAAADU/gh9c9swaOPI/s1600-h/2.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5138196617115478402" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/R06KmZVIKYI/AAAAAAAAADU/gh9c9swaOPI/s320/2.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;     4)      Reset IIS.&lt;br /&gt;&lt;br /&gt;Now you can see the default icon is replaced by the custom icon.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R06KmpVIKZI/AAAAAAAAADc/A6yenHz9I8M/s1600-h/3.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5138196621410445714" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R06KmpVIKZI/AAAAAAAAADc/A6yenHz9I8M/s320/3.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-4650350467628829259?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/4650350467628829259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=4650350467628829259' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/4650350467628829259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/4650350467628829259'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/11/displaying-custom-icon-in-document.html' title='Displaying Custom Icon in Document Library'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_x6pT7hIsR1A/R06KmJVIKXI/AAAAAAAAADM/WZp2zNGDxfE/s72-c/1.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6096435817001088889</id><published>2007-11-26T23:08:00.000-08:00</published><updated>2007-11-27T01:15:05.159-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Publishing InfoPath Form</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;InfoPath form services will throw an error if the InfoPath form template is not properly published. Follow these steps to publish an InfoPath form (.xsn) and use this template in Form Services of MOSS 2007.&lt;br /&gt;&lt;br /&gt;Create an InfoPath form and add Business logic to it (If any).&lt;br /&gt;&lt;br /&gt;Open Your Project (InfoPath) in Visual Studio. Open Tools à Form Options&lt;br /&gt;&lt;br /&gt;In this “Form Options” Dialog, some properties need to be set.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1) Security and Trust&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;--&gt; Select Full Trust (Browser enabled forms must have the “Full Trust” Security level.&lt;br /&gt;&lt;br /&gt;--&gt; Check Sign this form template (Create a new certificate by clicking “Create Certificate”.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vDJpVIKLI/AAAAAAAAABs/WnbIHOcsv6I/s1600-h/1.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414370426890418" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vDJpVIKLI/AAAAAAAAABs/WnbIHOcsv6I/s320/1.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;2) Compatibility &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Check the “Design a form template that can be opened in a browser or InfoPath” in Browser Compatibility section. Enter the SharePoint site URL to verify the compatibility.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDJ5VIKMI/AAAAAAAAAB0/kEERnqcUMxM/s1600-h/2.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414374721857730" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDJ5VIKMI/AAAAAAAAAB0/kEERnqcUMxM/s320/2.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;After setting these properties click “Ok”. Check the “Design Checker”, it should not have errors.&lt;br /&gt;&lt;br /&gt;Now go to Build à Publish in Visual Studio. This will open the below dialog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R0vDKZVIKNI/AAAAAAAAAB8/865o4zFJ3b4/s1600-h/3.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414383311792338" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R0vDKZVIKNI/AAAAAAAAAB8/865o4zFJ3b4/s320/3.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Here, publish this InfoPath form to a network location. In my case I’ve published in C:\MySampleInfoPathForm.xsn&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vDKpVIKOI/AAAAAAAAACE/htjWuHIu48M/s1600-h/4.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414387606759650" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vDKpVIKOI/AAAAAAAAACE/htjWuHIu48M/s320/4.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Click next and Publish to your network location. An “.xsn” file will be created which will have all the business logic in it. (No need to copy the business logic dll’s to server).&lt;br /&gt;&lt;br /&gt;Now, Open the SharePoint Central Admin Site.&lt;br /&gt;&lt;br /&gt;Go to “Application Management” --&gt; Manage Form Templates&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDK5VIKPI/AAAAAAAAACM/gZcVQeWiprA/s1600-h/5.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414391901726962" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDK5VIKPI/AAAAAAAAACM/gZcVQeWiprA/s320/5.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;This will take us the following page&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R0vDsZVIKQI/AAAAAAAAACU/Wfsz-4CXSCs/s1600-h/6.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414967427344642" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R0vDsZVIKQI/AAAAAAAAACU/Wfsz-4CXSCs/s320/6.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Click on Upload form template &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vEApVIKWI/AAAAAAAAADE/VpwNyxwEbPI/s1600-h/Upload1.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137415315319695714" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vEApVIKWI/AAAAAAAAADE/VpwNyxwEbPI/s320/Upload1.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Select your “.xsn” and click ‘Verify”. This will show a success message if the form is trusted. Otherwise, it will throw an error.&lt;br /&gt;&lt;br /&gt;After the Verification click the Upload button to upload the InfoPath form as an Administrator approved template.&lt;br /&gt;&lt;br /&gt;After successful upload, activate the form to your site collection. See the below screen&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDs5VIKRI/AAAAAAAAACc/ctLuy6-hnr8/s1600-h/activate.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414976017279250" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDs5VIKRI/AAAAAAAAACc/ctLuy6-hnr8/s320/activate.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;We are going to use this template as “Content Type” for a document library.&lt;br /&gt;&lt;br /&gt;Go to that site, which you have activated this template. Create a Document Library.&lt;br /&gt;Go to Settings of the Document Library.&lt;br /&gt;&lt;br /&gt;Settings --&gt; Advanced Settings&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vEApVIKVI/AAAAAAAAAC8/bNq23H3z5ZA/s1600-h/Mgm_Content.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137415315319695698" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vEApVIKVI/AAAAAAAAAC8/bNq23H3z5ZA/s320/Mgm_Content.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;1) Select “&lt;em&gt;Allow Management of Content type&lt;/em&gt;” to Yes. (Default it is set to false)&lt;br /&gt;2) Select “&lt;em&gt;Display as a Web page&lt;/em&gt;” then click OK.&lt;br /&gt;&lt;br /&gt;Now, In Document Library Settings page click on “Add from existing content type”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDs5VIKSI/AAAAAAAAACk/E1F_ASzL7pk/s1600-h/Add_CT.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414976017279266" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0vDs5VIKSI/AAAAAAAAACk/E1F_ASzL7pk/s320/Add_CT.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Select your content type (see the below screen)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R0vDtJVIKTI/AAAAAAAAACs/GLxzkBGYENM/s1600-h/CT_Add.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414980312246578" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/R0vDtJVIKTI/AAAAAAAAACs/GLxzkBGYENM/s320/CT_Add.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Click on Add then OK. Now this Content type (MySampleInfopathForm) has been added to the Document Library.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R0vDtJVIKUI/AAAAAAAAAC0/pm1Ac5oSPGY/s1600-h/CT_Disp.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5137414980312246594" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/R0vDtJVIKUI/AAAAAAAAAC0/pm1Ac5oSPGY/s320/CT_Disp.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Click that Content type; InfoPath Form Services will display the InfoPath form in a browser.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6096435817001088889?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6096435817001088889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6096435817001088889' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6096435817001088889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6096435817001088889'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/11/publishing-infopath-form.html' title='Publishing InfoPath Form'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_x6pT7hIsR1A/R0vDJpVIKLI/AAAAAAAAABs/WnbIHOcsv6I/s72-c/1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-6742678024823018270</id><published>2007-11-19T23:05:00.000-08:00</published><updated>2007-11-26T23:05:43.588-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Inline Video in SharePoint</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;Abstract&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;This article provides the information to add inline video to a SharePoint Site. We can achieve this by using Built-in “&lt;strong&gt;Content Editor WebPart&lt;/strong&gt;”. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Content Editor WebPart&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;Content Editor Web Part is intended for adding HTML content to a Web Part Page, which may include hyperlinks.&lt;br /&gt;&lt;br /&gt;It is possible to add content to the Content Editor WebPart in three ways&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Rich Text Editor&lt;/strong&gt;: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Use the Rich Text Editor to create the formatted content without the prior knowledge of HTML.&lt;br /&gt;There are different toolbars available in this editor to format the content.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Source Editor&lt;/strong&gt;: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Use this Source Editor to add or modify the HTML source code. This Source Editor is a plain text editor and it is intended for users who are familiar with HTML syntax.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Content Link&lt;/strong&gt;: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Use this Content Link to link to the existing content by entering a hyperlink to a text file that contains a HTML source code. HTTP or HTTPS are the two valid hyperlink protocols that you can use to link to the file. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;The Following image shows the Content Editor Tool Pane.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_x6pT7hIsR1A/R0KJSZVIKGI/AAAAAAAAABA/nv4NxACmXo8/s1600-h/CEWP.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5134817474285938786" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_x6pT7hIsR1A/R0KJSZVIKGI/AAAAAAAAABA/nv4NxACmXo8/s320/CEWP.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;Adding a Video File To SharePoint Site&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It is Simple and straight forward to add a video file. Add a Video file to your library or to a location, which can be accessed by an UNC path. Content Editor WebPart uses this source location to display the video.&lt;br /&gt;&lt;br /&gt;In this following scenario I’ve a document library “Sample Documents”, which I’ve used to store my sample video clip.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0KWw5VIKHI/AAAAAAAAABI/cTiyQV2qFeg/s1600-h/Video.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5134832291923110002" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_x6pT7hIsR1A/R0KWw5VIKHI/AAAAAAAAABI/cTiyQV2qFeg/s320/Video.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Here, “My Sample Video” is the video file, which has been uploaded to my document library “Sample Documents”.&lt;br /&gt;&lt;br /&gt;Now, Add Content Editor WebPart to your page. In this webpart we are going to add few lines of HTML source to embed the video file “My Sample Video”.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;HTML Source &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_x6pT7hIsR1A/R0KaSpVIKKI/AAAAAAAAABg/zqJk_SXCbvk/s1600-h/code.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5134836170278578338" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_x6pT7hIsR1A/R0KaSpVIKKI/AAAAAAAAABg/zqJk_SXCbvk/s320/code.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Details about the properties of embed tag.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;src&lt;/strong&gt; – source location&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;autoplay&lt;/strong&gt; – If autoplay set to true, the video will be played immediately upon opening the SharePoint site. If this is set to false, the user has to manually click play to play the video.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;loop&lt;/strong&gt; – If loop is set to true, the video will be played over again after the end. If this is set to false, only once the video will be played.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;height&lt;/strong&gt;, &lt;strong&gt;width&lt;/strong&gt; – you can use these properties to adjust the height and width respectively. Next, Get the location of your video. To get this location, go to your library and right click the video file. Copy Shortcut will give the location of your file. Now place the location in src of embed tag&lt;strong&gt;.&lt;/strong&gt;– If autoplay set to true, the video will be played immediately upon opening the SharePoint site. If this is set to false, the user has to manually click play to play the video.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;loop&lt;/strong&gt; – If loop is set to true, the video will be played over again after the end. If this is set to false, only once the video will be played.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;height&lt;/strong&gt;, &lt;strong&gt;width&lt;/strong&gt; – you can use these properties to adjust the height and width respectively. Next, Get the location of your video. To get this location, go to your library and right click the video file. Copy Shortcut will give the location of your file. Now place the location in src of embed tag.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0KXXJVIKII/AAAAAAAAABQ/EMjatWCpnlo/s1600-h/Copy_Video_Link.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5134832949053106306" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0KXXJVIKII/AAAAAAAAABQ/EMjatWCpnlo/s320/Copy_Video_Link.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Once the above HTML source code is entered in to source editor, click on save button, this will embed the video in to your page.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0KX4JVIKJI/AAAAAAAAABY/lbK0zMT-jlU/s1600-h/Final+Display.bmp"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5134833515988789394" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_x6pT7hIsR1A/R0KX4JVIKJI/AAAAAAAAABY/lbK0zMT-jlU/s320/Final+Display.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;With the help of Content Editor Webpart it is very easy to play the inline video in a SharePoint site.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-6742678024823018270?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/6742678024823018270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=6742678024823018270' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6742678024823018270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/6742678024823018270'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/11/inline-video-in-sharepoint.html' title='Inline Video in SharePoint'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_x6pT7hIsR1A/R0KJSZVIKGI/AAAAAAAAABA/nv4NxACmXo8/s72-c/CEWP.bmp' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4682300512116159238.post-5851319364268945287</id><published>2007-06-12T21:08:00.000-07:00</published><updated>2007-11-26T23:07:56.080-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>FormState in InfoPath 2007</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;color:#000066;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;span style="font-family:Times New Roman;color:#000066;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;color:#330099;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;color:#330099;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Times New Roman;color:#330099;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;color:#330099;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;This Article is about the FormState of InfoPath 2007.&lt;br /&gt;&lt;br /&gt;InfoPath 2007 has the new property called “&lt;em&gt;FormState&lt;/em&gt;”, this could be used to store the state values. In previous version of InfoPath, to store the state values, you would have used hidden variables. This property will reduce or avoid the use of hidden variables.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/div&gt;&lt;/span&gt;&lt;div align="justify"&gt;&lt;span style="color:#330099;"&gt;&lt;strong&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="color:#000066;"&gt;&lt;br /&gt;About&lt;/span&gt; &lt;/span&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.office.infopath.xmlform.formstate(VS.80).aspx"&gt;&lt;span style="font-family:times new roman;color:#000066;"&gt;FormState&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;span style="color:#330099;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;em&gt;&lt;br /&gt;FormState&lt;/em&gt; is an &lt;em&gt;IDictionary&lt;/em&gt; object, which holds the user-defined state values, which were defined in the variable declaration section i.e., before the &lt;em&gt;InternalStartup&lt;/em&gt;() of FormCode class. &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;Using&lt;em&gt; FormState,&lt;/em&gt; user-defined state variables can be accessed from code running in forms opened in Microsoft Office InfoPath 2007 or in a Web browser. It is also possible to store the state value in global member variable only when you use InfoPath client, but this will not work in Web browser. Design Checker of InfoPath will throw an error to use the FormState instead of global member variables.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="color:#000066;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;span style="color:#330099;"&gt;&lt;span style="color:#000066;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Following example shows the design pattern for creating the user defined state variable in declaration section of FormCode class.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;/// &lt;summary&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#006600;"&gt;/// Get or Set Count&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#999999;"&gt;/// &lt;/summary&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;private&lt;/span&gt; &lt;span style="color:#3333ff;"&gt;int&lt;/span&gt; count&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;get&lt;/span&gt;&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;span style="color:#006600;"&gt;// If the state variable “count” is not initialized then&lt;br /&gt;// return 0; return the count otherwise&lt;/span&gt;.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;if&lt;/span&gt; (FormState["_count"] != &lt;span style="color:#3333ff;"&gt;null&lt;/span&gt;)&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;return&lt;/span&gt; (&lt;span style="color:#3333ff;"&gt;int&lt;/span&gt;)FormState["_count"];&lt;br /&gt;}&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;else&lt;/span&gt;&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;return&lt;/span&gt; 0;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;set&lt;br /&gt;&lt;/span&gt;{&lt;br /&gt;FormState["_count"] = &lt;span style="color:#3333ff;"&gt;value&lt;/span&gt;;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the above example, “count” is a private property, which can be accessed only within the FormCode class. FormState holds the values as “&lt;em&gt;Key, Value&lt;/em&gt;” pair, here the Key is _count. If the _count is not initialized, zero will be returned; otherwise the value stored in the _count will be returned.&lt;br /&gt;&lt;br /&gt;It is also possible to store different types of objects in &lt;em&gt;FormState&lt;/em&gt;. For example, I have a list of holidays for a particular location, which is in the Holiday Table in the database. I have to use this list in different methods in my FormCode class and also each time I do not want to fetch this list from database.&lt;br /&gt;&lt;br /&gt;For the above scenario, we can create a HashTable (which is also inherited from IDictionary) to store the holiday list from the database in the Load event of the Form. Store this in the FormState Dictionary.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#c0c0c0;"&gt;&lt;span style="color:#999999;"&gt;/// &lt;summary&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#006600;"&gt;/// Get or Set the Holiday List&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#999999;"&gt;/// &lt;/summary&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;private&lt;/span&gt; &lt;span style="color:#339999;"&gt;Hashtable&lt;/span&gt; holidayList&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;get&lt;/span&gt;&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;return&lt;/span&gt; (&lt;span style="color:#339999;"&gt;Hashtable&lt;/span&gt;)FormState["_holidayList"];&lt;br /&gt;}&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;set&lt;/span&gt;&lt;br /&gt;{&lt;br /&gt;FormState["_holidayList"] = &lt;span style="color:#3333ff;"&gt;value&lt;/span&gt;;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now, this property “holidayList” can be used in different methods in the FormCode class. &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/div&gt;&lt;/span&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Times New Roman;color:#000066;"&gt;&lt;strong&gt;&lt;br /&gt;Conclusion&lt;/strong&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-family:times new roman;"&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;em&gt;FormState&lt;/em&gt;&lt;/span&gt; will be very useful to store the user-defined state data and access the same in InfoPath 2007 and also in Web browser.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:times new roman;color:#330099;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4682300512116159238-5851319364268945287?l=zabistop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zabistop.blogspot.com/feeds/5851319364268945287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4682300512116159238&amp;postID=5851319364268945287' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5851319364268945287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4682300512116159238/posts/default/5851319364268945287'/><link rel='alternate' type='text/html' href='http://zabistop.blogspot.com/2007/06/formstate-in-infopath-2007.html' title='FormState in InfoPath 2007'/><author><name>Zabiullah Sheik Ismail</name><uri>http://www.blogger.com/profile/17555422888113310142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
