<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>SNR Sharepoint Blog</title>
	<atom:link href="http://sharepoint4u.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepoint4u.wordpress.com</link>
	<description>My blog for my experiences on sharepoint and related Technologies</description>
	<lastBuildDate>Mon, 23 Jan 2012 17:15:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sharepoint4u.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>SNR Sharepoint Blog</title>
		<link>http://sharepoint4u.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sharepoint4u.wordpress.com/osd.xml" title="SNR Sharepoint Blog" />
	<atom:link rel='hub' href='http://sharepoint4u.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SharePoint Search Results: Adding a link to the view properties page of a document</title>
		<link>http://sharepoint4u.wordpress.com/2011/04/19/sharepoint-search-results-adding-a-link-to-the-view-properties-page-of-a-document/</link>
		<comments>http://sharepoint4u.wordpress.com/2011/04/19/sharepoint-search-results-adding-a-link-to-the-view-properties-page-of-a-document/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 08:45:41 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=314</guid>
		<description><![CDATA[&#8220;I found this article and one of the comments useful. So I merged and published them again.  The source link is at the end of the post.&#8221; The out-of-the-box SharePoint search results web part doesn&#8217;t provide a way to get to the View Properties page for items in a document library. The search results provide [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=314&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;I found this article and one of the comments useful. So I merged and published them again.  The source link is at the end of the post.&#8221;</em></p>
<p>The out-of-the-box SharePoint search results web part doesn&#8217;t provide a way to get to the View Properties page for items in a document library. The search results provide a direct link to the document which will open a document in default editor registered within windows.<br />
In the screen shot below notice that both the hyperlinked title (shown in the tool tip) and the url displayed both link to the actual document and not to the View Details page.</p>
<p style="text-align:center;"><a href="http://sharepoint4u.files.wordpress.com/2011/04/image001.png"><img class="aligncenter size-full wp-image-321" title="image001" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image001_thumb.png?w=500" alt=""   /></a></p>
<p style="text-align:left;">The goal is to generate a hyperlink that will allow the user to navigate to the properties display form for documents.</p>
<p><a href="http://sharepoint4u.files.wordpress.com/2011/04/image002.png"><img class="aligncenter size-full wp-image-322" title="image002" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image002_thumb.png?w=500" alt=""   /></a><a href="http://blogs.msdn.com/blogfiles/dougperkes/WindowsLiveWriter/SharePointSearchResultsAddingalinktothev_EC75/clip_image002_2.png"><br />
</a>Clicking &#8220;View Properties&#8221; will take the user to the following page:</p>
<p style="text-align:center;"><a href="http://sharepoint4u.files.wordpress.com/2011/04/image003.png"><img class="aligncenter size-full wp-image-323" title="image003" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image003_thumb.png?w=500" alt=""   /></a></p>
<h3></h3>
<h3>Step 1: Add a managed property for the integer ID of list items.</h3>
<p>In order for the solution to work properly we must first create a Metadata Property Mapping for the ID of list items. SharePoint out-of-the-box does not include these identifiers in its search index.<br />
Open the SSP<br />
Click Search Administration<br />
Under Queries and Results, click Metadata properties.<br />
Click Crawled Properties:</p>
<p><a href="http://sharepoint4u.files.wordpress.com/2011/04/clip_image004_thumb.png"><img class="aligncenter size-full wp-image-324" title="clip_image004_thumb" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image004_thumb.png?w=500" alt=""   /></a><br />
Search for ows_id. Then edit the crawled property.</p>
<p><a href="http://sharepoint4u.files.wordpress.com/2011/04/clip_image005_thumb.png"><img class="aligncenter size-full wp-image-325" title="clip_image005_thumb" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image005_thumb.png?w=500" alt=""   /></a><br />
Select the checkbox at the bottom of the page to include the property in the search index:</p>
<p><a href="http://sharepoint4u.files.wordpress.com/2011/04/clip_image006_thumb.png"><img class="aligncenter size-full wp-image-326" title="clip_image006_thumb" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image006_thumb.png?w=500" alt=""   /></a><br />
Return to the Metadata Property Mappings screen by clicking on Metadata properties on the left side of the page.<br />
Click New Managed Property and set the values as follows:</p>
<ul>
<li>Property Name: ListItemID</li>
<li>Description: Numeric identifier of SharePoint List Items (i.e. documents, pictures, and custom lists).</li>
<li>Type: Integer</li>
<li>Add ows_id as a crawled property.</li>
</ul>
<p>Run a full crawl of the content source</p>
<h3></h3>
<h3>Step 2: Add the Metadata property to the search results web part</h3>
<p>Now that the metadata property has been added to SharePoint we now need to make the property available to the search results web part. In my example I&#8217;ve added the search and search results web parts to a web part page but the same steps apply if you are editing the search results web part in the search center.<br />
Open your search results page in edit mode.<br />
Locate the search results web part and click Modify Shared Web Part</p>
<p><a href="http://sharepoint4u.files.wordpress.com/2011/04/clip_image007_thumb.png"><img class="aligncenter size-full wp-image-327" title="clip_image007_thumb" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image007_thumb.png?w=500" alt=""   /></a><br />
In the Results Query Options section, open the editor for the Selected Columns property:</p>
<p><a href="http://sharepoint4u.files.wordpress.com/2011/04/clip_image008_thumb.png"><img class="aligncenter size-full wp-image-328" title="clip_image008_thumb" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image008_thumb.png?w=500" alt=""   /></a></p>
<p>Add a reference to the ListItemId property as follows:</p>
<p><pre class="brush: xml;">
 &lt;Column Name=&quot;ListItemID&quot; /&gt;
</pre></p>
<p>At this point the custom Metadata property we created will now be retrieved with every search query. The value will come back in the xml returned by the query servers and is just begging to be displayed somewhere on the page.</p>
<h3></h3>
<h3>Step 3: Modify the XSL to display the hyperlink to the View Properties page.</h3>
<p>The next step it to create a hyperlink to the View Properties page using not only the custom <span style="font-family:Cordia New;">ListItemId</span> Metadata property but also several other properties already available to us: <span style="font-family:Courier New;">url</span>, <span style="font-family:Courier New;">sitename</span>, and <span style="font-family:Courier New;">contentclass</span>.</p>
<ol>
<li>Click the XSL Editor button in the web part properties panel.</li>
<li>Copy the contents of the editor and paste into an XSL editor like Visual Studio .NET or any text editor.</li>
<li>Near the bottom of the XSL file paste in the following template definition just prior to the <span style="font-family:Courier New;">&lt;/xsl:stylesheet&gt;</span>tag:</li>
</ol>
<p><pre class="brush: xml;">

&lt;xsl:template name=&quot;DisplayViewPropertiesLink&quot;&gt;
 &lt;xsl:param name=&quot;itemUrl&quot; /&gt;
 &lt;xsl:param name=&quot;siteUrl&quot; /&gt;
 &lt;xsl:param name=&quot;listItemId&quot; /&gt;
 &lt;xsl:param name=&quot;contentclass&quot; /&gt;
&lt;!-- you may have issues with case, the doc lib will not matche by the substring functions, so do a translation --&gt;
 &lt;xsl:variable name=&quot;itemUrlLower&quot; select=&quot;translate($itemUrl, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')&quot;/&gt;
 &lt;xsl:variable name=&quot;siteUrlLower&quot; select=&quot;translate($siteUrl, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')&quot;/&gt;
 &lt;xsl:if test=&quot;$contentclass='STS_ListItem_DocumentLibrary'&quot;&gt;
 &lt;xsl:variable name=&quot;docLibLoc&quot; select=&quot;substring-before(substring-after($itemUrlLower, concat($siteUrlLower, '/')), '/')&quot; /&gt;
 &lt;xsl:variable name=&quot;viewPropUrl&quot; select=&quot;concat($siteUrl, '/', $docLibLoc, '/Forms/DispForm.aspx?id=', $listItemId)&quot; /&gt;
 &lt;xsl:text disable-output-escaping=&quot;yes&quot;&gt;&amp;amp;nbsp;-&amp;amp;nbsp;&lt;/xsl:text&gt;&lt;a href=&quot;{$viewPropUrl}&quot;&gt;View Properties&lt;/a&gt;
 &lt;/xsl:if&gt;
 &lt;/xsl:template&gt;

</pre></p>
<ol>
<li>This template first checks to see if the item is part of a document library. If so, it parses out the document library name and then builds up a URL pointing to the View Properties page and outputs a hyperlink to the page.Important note: This link is hard-coded to point to the out-of-the-box View Properties page. If document libraries have custom View Properties pages, this solution will need to be modified.</li>
<li>The last step is to include a call to the new StyleSheet template. In my example, I&#8217;ve placed the call just after the rendering of the modified date:
<pre></pre>
</li>
</ol>
<p><pre class="brush: xml;">
&lt;xsl:call-template name=&quot;DisplayString&quot;&gt;
 &lt;xsl:with-param name=&quot;str&quot; select=&quot;write&quot; /&gt;
&lt;/xsl:call-template&gt;&lt;/span&gt;

&lt;xsl:call-template name=&quot;DisplayViewPropertiesLink&quot;&gt;
  &lt;xsl:with-param name=&quot;itemUrl&quot; select=&quot;url&quot; /&gt;
  &lt;xsl:with-param name=&quot;siteUrl&quot; select=&quot;sitename&quot; /&gt;
  &lt;xsl:with-param name=&quot;listItemId&quot; select=&quot;listitemid&quot; /&gt;
  &lt;xsl:with-param name=&quot;contentclass&quot; select=&quot;contentclass&quot; /&gt;
&lt;/xsl:call-template&gt;

&lt;xsl:call-template name=&quot;DisplayCollapsingStatusLink&quot;&gt;

</pre></p>
<h3></h3>
<h3>Step 4: Deploy and test</h3>
<p>Now that the XSL StyleSheet has been modified the last step is to copy the XSL back into the web part property and save your changes. Submit a simple search for documents and verify the View Properties link appears after the date.</p>
<p><a href="http://sharepoint4u.files.wordpress.com/2011/04/clip_image009_thumb.png"><img class="aligncenter size-full wp-image-329" title="clip_image009_thumb" src="http://sharepoint4u.files.wordpress.com/2011/04/clip_image009_thumb.png?w=500&#038;h=129" alt="" width="500" height="129" /></a></p>
<p>Special thanks to <a href="http://blogs.msdn.com/b/dougperkes/">Doug Perkes</a>  for providing this <a href="http://blogs.msdn.com/b/dougperkes/archive/2009/05/13/sharepoint-search-results-adding-a-link-to-the-view-properties-page-of-a-document.aspx" target="_blank">solution,</a> and Trevor for his comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=314&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2011/04/19/sharepoint-search-results-adding-a-link-to-the-view-properties-page-of-a-document/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image001_thumb.png" medium="image">
			<media:title type="html">image001</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image002_thumb.png" medium="image">
			<media:title type="html">image002</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image003_thumb.png" medium="image">
			<media:title type="html">image003</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image004_thumb.png" medium="image">
			<media:title type="html">clip_image004_thumb</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image005_thumb.png" medium="image">
			<media:title type="html">clip_image005_thumb</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image006_thumb.png" medium="image">
			<media:title type="html">clip_image006_thumb</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image007_thumb.png" medium="image">
			<media:title type="html">clip_image007_thumb</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image008_thumb.png" medium="image">
			<media:title type="html">clip_image008_thumb</media:title>
		</media:content>

		<media:content url="http://sharepoint4u.files.wordpress.com/2011/04/clip_image009_thumb.png" medium="image">
			<media:title type="html">clip_image009_thumb</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Change SharePoint Page Title</title>
		<link>http://sharepoint4u.wordpress.com/2011/04/19/how-to-change-sharepoint-page-title/</link>
		<comments>http://sharepoint4u.wordpress.com/2011/04/19/how-to-change-sharepoint-page-title/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 08:31:53 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Sharepoint Page]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=306</guid>
		<description><![CDATA[Sometimes because of some customizations or when you&#8217;ve worked with SharePoint designer, the page title is disappeared. in these cases you can change the page title by using these tags. Add the follwing content place holder in the top of your code if not exist. &#60;asp:Content ContentPlaceHolderId=&#8221;PlaceHolderPageTitle&#8221; runat=&#8221;server&#8221;&#62; Add Title here &#60;/asp:Content&#62; You can get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=306&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes because of some customizations or when you&#8217;ve worked with SharePoint designer, the page title is disappeared.</p>
<p>in these cases you can change the page title by using these tags. Add the follwing content place holder in the top of your code if not exist.</p>
<p><span style="color:#000080;">&lt;asp:Content ContentPlaceHolderId=&#8221;PlaceHolderPageTitle&#8221; runat=&#8221;server&#8221;&gt;</span></p>
<p><span style="color:#000080;">Add Title here</span></p>
<p><span style="color:#000080;">&lt;/asp:Content&gt;</span></p>
<p>You can get title dynamic by add any of this tags into &#8220;PlaceHolderPageTitle&#8221;</p>
<p><span style="color:#000080;">&lt;SharePoint:ListProperty Property=&#8221;Title&#8221; runat=&#8221;server&#8221;/&gt;</span></p>
<p><span style="color:#000080;">&lt;SharePoint:ListItemProperty Property=&#8221;Title&#8221; runat=&#8221;server&#8221;/&gt;</span></p>
<p><span style="color:#000080;">&lt;SharePoint:ProjectProperty Property=&#8221;Title&#8221; runat=&#8221;server&#8221;/&gt;</span></p>
<p><span style="color:#000080;">&lt;SharePoint:ListFormPageTitle runat=&#8221;server&#8221;/&gt;</span></p>
<p>I found this solution <a href="http://wael-abbas.blogspot.com/2008/12/change-sharepoint-page-title.html" target="_blank">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=306&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2011/04/19/how-to-change-sharepoint-page-title/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>Remove hyperlink from a people &amp; group field</title>
		<link>http://sharepoint4u.wordpress.com/2010/12/25/remove-hyperlink-from-a-people-group-field/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/12/25/remove-hyperlink-from-a-people-group-field/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 09:20:26 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Customize]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[people and group]]></category>
		<category><![CDATA[remove]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=285</guid>
		<description><![CDATA[Today I was working on one of my custom data views. After I inserted the &#8220;Created by&#8221; field, I found that I can&#8217;t remove it&#8217;s hyperlink. ( so users can click on it and then they&#8217;ll redirect to the user display page) I didn&#8217;t want that! So after a little searching I found a solution [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=285&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today <span style="color:#000000;"><span style="font-family:Georgia,&quot;">I</span></span> was working on one of my custom data views. After I inserted the &#8220;Created by&#8221; field, I found that I can&#8217;t remove it&#8217;s hyperlink. ( so users can click on it and then they&#8217;ll redirect to the user display page)</p>
<p>I didn&#8217;t want that! So after a little searching I found a solution <a href="http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/066e5fe1-276b-4a70-9b01-5cc20e9ca871" target="_blank">here</a>.</p>
<p>in the code view find the people and group field. You should format it as <span style="color:#003366;"><strong>Lable </strong></span>and then change te value of <span style="color:#003366;font-size:12px;"><strong>text </strong></span>property to: ( in my case it was Created by)</p>
<p><span style="color:#003366;font-size:10px;">text=&#8221;{substring-after(substring-before(substring-after(@Author, &#8216;ID=&#8217;), &#8216;&amp;lt;&#8217;), &#8216;&amp;gt;&#8217;)}&#8221;</span></p>
<p>In my case it worked !</p>
<p>if you copy and paste the above code, don&#8217;t forget to change the quotes and double quotes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=285&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/12/25/remove-hyperlink-from-a-people-group-field/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>CRM 2011, Deployment Manager Error</title>
		<link>http://sharepoint4u.wordpress.com/2010/11/20/crm-2011-deployment-manager-error/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/11/20/crm-2011-deployment-manager-error/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 19:28:42 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[CRM]]></category>
		<category><![CDATA[crm]]></category>
		<category><![CDATA[deployment manager]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=282</guid>
		<description><![CDATA[After installing Dynamics CRM 2011 Beta running the Deployment Manager fails with the following error message: MMC could not create snap-in. The snap-in might not have been installed correctly. Name: Deployment Manager CLSID: FX:{1ac9de3e-24ae-480d-9e15-65386b76e433} It seems that this is caused by the program either not requesting or applying elevated permissions incorrectly or not at all. Running [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=282&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After installing Dynamics CRM 2011 Beta running the Deployment Manager fails with the following error message:</p>
<p>MMC could not create snap-in. The snap-in might not have been installed correctly.</p>
<p>Name: Deployment Manager</p>
<p>CLSID: FX:{1ac9de3e-24ae-480d-9e15-65386b76e433}</p>
<p>It seems that this is caused by the program either not requesting or applying elevated permissions incorrectly or not at all.</p>
<p>Running the Deployment Manager as an Administrator resolves this issue. To permanently fix this problem i.e not having to select Run as Administrator every time, right-click the Deployment Manager icon in the Start Menu, Select Properties, Compatibility and Tick Run this program as an administrator. Apply the changes.</p>
<p>I found the solution <a href="http://www.johanpienaar.co.za/?p=5" target="_blank">here</a>. Thanks to Johan Pienaar.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=282&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/11/20/crm-2011-deployment-manager-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>Outlook security error when openning links</title>
		<link>http://sharepoint4u.wordpress.com/2010/08/01/outlook-security-error-when-openning-links/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/08/01/outlook-security-error-when-openning-links/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 10:24:25 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[operation]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[restriction]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=276</guid>
		<description><![CDATA[When I clicked to open links in my outlook I encountered this error : &#8220;This operation has been canceled due to restrictions in effect on this computer. Please contact your system administrator&#8221;. I searched and most of the solutions were for resetting default programs. Change default programs and reset IE to default . None of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=276&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I clicked to open links in my outlook I encountered this error :</p>
<p><strong><em>&#8220;This operation has been canceled due to restrictions in effect on this  computer. Please contact your system administrator&#8221;.</em></strong></p>
<p>I searched and most of the solutions were for resetting default programs. Change default programs and reset IE to default . None of them did help me .</p>
<p>I found new solutions <a href="http://www.slipstick.com/problems/link_restrict.htm" target="_blank">here</a>.</p>
<p><span style="color:#993300;"><em><strong>The second solution about changing a registry key helped me. but I found the html key not in HKEY_CURRENT_USER but in </strong></em></span></p>
<p><span style="color:#993300;"><em><strong>HKEY_LOCAL_MACHINE</strong></em></span></p>
<p><span style="color:#993300;"><em><strong>&gt; Software &gt; Classes</strong></em></span></p>
<p><span style="color:#993300;"><em><strong>find .htm &amp; .html</strong></em></span></p>
<p><span style="color:#993300;"><em><strong>in both change the Default String values ( in my case there were Opera.html ) to<span style="color:#339966;"> </span></strong><span style="color:#339966;"><strong>HTMLFile</strong></span></em></span></p>
<p>save and close and after restarting outlook , links opens fine in IE. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/276/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=276&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/08/01/outlook-security-error-when-openning-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Validation and Redirect to page in a SharePoint New form</title>
		<link>http://sharepoint4u.wordpress.com/2010/08/01/data-validation-and-redirect-to-page-in-a-sharepoint-new-form/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/08/01/data-validation-and-redirect-to-page-in-a-sharepoint-new-form/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 08:44:20 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=269</guid>
		<description><![CDATA[Hi ! You now that you can use a Data view to create SharePoint Forms. You choose your columns and select insert as new item and &#8230; But there is a problem here that some validation does not work in this mode. for example DropDown or radio button required fields buttons does not validate correctly. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=269&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi !</p>
<p>You now that you can use a Data view to create SharePoint Forms. You choose your columns and select insert as new item and &#8230;</p>
<p>But there is a problem here that <strong>some validation does not work in this mode</strong>. for example DropDown or radio button required fields buttons does not validate correctly. In the other hand the good thing is that you can use your custom form action and for example commit the changes and navigate to another page.</p>
<p>When you use a custom web part ( Inser -&gt; SharePoint Controls -&gt; Custom List Form ), the good thing is that <strong>all validations work fine </strong>but <strong>you can&#8217;t redirect to another page after submitting data</strong>. The RedirectUrl property of the button also didn&#8217;t work for me. I don&#8217;t know why.</p>
<p><span style="color:#008000;"><strong><em>So the question is how can we have a form with complete validation and redirecting after submit ?!</em></strong></span></p>
<p>I searched a lot find some solutions. I solved my problem by combining a custom form web part with a custom action button and changing in it&#8217;s code like this :</p>
<ol>
<li>You use Custom List Form and Use NewItem form. Now your validation works fine and you do not need to use custom JavaScript validations.</li>
<li>to navigate to another page after submitting data <strong>don&#8217;t</strong> use the RedirectURL property of the form button.</li>
<li>Insert a Form Action button in the page and change the hide property of the previous submit button to True. Now we can use the &#8220;Navigate to page&#8221; action of the new form action button<strong>. BUT it does not</strong> validate the form correctly so you should do a little change in the code. you have access to it&#8217;s java script code.</li>
<li>the original code is like this :<br />
<span style="color:#0000ff;">onclick=&#8221;javascript: {ddwrt:GenFireServerEvent(&#8216;__commit&#8217;)}&#8221;</span><br />
you should change it and add this code in the middle :<br />
<span style="color:#0000ff;">onclick=&#8221;javascript:<span style="color:#ff6600;"><strong> if (!Page_ClientValidate()) return false;</strong></span> {ddwrt:GenFireServerEvent(&#8216;__commit&#8217;)}&#8221;</span></li>
<li>for the &#8220;navigate to page&#8221; action if it didn&#8217;t work correctly. You should also change the URL in the code like this. in my case:<br />
onclick=&#8221;javascript: if (!Page_ClientValidate()) return false; {ddwrt:GenFireServerEvent(&#8216;__commit;<strong><span style="color:#ff6600;">__redirect={/en/Documents/Forms/Upload.aspx}</span></strong>&#8216;)}&#8221;</li>
</ol>
<p>now save and preview your page. I did it and everything worked like a charm. GOOD LUCK !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=269&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/08/01/data-validation-and-redirect-to-page-in-a-sharepoint-new-form/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>Solved : Library not registered</title>
		<link>http://sharepoint4u.wordpress.com/2010/07/13/solved-library-not-registered/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/07/13/solved-library-not-registered/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 14:14:24 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Library not registered]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=264</guid>
		<description><![CDATA[Hi. yesterday one of the secretariats told me that some JavaScripts like global navigation menu does not work for her. I checked her computer and saw in the left corner of the browser : &#8220;Error on Page&#8221; while loading our SharePoint site. when I do double-click on error to show the details &#8220;Problems with this web page might prevent it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=264&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi. yesterday one of the secretariats told me that some JavaScripts like global navigation menu does not work for her. I checked her computer and saw in the left corner of the browser :<strong><em> &#8220;Error on Page&#8221;</em></strong> while loading our SharePoint site.</p>
<p>when I do double-click on error to show the details<br />
<strong><em>&#8220;Problems with this web page might prevent it from displayed properly or functioning properly.&#8221;<br />
Detail Part shows:<br />
&#8220;Line: 1935<br />
Char: 4<br />
Error: Library not Registered.<br />
Code: 0<br />
URL:http://server/pages/default.aspx</em></strong></p>
<p>a small search was enough to find the problem and how to solve it.</p>
<p>Just open one office program and Run Office Diagnostic.</p>
<p>for example : Word 2007</p>
<p>  Office button -&gt; Word Options -&gt; Resources -&gt; Diagnose</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=264&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/07/13/solved-library-not-registered/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>How to use ASP.NET Web Site Administration Tool ( WSAT ) on Production Server</title>
		<link>http://sharepoint4u.wordpress.com/2010/07/04/web-site-administration-tool-wsat-on-production-server/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/07/04/web-site-administration-tool-wsat-on-production-server/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 13:59:02 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Develop Errors]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[production environment]]></category>
		<category><![CDATA[WSAT]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=257</guid>
		<description><![CDATA[You know that there is an ASP.Net Configuration section in VS 2005 or 2008  Website menu. By clicking this, an ASP.NET web site administration tool opens and you can configure your providers and create users and roles. In the development environment it&#8217;s easy to use because you simply click on Website and Asp.Net Configuration. BUT [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=257&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You know that there is an ASP.Net Configuration section in VS 2005 or 2008  Website menu. By clicking this, an ASP.NET web site administration tool opens and you can configure your providers and create users and roles. In the development environment it&#8217;s easy to use because you simply click on Website and Asp.Net Configuration.</p>
<p>BUT in the production server you may not want to install visual studio . so how can you use this tool ?</p>
<ol>
<li> In the server where you have VS 2005 installed, from VS create a new simple web site which you want to Administer. It can be a simple web site, the main idea is that we want to use WSAT to create user in the production server.</li>
<li> I am using File System to create the website and have called it CreateSQLUsers . ( Location : C:\Inetpub\wwwroot\CreateSQLUsers )</li>
<li> Click on the ASP.NET Configuration button in your Solution Explorer&#8217;s toolbox or Website menu.<br />
We will need the URL soon (in my case, it is&#8230; http://localhost:1347/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:\Inetpub\wwwroot\CreateSQLUsers\&amp;applicationUrl=/CreateSQLUsers)</li>
<li>Copy the contents of created web site to a folder in production server. ( I used the same path both in development and production server as C:\Inetpub\wwwroot\CreateSQLUser )</li>
<li>Now, go to your production server, Open IIS console.</li>
<li>Right Click on Web Sites -&gt; New -&gt; Web Site . Create a new web site and point it to the location where your website files is copied. ( C:\Inetpub\wwwroot\CreateSQLUser ) in my case site name is : SimpleSite on port : 200</li>
<li>Right-Click on your Web Site and New -&gt; Virtual Directory, Click on Next, give an Alias (WebSiteAdmin) and click Next<br />
In the Directory text box browse to&#8230; &#8220;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles&#8221; and click Next, Next and Finish.</li>
<li>Right-click on WebSiteAdmin and hit properties, Click on the &#8220;ASP.NET&#8221; Tab and check ASP.NET Version as 2.0.50727 and click Ok.</li>
<li>Right-Click on WebSiteAdmin and hit properties. In the &#8220;Virtual Directory&#8221; Tab if in the &#8220;Application name&#8221; section there&#8217;s no application, Click Create.</li>
<li>Open an instance of Internet Explorer and in the Address Bar Paste the URL from the development environment&#8230; and do some changes like this :<br />
http://<span style="color:#0000ff;">SimpleSite:200</span>/<span style="color:#0000ff;">WebSiteAdmin</span>/default.aspx?applicationPhysicalPath=<span style="color:#0000ff;">C:\Inetpub\wwwroot\CreateSQLUsers</span>\&amp;applicationUrl=/<span style="color:#0000ff;">CreateSQLUsers</span></li>
<li> You should be able to see ASP.NET Web Site Administration Tool (You can bookmark this so that you don&#8217;t have to remember that string)</li>
</ol>
<p>As you can see, we have changed the site name and port number and changed asp.netwebadminfiles to our application WebSiteAdmin.</p>
<p>***</p>
<p><span style="color:#0000ff;">NOTE :</span></p>
<p>If you encounter this error :</p>
<p><em><strong>An error was encountered. Please return to the previous page and try again. &#8220;</strong></em></p>
<p><em><strong>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: site at System.Web.Configuration.WebConfigurationHost.InitForConfiguration&#8230;.</strong></em></p>
<p>Here is reason and how to resolve :<em><strong><br />
</strong></em></p>
<p>The page responsible for opening the web.config file of the ASP.NET web application you specify is located in your ASP.NETWebAdminFiles folder, i.e. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles\. Then look for App_Code\WebAdminPage.cs. This much we know from the error.</p>
<p>On line 344 or 345 it is trying to open the configuration according to the application path you have specified in the querystring: <em>return WebConfigurationManager.OpenMappedWebConfiguration(fileMap, path);</em></p>
<p>However, this OpenMappedWebConfiguration method has two more optional parameters, the first of which is SITE &#8211; the one we are getting the error about. So I added a third parameter to this function: return WebConfigurationManager.OpenMappedWebConfiguration(fileMap, path, &#8220;<span style="color:#0000ff;">SimpleSite</span>&#8220;); This works as a charm!!</p>
<p>***</p>
<p>The above solution was found <a href="http://blogs.msdn.com/b/rahulso/archive/2006/03/09/how-to-use-web-site-administration-tool-without-installing-vs-2005.aspx" target="_self">here </a>. also Thanks to Magician comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=257&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/07/04/web-site-administration-tool-wsat-on-production-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>Advanced Search &#8220;Contains&#8221; Option</title>
		<link>http://sharepoint4u.wordpress.com/2010/07/03/advanced-search-contains-option/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/07/03/advanced-search-contains-option/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 19:13:37 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Search Service]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[advanced search]]></category>
		<category><![CDATA[contain]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=254</guid>
		<description><![CDATA[In some of the more recent builds of MOSS, the &#8220;contains&#8221; and &#8220;does not contain&#8221; options for advanced searches have been removed. This was done because of query performance concerns expressed by a significant number of customers.These options were removed from the default Advanced Search page with hotfix 950280 (and all other cumulative MOSS 2007 updates released [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=254&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">In some of the more recent builds of MOSS, the &#8220;contains&#8221; and &#8220;does not contain&#8221; options for advanced searches have been removed. This was done because of query performance concerns expressed by a significant number of customers.These options were removed from the default Advanced Search page with hotfix 950280 (and all other cumulative MOSS 2007 updates released since) due to potential performance issues <a href="http://support.microsoft.com/?kbid=950437">http://support.microsoft.com/?kbid=950437</a> - <strong>Expensive Transact-SQL queries are generated in the back-end instance of SQL Server when you perform a search in SharePoint Server 2007.</strong> If you are not worried about the query perfomance hit, you can make this option available to users with a small amount of work. Take the following steps to do so.</p>
<p>1.       From your search center, go to the Advanced Search Page<br />
2.       Click Site Actions-&gt;Edit Page<br />
3.       On the “Advanced Search Box” web part, click edit -&gt; Modify Shared Web Part<br />
4.       Expand the Properties tab<br />
5.       In the “Properties” textbox, find &lt;Option Name=&#8221;AllowOpContains&#8221; Value=&#8221;False&#8221;/&gt; under root the node. If it does not exist, create it.<br />
6.       Change value from “False” to “True” and click OK<br />
7.       Click “Publish” to publish the page</p>
<p style="text-align:justify;">Resources :</p>
<ol>
<li>
<div style="text-align:justify;"><a href="http://blogs.msdn.com/b/ronalg/archive/2008/08/19/advanced-search-contains-option.aspx" target="_blank">Ron Grzywacz&#8217;s Blog</a></div>
</li>
<li>
<div style="text-align:justify;"><a href="http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=61" target="_self">Brendan Griffin</a></div>
</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=254&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/07/03/advanced-search-contains-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Clear a List in SharePoint</title>
		<link>http://sharepoint4u.wordpress.com/2010/04/04/how-to-clear-a-list-in-sharepoint/</link>
		<comments>http://sharepoint4u.wordpress.com/2010/04/04/how-to-clear-a-list-in-sharepoint/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 06:35:56 +0000</pubDate>
		<dc:creator>Navid.R</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[clear list]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://sharepoint4u.wordpress.com/?p=248</guid>
		<description><![CDATA[This is the code you can use :<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=248&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>This is the code you can use :</p>
<p><pre class="brush: csharp;">

    private static void ClearList(SPList listToClear)

    {

        int initialItemCount = listToClear.Items.Count;

         for (int counter = 0; counter &lt; initialItemCount; counter++)

        {

            // Always delete the list item at index 0

            SPListItem listItemToClear = listToClear.Items[0];

            listItemToClear.Delete();

        }

        listToClear.Update();

    }
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepoint4u.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepoint4u.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepoint4u.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepoint4u.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepoint4u.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepoint4u.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepoint4u.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepoint4u.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepoint4u.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepoint4u.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepoint4u.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepoint4u.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepoint4u.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepoint4u.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepoint4u.wordpress.com&amp;blog=4460231&amp;post=248&amp;subd=sharepoint4u&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepoint4u.wordpress.com/2010/04/04/how-to-clear-a-list-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02ed7109d014b0b30de6095420f1f25b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Navid.R</media:title>
		</media:content>
	</item>
	</channel>
</rss>
