﻿<?xml version="1.0" encoding="UTF-8"?>
<!--RSS generated by Microsoft SharePoint Foundation RSS Generator on 9/6/2010 6:30:31 AM -->
<?xml-stylesheet type="text/xsl" href="/Blog/_layouts/RssXslt.aspx?List=1fef67f0-70ca-4263-b683-f10c1958687a" version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Portal Solutions Blog</title>
    <link>http://www.portalsolutions.net/Blog/Lists/Posts/AllPosts.aspx</link>
    <description>RSS feed for Portal Solutions Blogs</description>
    <lastBuildDate>Mon, 06 Sep 2010 10:30:31 GMT</lastBuildDate>
    <generator>Microsoft SharePoint Foundation RSS Generator</generator>
    <ttl>60</ttl>
    <language>en-US</language>
    <image>
      <title>Blog: Posts</title>
      <url>http://www.portalsolutions.net/Blog/_layouts/images/homepage.gif</url>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/AllPosts.aspx</link>
    </image>
    <item>
      <title>How to leverage SharePoint 2010 dialogs?</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=88</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClass35E6501B012041FEB3D84EC21F0C9D0C"><p><div>SharePoint 2010 has a robust modal dialog system that can be easily leveraged to build highly interactive solutions. Imaging being able to  pop-up item edit forms or displaying notifications all without redirecting the user back and forth!</div>
<div>Here is the client side JavaScript that will allow you to open any page within a dialog box-</div>
<blockquote><pre class="csharpcode"><span class="rem">//Handle the DialogCallback callback</span>
<span class="kwrd">function</span> DialogCallback(dialogResult, returnValue){
    window.location = window.location;
}

<span class="rem">//Open the Dialog</span>
<span class="kwrd">function</span> OpenEditDialog(link){
    <span class="kwrd">var</span> options = {
        url:link + <span class="str">'&amp;IsDlg=1'</span>,
        width: 700,
        height: 700,
        dialogReturnValueCallback: DialogCallback};
    SP.UI.ModalDialog.showModalDialog(options);
}</pre>
<style>
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode, .ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode pre
{margin:0em;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .rem
{color:#008000;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .str
{color:#006080;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .op
{color:#0000c0;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .preproc
{color:#cc6633;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .html
{color:#800000;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .attr
{color:#ff0000;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .lnum
{color:#606060;}
</style></blockquote>
<style>
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode, .ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode pre
{margin:0em;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .rem
{color:#008000;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .str
{color:#006080;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .op
{color:#0000c0;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .preproc
{color:#cc6633;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .html
{color:#800000;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .attr
{color:#ff0000;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass35E6501B012041FEB3D84EC21F0C9D0C .csharpcode .lnum
{color:#606060;}
</style><div>To invoke the dialog, simply call the OpenEditDialog function with the target URL.</div>
<div>Notice that the IsDlg=1 query string parameter is appended within the OpenEditDialog function. The presence of “IsDlg” dynamically loads the &quot;/_layouts/styles/dlgframe.css” file which applies “display:none” to all items using the “s4-notdlg” css class. This effectively hides items of this class in a dialog box. For example, v4.master uses the “s4-notdlg” class for the Ribbon control to hide the ribbon within dialogs.</div>
​</p></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=9&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=9&RootFolder=*">WCM</a></div>
<div><b>Published:</b> 8/31/2010 7:45 PM</div>
<div><b>Trackback ping URLs:</b> http://www.pranavsharma.com/blog/2010/08/31/how-to-leverage-sharepoint-2010-dialogs/</div>
]]></description>
      <author>Pranav Sharma</author>
      <category>MOSS; WCM</category>
      <pubDate>Wed, 01 Sep 2010 02:46:27 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=88</guid>
    </item>
    <item>
      <title>Applying Site Templates Programmatically in SharePoint 2010</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=87</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClass642EFBFA70004736B09B56369A73C287"><div><b><font face="Calibri">Applying Site Templates Programmatically in SharePoint 2010</font></b></div>
<div><font face="Calibri">In previous versions of SharePoint, applying a site template (STP) to a new site through the object model was just a matter of referencing the template by its filename. </font></div>
<div><span style="font-family:consolas;font-size:9.5pt"> </span></div>
<img alt="code1.jpg" src="/Blog/PublishingImages/code1.jpg" style="margin:5px" /><br /><div><font face="Calibri">In SharePoint 2010, site templates are stored and referenced a little bit differently. When saving a site as a template, the site is packaged as a WSP and stored in the site collection solution gallery. The contents of the template are different from STP’s which is why they are not compatible and you must re-save all your templates when migrating to SharePoint 2010.<br /></font></div>
<div><span><font face="Calibri"><img alt="solution.jpg" src="/Blog/PublishingImages/solution.jpg" style="margin:5px" /></font></span></div>
<div><font face="Calibri"><br />Attempting to apply a template by name no longer works and you will receive an error saying the template cannot be found. The reason being that template names are now stored with a GUID that is unique to the site collection where the template resides. NOTE: The GUID is not the same as the Solution Id that you see above. The easiest way I’ve found so far to determine the template name is to use a PowerShell script. <br /></font><font face="Calibri"><b><br />Script: <br /></b>Add-pssnapin Microsoft.Sharepoint.PowerShell<br />$site = get-spsite “http://server.url” //Replace with your URL<br />$site.GetWebTemplates(1033) | format-table name<b></b></font></div>
<div><font face="Calibri"><br />After running the script, you should get output that looks like the following.<br /></font></div>
<img alt="templatescript.jpg" src="/Blog/PublishingImages/templatescript.jpg" style="margin:5px" /><br /><div><font face="Calibri">This is the template name that you must use when applying the template to a new site. <br /><br /><img alt="code2.jpg" src="/Blog/PublishingImages/code2.jpg" style="margin:5px" /></font></div>
<div><font face="Calibri">One thing that I’m still looking into is deploying site template solutions globally. In 2007 it was a simple command:</font></div>
<div><span style="font-family:symbol"><span>·<span style="font:7pt &quot;times new roman&quot;">         </span></span></span><font face="Calibri">stsadm –o addtemplate –filename ProjectTemplate.stp –title “Project Template”</font></div>
<div><font face="Calibri">However, in 2010 this command no longer works and I have yet to find some type of global solution gallery in which to deploy. Adding the solution via stsadm –o addsolution does not seem to work either. I will update this post if I find another way. </font></div></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*">WSS</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a></div>
<div><b>Published:</b> 8/27/2010 11:37 AM</div>
<div><b>Categories:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*">WSS</a></div>
]]></description>
      <author>Hector Ramos</author>
      <category>WSS; MOSS</category>
      <pubDate>Fri, 27 Aug 2010 18:40:42 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=87</guid>
    </item>
    <item>
      <title>Inherit Site Theme programmatically</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=86</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClassC6A0345017E34044ABFAF83A7B864456"><p>The Microsoft.SharePoint.Utilities namespace contains a class called ThmxTheme which gives us some nice utility methods to interact with site themes in SharePoint 2010. Here is an example of how to automatically set the theme for a newly created SPWeb to be the same as the root web-</p>
<blockquote><blockquote><blockquote><pre class="code"><span style="color:#2b91af">ThmxTheme</span>.SetThemeUrlForWeb(newWeb, <span style="color:#2b91af">ThmxTheme</span>.GetThemeUrlForWeb(newWeb.Site.RootWeb));</pre></blockquote></blockquote></blockquote>
  <p> </p>
<p>Do you know of a nicer way to inherit site themes? Please post a comment below.</p>
<p> </p></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a></div>
<div><b>Published:</b> 7/20/2010 6:40 PM</div>
<div><b>Categories:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a></div>
<div><b>Trackback ping URLs:</b> http://www.pranavsharma.com/blog/2010/07/20/inherit-site-theme-programmatically/</div>
]]></description>
      <author>Pranav Sharma</author>
      <category>MOSS</category>
      <pubDate>Wed, 21 Jul 2010 01:42:38 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=86</guid>
    </item>
    <item>
      <title>Avoiding URL Encoding in SharePoint</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=84</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClassEB8D55D53241440DA853B79E3D6246F1"><p>As you work with content in SharePoint you'll notice a few oddities and also inconsistencies in how SharePoint handles certain content attributes. One of the most glaring inconsistencies is how SharePoint handles spaces in URLs. If you notice when you send a link to someone in SharePoint, and it has a %20 in it and wonder why then this is for you.</p>  <p><strong>The Reason Why</strong></p>  <p>SharePoint automatically adds the %20 which is the encoded equivalent for a space. URLs in HTTP do not like spaces so it's safer to add an encoded value then to leave it blank. However, it's nasty and leads to very unreadable URLs. This is especially problematic for public content where a readable URL is very important (and has led to a popularity of <a href="http://en.wikipedia.org/wiki/Permalink">&quot;pretty permalinks&quot;</a>).​</p>  <p><strong>How to Get Around This Behavior</strong></p>  <p>There are ways to avoid this in your SharePoint content URLs, but SharePoint doesn’t handle it consistently. You would think that it would handle creation of URLs consistently, but it differs when creating different kinds of content. I also hoped this would’ve been fixed in SharePoint 2010 as it’s common to programmatically add an underscore (which SharePoint does do for some content but not others) or remove the space entirely. Regardless, here are several different kinds of content that can be created in SharePoint, and here is how to avoid those %20 in the URL.</p>  <ul>   <li><strong>List/Libraries</strong> – SharePoint does not allow you to specify a URL when creating a list or library. To avoid the space specify the title for the list/library using <a href="http://en.wikipedia.org/wiki/CamelCase">camel casing</a> (when I mention camel casing that’s a preference, you can simply keep the characters all upper or lower case). For instance, when specifying the title use “ProjectContacts” as the title for the list, and after it has been created go and modify the title (List/Library Settings – Title, description, and icon) to add the space in. If you create it with spaces you cannot change the URL so you’ll have to delete and recreate to remove the encoded spaces. </li>    <li><strong>Sites</strong> – SharePoint does allow you to specify URLs when creating sites. So to avoid the encoding be sure to specify the URL text box as a string without spaces. So use “HumanResources” and not “Human Resources.” </li>    <li><strong>Views</strong> – Views are one of the few items where the URL can be changed after creation. In fact, you can only specify the view URL after it has been created (not sure why this is). You have two options: you can either create the view and specify a name with spaces then go back in and edit the view to remove the spaces from the URL, or you can camel case and go back in and add the space to the title like you do for list/libraries. </li>    <li><strong>Document Names</strong> – To avoid the encoding you have to have no spaces in the name for the document. Whether the space exists before upload or you add it afterwards in the edit metadata screen it will show the %20. It’s unavoidable unless you keep the name with no spaces and use the the title field in addition to the name column. </li>    <li><strong>Pages</strong> – In SharePoint 2010 when you create the page from the site actions menu it tells you it will add a hyphen between spaces. If you create the page from inside the pages library by specifying a content type it will allow you to specify the URL and shows you it will add the .aspx suffix. In the latter case simply camel case the URL. </li>    <li><strong>Wiki Pages</strong> – Finally, what would a bad news post on SharePoint be worth if I didn’t eventually tell you there was somewhere you had no control over the behavior. In SharePoint wiki pages you either make the choice of having no spaces in the title that will give a URL without encoding or you add spaces and the encoding. It’s one or the other, and chances are you don’t want a page title without spaces. </li> </ul>  <p>There are many types of content in SharePoint, but these are the big ones worth mentioning. I hope that either some third party solution will come out to handle this nasty behavior, or eventually Microsoft will realize this is an issue and fix it either in a service pack or more likely a completely new version.</p></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=4&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=4&RootFolder=*">Troubleshooting</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a></div>
<div><b>Published:</b> 7/10/2010 11:17 AM</div>
]]></description>
      <author>Chris Poteet</author>
      <category>Troubleshooting; MOSS</category>
      <pubDate>Sat, 10 Jul 2010 18:17:12 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=84</guid>
    </item>
    <item>
      <title>Cannot modify Title field in Content Type declaration</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=85</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClass415DF675F34D4F2B912927B807F1C72A"><div><strong>Problem <br /></strong>Unable to make changes to the title field when declaring a content type in SharePoint 2010. For example, the following declaration has NO EFFECT on the title field being required-</div>
<blockquote><pre class="csharpcode"><p><span class="kwrd">&lt;</span><span class="html">ContentType</span> <span class="attr">ID</span><span class="kwrd">=&quot;0x010092E61E2438E84353B7211741448DE18A&quot;</span>
             <span class="attr">Name</span><span class="kwrd">=&quot;Example&quot;</span>
             <span class="attr">Inherits</span><span class="kwrd">=&quot;TRUE&quot;</span>
             <span class="attr">Version</span><span class="kwrd">=&quot;0&quot;</span><span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;</span><span class="html">FieldRefs</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">RemoveFieldRef</span> <span class="attr">ID</span><span class="kwrd">=&quot;{fa564e0f-0c70-4ab9-b863-0177e6ddd247}&quot;</span> <span class="attr">Name</span><span class="kwrd">=&quot;Title&quot;</span> <span class="kwrd">/&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">FieldRef</span> <span class="attr">ID</span><span class="kwrd">=&quot;{fa564e0f-0c70-4ab9-b863-0177e6ddd247}&quot;</span> <span class="attr">Name</span><span class="kwrd">=&quot;Title&quot;</span> <span class="attr">Required</span><span class="kwrd">=&quot;FALSE&quot;</span> <span class="kwrd">/&gt;</span></p>
<p><span class="kwrd"></span> </p></pre>
<style>
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode, .ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode pre
{margin:0em;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .rem
{color:#008000;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .str
{color:#006080;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .op
{color:#0000c0;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .preproc
{color:#cc6633;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .html
{color:#800000;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .attr
{color:#ff0000;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass415DF675F34D4F2B912927B807F1C72A .csharpcode .lnum
{color:#606060;}
</style></blockquote>
<div><strong>Workaround<br /><br /></strong>Attach a feature receiver to your content type and use the object model to modify the Title field-</div>
<blockquote><pre class="csharpcode"><p><span style="color:#2b91af">SPContentType </span>contentType =
     site.RootWeb.ContentTypes[
             <span class="kwrd">new</span> <span style="color:#2b91af">SPContentTypeId</span>(contentTypeId)];
<span style="color:#2b91af">SPFieldLink </span>title = contentType.FieldLinks[<span style="color:#a31515">&quot;Title&quot;</span>];
title.Required = <span class="kwrd">false</span>;
contentType.Update(<span class="kwrd">true</span>);</p>
<p> </p></pre></blockquote>
<div><strong>Discussion<br /><br /></strong>This is a ‘cheap’ solution so to speak because modifying the content type via the object model disconnects it from the XML definition thus making future updates messier (<a href="http://soerennielsen.wordpress.com/2007/09/11/propagate-site-content-types-to-list-content-types/" target="_blank">Read More</a>).</div>
<div>I’m a strong advocate of doing things declaratively and this solution clearly violates that rule. <a href="http://blog.xsolon.net/" target="_blank">A colleague of mine</a> made a case for writing content types completely non-declaratively using the object model.</div>
<div><strong><em>What best practices do you follow when writing content types?</em></strong></div>
</div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=4&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=4&RootFolder=*">Troubleshooting</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*">WSS</a></div>
<div><b>Published:</b> 7/12/2010 1:09 PM</div>
<div><b>Categories:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=13&RootFolder=*">WSS</a>; <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=4&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=4&RootFolder=*">Troubleshooting</a></div>
<div><b>Trackback ping URLs:</b> http://www.pranavsharma.com/blog/2010/07/12/cannot-modify-title-field-in-content-type-declaration/</div>
]]></description>
      <author>Pranav Sharma</author>
      <category>Troubleshooting; MOSS; WSS</category>
      <pubDate>Mon, 12 Jul 2010 20:11:02 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=85</guid>
    </item>
    <item>
      <title>Content Deployment to blank site</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=83</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClass214AB1197E4B4F60AE8A7B5080F34C16"><p> </p>
<p> </p>
<p>When you make use of content deployment you need to deploy to a blank site.  Using Central Admin ​to create the site by selecting the blank template will not work.  Instead you need to create the site from the command line using STSADM.</p>
<p> </p>
<p>Example:  c:\program files\common files\microsoft shared\ web server extensions\12\bin&gt;stsadm -o createsite -url http://sitename -owneremail bob@company.com -ownerlogin domain\bob</p>
<p> </p>
<p>Hopefully this will save you a bit of wasted time and effort.</p>
<p><p> </p>
<p> </p> </p></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a></div>
<div><b>Published:</b> 6/30/2010 2:10 PM</div>
]]></description>
      <author>Gary Hess</author>
      <category>MOSS</category>
      <pubDate>Wed, 30 Jun 2010 21:22:13 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=83</guid>
    </item>
    <item>
      <title>The Pros and Cons of Telecommuting</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=82</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass650BDFF528CF4FE2AC56A49D42E5756F>
<div>Telecommuting has become an increasingly popular benefit offered by companies to their employees especially in the IT sector. Many people start these jobs without understanding the full implications of such a lifestyle choice.</div>
<div> </div>
<div>As one of Portal Solution's full time remote employees, I'd like to share some of my experience and things I've learned to remain effective while telecommuting. Portal Solutions does allow their employees to work from home on occasion even when they are local, so this would apply on a smaller scale to that work situation as well.</div>
<div> </div>
<div><strong>The Pros of Telecommuting</strong></div>
<div> </div>
<div>Telecommuting has some advantages that make it a particularly attractive alternative for employees. While the telecommuting situation is most often desired by employees there are benefits to the employer as well.</div>
<ul>
<li><strong>Physical commuting ceases to exist.</strong> The most amount of commuting I do on a daily basis is from my bedroom into the office, and there are no traffic jams in between.</li>
<li><strong>There is no dress code.</strong> I don't have to worry about ironing pants or shirts since I work in casual clothes all the time.</li>
<li><strong>You are close to family.</strong> Most jobs pull apart families for at least 40 hours a week, but in this situation that doesn't exist.</li>
<li><strong>More flexible than flex time.</strong> Telecommuting allows you to work when you want (within reason) as long as you complete your tasks and hourly requirements.</li>
<li><strong>Less distractions during the day.</strong> During a normal work day there are many impromptu meetings and discussions that can interrupt your workflow, and a remote worker often isn't included in those.</li>
<li><strong>Cheaper to have employees.</strong> If a company is completely a remote workplace then there is no need for physical offices, utilities, etc.</li></ul>
<p><strong>The Cons of Telecommuting</strong></p>
<p>Even though telecommuting appears on the surface to be all positive there are some things to keep in mind.</p>
<ul>
<li><strong>No real relationships with co-workers.</strong> One of the fun things about work is that your co-workers become your extended family. When you're remote it's difficult to build that level of familiarity especially when you miss out on birthday parties, company picnics, etc. Also, sometimes the most productive work happens informally, and it can't be duplicated working remotely.</li>
<li><strong>You are close to family.</strong> Even though this was listed as a pro it is also a con. Family can often get in the way of productive work if they are not giving you space while you work.</li>
<li><strong>Chores around the house await.</strong> For some reason when you're working from home the immediacy of needing to clean your apartment/house increases. It's not fun to work in disheveled environment.</li>
<li><strong>The need to travel.</strong> Some may view this as a pro or con, but telecommuting most often requires of the employee the need to travel whether to the main office or to a client site.</li>
<li><strong>The blurry line between work and home life.</strong> When going into an office it's much easier to separate your work from home life since they live in different physical locations but not so when telecommuting. Your home is your workplace, and if you're not careful one can consume the other.</li></ul>
<p><strong>Tips to Stay Productive</strong></p>
<p>While there are pros and cons to working remotely there are some things you can do to stay productive and maintain a good relationship with your employer.</p>
<ul>
<li><strong>Stay in constant communication.</strong> The responsibility lies with the remote worker to maintain active communication with everyone. You must not let yourself fall between the cracks.</li>
<li><strong>Be involved when you're in the office.</strong> Whenever I travel to the office I make an extra effort to do activities with my co-workers. This might be meals, hanging out at night, or even getting the opportunity to enjoy those informal conversations.</li>
<li><strong>Ensure personal accountability. </strong>The remote worker is responsible to an even greater degree that their tasks are being done effectively and efficiently. The best way to ensure this is to set up accountability for yourself and not wait on others to do it for you.</li>
<li><strong>Get into a working mindset.</strong> Some remote workers still dress up like they're going to work to ensure they stay in a work mindset. Do what you need to do to put your attention to work when it's time to do so.</li>
<li><strong>Set up work/home boundaries.</strong> After you've worked your eight or so hours for the day you have to consciously put work down to focus on your home life.</li></ul>
<p><strong>Conclusion</strong></p>
<p>As you can see there are real pros and cons to this lifestyle, but when you take necessary steps to ensure success then both the employee and employer can have a successful experience.</p></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=12&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=12&RootFolder=*">Misc</a></div>
<div><b>Published:</b> 6/11/2010 8:00 AM</div>
]]></description>
      <author>Chris Poteet</author>
      <category>Misc</category>
      <pubDate>Thu, 10 Jun 2010 13:37:33 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=82</guid>
    </item>
    <item>
      <title>SharePoint 2010 – Is it living it up to the hype?</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=81</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassB6B0479C7C7D4E99828697D4B915D3EC><p>SharePoint 2010 has been released for about a month now and at Portal Solutions, we had the chance to work with pre-release of the product since June of 2009. With every new release version of SharePoint, the product comes with its set of hypes, excitement and also disappointments. 
</p><p>So what is the hype all about? I really like the new user interface, Fluent UI, document management capabilities, records management, new search interface, integration of FAST, term store and meta-data management. I am also excited about the development capabilities, integration with Visual Studio and how much easier it is to build on the platform.
</p><p>So why should I be disappointed? Well, the licensing and packaging is still too confusing, complicated and not always in line to what customers wants. I actually gave a presentation at the last SharePoint Saturday (<a href="http://www.slideshare.net/dcohendumani/sharepoint-saturday-dc-from-sharepoint-foundation-to-sharepoint-server">click here</a> to see my slides) on the SharePoint packaging, evolution and licensing. Microsoft also published a nice Silverlight editions browser, <a href="http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx">here</a>. Confusing isn't it?
</p><p>Personally, I am also quite disappointed that Microsoft did not enhance some of the core features of the collaboration platform. Discussion boards and Survey are still as basic as they were in V1 and although it is easier to customize them, it still leaves a lot to be desired. Contact lists and Tasks list are still too basic to be meaningful. And Exchange integration, well you need Outlook to integrate your SharePoint and personal calendar. And how about Document Libraries, it still does not have the Item Level Permissions template. I know we can get a feature from <a href="http://ilp.codeplex.com/">codeplex</a> but shouldn't this be included? Lastly, we all love the term store and its ability to store hierarchical meta-data. This is a great concept that we were all waiting for a long time but until all the client machine are upgraded to Office 2010, it is going to be difficult to force adoption. Isn't it time for Microsoft to admit that business users adoption of new Office application tend to come years after the server is upgraded. Most businesses are still working on their Office 2007 plan so Office 2010 maybe in 2012.
</p><p>So I will love to hear your thoughts, ping me on twitter @dcohendumani
</p></div></div>
<div><b>Published:</b> 6/7/2010 2:42 PM</div>
]]></description>
      <author>Daniel Cohen-Dumani</author>
      <pubDate>Mon, 07 Jun 2010 21:42:23 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=81</guid>
    </item>
    <item>
      <title>Portal Solutions Security Group Cleanup Tool</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=80</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass6B7A02D21AF0413D9A88A1DBFFE2474D><div>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>Cleaning up unused SharePoint Security Groups is one of the most tedious things for a Site Administrator to handle. First of all, the Site Administrator has to manually go through each individual SharePoint Security Groups and check if there are users assigned to them. If no users are assigned to the security group then the administrator will have to remove the Security Group. This can become a nuisance when you have the possibility of having hundreds of SharePoint Security Groups throughout your site. The tool is also handy during the development or testing phases of any SharePoint development. Portal Solutions has developed a tool that can check all of the Security Groups which were created, and if no users are assigned to them the tool will remove the Security Groups automatically. The tool can also be set as a scheduled task which will run periodically on your SharePoint Site. The Portal Solutions Security Group Cleanup Tool will be coming to codeplex soon!</font></font></p></div></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a></div>
<div><b>Published:</b> 6/4/2010 8:15 AM</div>
<div><b>Categories:</b> <a onclick="OpenPopUpPage('http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://www.portalsolutions.net/Blog/_layouts/listform.aspx?PageType=4&ListId={8F78E03A-E0DE-4660-A62E-016FCA0576C2}&ID=5&RootFolder=*">MOSS</a></div>
]]></description>
      <author>Arya Parsee</author>
      <category>MOSS</category>
      <pubDate>Fri, 04 Jun 2010 15:15:42 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=80</guid>
    </item>
    <item>
      <title>Error occurred in deployment step ‘Activate Features’</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=79</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass87E3BFD763F14123AF6842F3AA39682D>
<p><strong>Problem</strong> <br>An error related to feature activation is generated when deploying a sharepoint wsp package using visual studio 2010’s default deployment configuration -</p>
<p><em>Error occurred in deployment step ‘Activate Features’</em></p>
<p><strong>Workaround 1</strong> <br>Use the “No Activation” deployment configuration and use Post-deployment command-line operations to manually activate your features since the retraction process will deactivate your features regardless.</p>
<p><strong>Workaround 2</strong> <br>Deploy using default configuration until you see error message. Then manually Enable/Disable problem features and then RE-DEPLOY using default configuration- <br>1) Enable-SPFeature -identity &quot;FeatureTitle&quot; -Url http://localhost <br>2) Disable-SPFeature -identity &quot;FeatureTitle&quot; -Url http://localhost</p>
<div></div></div></div>
<div><b>Published:</b> 5/26/2010 2:18 PM</div>
<div><b>Trackback ping URLs:</b> http://www.pranavsharma.com/blog/2010/05/26/error-occurred-in-deployment-step-activate-features/</div>
]]></description>
      <author>Pranav Sharma</author>
      <pubDate>Wed, 26 May 2010 21:19:28 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=79</guid>
    </item>
    <item>
      <title>Anonymous Blog under publishing site in Sharepoint</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=14</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass69A1D0FA3580426E91A7BBFF7256FCE7>
<div>
<div class=ExternalClassEFF2A2C2769C4F9280575068EC3214A2>
<div>Some web-facing sites may need to implement a blog as part of the hierarchy. There are a few things to keep in mind when trying to get an anonymous blog to work under a publishing site.</div>
<ol>
<li>Make sure that in <font color="#ff0000">Central Administration </font>&gt; Application management, you have enabled anonymous acces on your web app</li>
<li>Make sure that you have enabled anonymous access in your site settings for the publishing <font color="#ff0000">root site</font></li>
<li>Disable the <font color="#ff0000">ViewFormPagesLockDown</font> feature on your MOSS 2007 server*</li>
<li>For your <font color="#ff0000">POSTS</font> list, first disjoin the permissions from the root site and then edit the anonymous access settings to let anonymous users view blog posts</li>
<li>If you want <font color="#ff0000">comments</font> by unauthenticated users, disjoin the permissions from the rooth site and then enable view and add permissions for anonymous access users</li>
<li>Repeat the permissions process for any other relevant lists that you want</li></ol>
<p>*It is critical to disable the ViewFormPagesLockDown feature BEFORE creating the blog site.</p></div></div></div></div>
<div><b>Published:</b> 2/4/2007 2:55 PM</div>
<div><b>BlogTitleForUrl:</b> anonymous-blog-under-publishing-site-in-sharepoint</div>
]]></description>
      <author>System Account</author>
      <pubDate>Sun, 04 Feb 2007 22:56:15 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=14</guid>
    </item>
    <item>
      <title>STP uploaded by feature doesn’t appear on create page</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=78</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass08BAB8F5458346E39E43EC445243A60A><p><strong>Problem<br></strong>STP list templates uploaded using a feature are not available to instantiate on create.aspx</p>
<p><strong>Solution<br></strong>When you upload a list template (STP) using a feature to the list template gallery ( _catalogs/lt ), you must set some attributes in order for the template to show up on the create.aspx page-</p><pre class=csharpcode><font size=2><span class=kwrd>&lt;</span><span class=html>Elements</span> <span class=attr>xmlns</span><span class=kwrd>=&quot;http://schemas.microsoft.com/sharepoint/&quot;</span><span class=kwrd>&gt;</span>
    <span class=kwrd>&lt;</span><span class=html>Module</span> <span class=attr>Url</span><span class=kwrd>=&quot;_catalogs/lt&quot;</span> <span class=attr>Name</span><span class=kwrd>=&quot;PS.AACP.Stp&quot;</span> <span class=attr>Path</span><span class=kwrd>=&quot;&quot;</span><span class=kwrd>&gt;</span>
        <span class=kwrd>&lt;</span><span class=html>File</span> <span class=attr>Url</span><span class=kwrd>=&quot;StpTest.stp&quot;</span> <span class=attr>Type</span><span class=kwrd>=&quot;GhostableInLibrary&quot;</span> <span class=attr>IgnoreIfAlreadyExists</span><span class=kwrd>=&quot;TRUE&quot;</span><span class=kwrd>&gt;</span>
           <span class=kwrd>&lt;</span><span class=html>Property</span> <span class=attr>Name</span><span class=kwrd>=&quot;Title&quot;</span> <span class=attr>Value</span><span class=kwrd>=&quot;StpTest&quot;</span> <span class=kwrd>/&gt;</span>
           <span class=kwrd>&lt;</span><span class=html>Property</span> <span class=attr>Name</span><span class=kwrd>=&quot;Language&quot;</span> <span class=attr>Value</span><span class=kwrd>=&quot;1033&quot;</span> <span class=kwrd>/&gt;</span>
           <span class=kwrd>&lt;</span><span class=html>Property</span> <span class=attr>Name</span><span class=kwrd>=&quot;FeatureID&quot;</span> <span class=attr>Value</span><span class=kwrd>=&quot;{D90095AD-86D4-4e55-AE28-119E21530552}&quot;</span> <span class=kwrd>/&gt;</span>
        <span class=kwrd>&lt;/</span><span class=html>File</span><span class=kwrd>&gt;</span>
    <span class=kwrd>&lt;/</span><span class=html>Module</span><span class=kwrd>&gt;</span>
<span class=kwrd>&lt;/</span><span class=html>Elements</span><span class=kwrd>&gt;</span>
</font></pre>
<p><strong>
<style>
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode, .ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode pre
{font-size:small;color:black;font-family:Consolas, &quot;Courier New&quot;, Courier, Monospace;background-color:#ffffff;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode pre
{margin:0em;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .rem
{color:#008000;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .str
{color:#006080;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .op
{color:#0000c0;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .preproc
{color:#cc6633;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .html
{color:#800000;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .attr
{color:#ff0000;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass08BAB8F5458346E39E43EC445243A60A .csharpcode .lnum
{color:#606060;}
</style>
</strong></p></div></div>
<div><b>Published:</b> 5/6/2010 12:52 PM</div>
<div><b>Trackback ping URLs:</b> http://www.pranavsharma.com/blog/2010/05/06/stp-uploaded-by-feature-doesnt-appear-on-create-page/</div>
]]></description>
      <author>Pranav Sharma</author>
      <pubDate>Thu, 06 May 2010 19:54:58 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=78</guid>
    </item>
    <item>
      <title>SharePoint 2010 Site Themes are not exact</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=77</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass665EEA799D87424D84806C8B498012C0><p>SharePoint 2010 doesn’t directly apply a site theme but instead generates its own colors based upon the theme. Let me explain by example-</p>
<p>The default top navigation bar in SharePoint 2010 uses ‘Accent 1’ from the site theme to determine the background color for each one of the navigation items. However, SharePoint doesn’t directly use the user-provided hex code for this accent. Instead, there seems to be some sort of a ‘normalizing’ algorithm that generates a new hex code. </p>
<p>1) Let us set the Accent 1 color for our site theme to Red (#FF0000):</p>
<p><a href="http://www.pranavsharma.com/blog/wp-content/uploads/2010/05/image.png"><img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px" title="Accent 1 Select a Color Color Old Color #FF0000 New Color #FF0000 OK Cancel" border=0 alt="Accent 1 Select a Color Color Old Color #FF0000 New Color #FF0000 OK Cancel" src="http://www.pranavsharma.com/blog/wp-content/uploads/2010/05/image_thumb.png" width=537 height=363></a> </p>
<p>2) Now inspect the global top navigation bar and what you’ll notice is that the background color is NOT what you would have expected. SharePoint interpreted the red accent and generated its own hex code: #FFA5A5</p>
<p align=center><a href="http://www.pranavsharma.com/blog/wp-content/uploads/2010/05/image1.png"><img style="border-right-width:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;margin-left:auto;border-left-width:0px;margin-right:auto" title="Home Global Navigation Background" border=0 alt="Home Global Navigation Background" src="http://www.pranavsharma.com/blog/wp-content/uploads/2010/05/image_thumb1.png" width=99 height=102></a></p>
<p> <a href="http://www.pranavsharma.com/blog/wp-content/uploads/2010/05/image2.png"></p>
<p align=center><img style="border-right-width:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;margin-left:auto;border-left-width:0px;margin-right:auto" title="corev4-8A0ABD2F.css .s4-toplinks .s4-tn A.selected - background: url(selbg-1A8EB265.png?ctag) #ffa5a5 repeat-x left top" border=0 alt="corev4-8A0ABD2F.css .s4-toplinks .s4-tn A.selected - background: url(selbg-1A8EB265.png?ctag) #ffa5a5 repeat-x left top" src="http://www.pranavsharma.com/blog/wp-content/uploads/2010/05/image_thumb2.png" width=686 height=65></a></p>
<p><strong>Conclusion <br></strong>SharePoint doesn’t directly use ‘Site Themes’ but instead seems to generate its own interpretations based upon it. Therefore, designers looking for some discreet control over the branding of a SharePoint site need to still write custom CSS in 2010.</p></div></div>
<div><b>Published:</b> 5/3/2010 1:12 PM</div>
]]></description>
      <author>Pranav Sharma</author>
      <pubDate>Mon, 03 May 2010 20:13:29 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=77</guid>
    </item>
    <item>
      <title>How to Hide Field Labels for Publishing Pages</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=76</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass4442EF9BE1CE4EE09CD715E17629B398><div>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3><font face=Calibri>By default SharePoint will add field’s label to any field control defined in the page layout. The label appears as a small tab above the actual control when the page is in edit mode. In some instances, you may want to customize your edit form to show labels and controls in a different format. <span style=""> </span></font></font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>One way to achieve this is to create a simple control and insert it in your page layout. SharePoint automatically determines whether to show or hide labels during PreRender event of </font><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.webcontrols.authoringcontainer.aspx" target="_blank"><font size=3 face=Calibri>AuthoringContainer</font></a><font size=3 face=Calibri>. Label visibility is set by </font><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spformcontext.enableinputfieldlabels.aspx" target="_blank"><font size=3 face=Calibri>EnableInputFieldLabels</font></a><font size=3><font face=Calibri> property of FormContext. <span style=""> </span>Our custom control will override Render method to insert our custom logic:</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">    </span><span style="color:blue">public</span> <span style="color:blue">class</span> <span style="color:#2b91af">EditModeUtility</span>:<span style="color:#2b91af">Control</span></span></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">    </span>{</span></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span><span style="color:blue">protected</span> <span style="color:blue">override</span> <span style="color:blue">void</span> Render(<span style="color:#2b91af">HtmlTextWriter</span> writer)</span></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span>{</span></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span><span style="color:#2b91af">SPContext</span>.Current.FormContext.EnableInputFieldLabels = <span style="color:blue">false</span>;</span></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span>}</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">    </span>}</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style=""><font size=3><font face=Calibri>Last step is to add this control to your layout page and all labels will be hidden. To manually output field’s label you can use SharePoint’s FieldLabel control, like so:<span style="">  </span></font></font></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">SharePointWebControls</span><span style="font-family:'Courier New';color:blue;font-size:10pt">:</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">FieldLabel</span><span style="font-family:'Courier New';font-size:10pt"> <span style="color:red">FieldName</span><span style="color:blue">=&quot;Title&quot;</span> <span style="color:red">runat</span><span style="color:blue">=&quot;server&quot;</span> <span style="color:blue">/&gt;</span></span><font size=3><font face=Calibri><span style="color:blue">. </span><span style="">One benefit of using FieldLabel control is that you can use SharePoint UI to change display name and all of your pages/forms will reflect the new name.</span></font></font><span style=""></span></p></div></div></div>
<div><b>Published:</b> 5/2/2010 10:20 AM</div>
]]></description>
      <author>Eugene Wilson</author>
      <pubDate>Sun, 02 May 2010 15:02:24 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=76</guid>
    </item>
    <item>
      <title>Connect to Outlook Link is Missing in MOSS 2007</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=75</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassE3702014213D49D6937B1E13815173BC><div>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>In MOSS 2007 if you create a custom list definition based off of the out of the box list definition for example in this case the Events list definition. You will have the “Connect to Outlook” link missing when you go to that list after the site is provisioned.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3><font face=Calibri><span style=""> </span>After reading many blogs I realized this occurs if your custom site definition assigns a new Type for example in this case Type=”5502”. </font></font></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">ListTemplate</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Name</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">cenetereventslist</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">DisplayName</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">Center Event List</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Type</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">5502</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Description</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">Used to Rollup Center Events</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">BaseType</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">0</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">OnQuickLaunch</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">FALSE</span>&quot;</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span></span><span style="line-height:115%;font-family:'Courier New';color:red;font-size:10pt">SecurityBits</span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="line-height:115%;font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">11</span>&quot;<span style="color:blue"> /&gt;</span></span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>Since the “Connect to Outlook” link is critical the work around is to create a feature to add this back to any lists based off the Type=”5502”.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>The first step is to create a feature.xml file:</font></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;?</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">xml</span><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span><span style="font-family:'Courier New';color:red;font-size:10pt">version</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">1.0</span>&quot;<span style="color:blue"> </span><span style="color:red">encoding</span><span style="color:blue">=</span>&quot;<span style="color:blue">utf-8</span>&quot;<span style="color:blue"> ?&gt;</span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Feature</span><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span><span style="font-family:'Courier New';color:red;font-size:10pt">Id</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">{DF5009DE-15B7-4397-9933-995727F3E276}</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">         </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Title</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">PS.USO.OutlookLink</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">         </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Description</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">OutlookLink</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">         </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Version</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">1.0.0.0</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">         </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Scope</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">Site</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">         </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Hidden</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">FALSE</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">         </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">xmlns</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">http://schemas.microsoft.com/sharepoint/</span>&quot;<span style="color:blue"> &gt;</span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">ElementManifests</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">ElementManifest</span><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span><span style="font-family:'Courier New';color:red;font-size:10pt">Location</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">elements.xml</span>&quot;<span style="color:blue"> /&gt;</span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">ElementManifests</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:10pt">Feature</span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>Next we create an elements.xml file:</font></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;!--</span><span style="font-family:'Courier New';color:green;font-size:10pt"> Document Library Toolbar Actions Menu Dropdown </span><span style="font-family:'Courier New';color:blue;font-size:10pt">--&gt;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Elements</span><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span><span style="font-family:'Courier New';color:red;font-size:10pt">xmlns</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">http://schemas.microsoft.com/sharepoint/</span>&quot;<span style="color:blue">&gt;</span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">CustomAction</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Id</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">{DF5009DE-15B7-4397-9933-995727F3E276}</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">Location</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">Microsoft.SharePoint.StandardMenu</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">RegistrationType</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">List</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">RegistrationId</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">5502</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">GroupId</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">ActionsMenu</span>&quot;<span style="color:blue"><span style="">      </span></span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">ControlAssembly</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">PS.Branding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=23597f5ec0230fd9</span>&quot;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:red;font-size:10pt">ControlClass</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">PS.Branding.Outlookmenu</span>&quot;<span style="color:blue">&gt;<span style="">   </span></span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">    </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">CustomAction</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span>&lt;/</span><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:10pt">Elements</span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>Notice the RegisterationId, that is to bind it to lists with the id of 5502 only. The RegisterationType must also be set to a “List” in this case. The other thing to note is that we are referencing a control to construct the “Connect to Outlook” url.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> System;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> System.Collections.Generic;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> System.Runtime.InteropServices;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> System.Web.UI;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> System.Web.UI.WebControls.WebParts;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> Microsoft.SharePoint.WebControls;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> Microsoft.SharePoint;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">using</span><span style="font-family:'Courier New';font-size:10pt"> Microsoft.SharePoint.Utilities;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"> </span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:blue;font-size:10pt">namespace</span><span style="font-family:'Courier New';font-size:10pt"> PS.Branding</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt">{</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"> </span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">    </span><span style="color:blue">public</span> <span style="color:blue">class</span> <span style="color:#2b91af">Outlookmenu</span> : System.Web.UI.WebControls.<span style="color:#2b91af">WebControl</span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">    </span>{</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span><span style="color:blue">protected</span> <span style="color:blue">override</span> <span style="color:blue">void</span> CreateChildControls()</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span>{</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span><span style="color:#2b91af">MenuItemTemplate</span> template = <span style="color:blue">new</span> <span style="color:#2b91af">MenuItemTemplate</span>();</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span>template.Text = <span style="color:#a31515">&quot;Connect to Outlook&quot;</span>;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span>template.Description = <span style="color:#a31515">&quot;Synchronize items and make them available offline&quot;</span>;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span><span style="color:blue">string</span> url = <span style="color:#a31515">&quot;stssync://sts/?ver=1.1&amp;type=Calendar&amp;cmd=add-folder&amp;base-url=&quot;</span> + <span style="color:#2b91af">SPContext</span>.Current.Web.Url + <span style="color:#a31515">&quot;/&amp;list-url=&quot;</span> + <span style="color:#2b91af">SPContext</span>.Current.List.DefaultViewUrl+ <span style="color:#a31515">&quot;&amp;guid={&quot;</span> + <span style="color:#2b91af">SPContext</span>.Current.ListId + <span style="color:#a31515">&quot;}&amp;site-name=&quot;</span> +<span style="color:#2b91af">SPContext</span>.Current.Web.Name +<span style="color:#a31515">&quot;&amp;list-name=&quot;</span>+ <span style="color:#2b91af">SPContext</span>.Current.List.Title;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"> </span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span>template.ClientOnClickNavigateUrl = url;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span><span style="color:blue">this</span>.Controls.Add(template);</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">            </span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span>}</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span><span style="color:blue">protected</span> <span style="color:blue">override</span> <span style="color:blue">void</span> OnLoad(<span style="color:#2b91af">EventArgs</span> e)</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span>{</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">           </span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                </span><span style="color:blue">try</span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                </span>{</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                    </span><span style="color:blue">base</span>.OnLoad(e);</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                    </span><span style="color:blue">this</span>.EnsureChildControls();</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"> </span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                    </span><span style="color:green">// Your code here...</span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                </span>}</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                </span><span style="color:blue">catch</span> (<span style="color:#2b91af">Exception</span> ex)</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                </span>{</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                   </span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">                </span>}</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">          </span></span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">        </span>}</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"> </span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"> </span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span style="">    </span>}</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt">}</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style=""><font size=3><font face=Calibri>Here we create a control that is baed off of <span style="">System.Web.UI.WebControls.WebControl. The key now is to construct the url based off of the styssync Portocol. More information on the protocol can be found at</span></font></font></span><span style="font-family:'Courier New';font-size:10pt"> <a href="http://msdn.microsoft.com/en-us/library/dd587524(office.11).aspx">http://msdn.microsoft.com/en-us/library/dd587524(office.11).aspx</a>. </span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri> </font></p></div></div></div>
<div><b>Published:</b> 4/22/2010 7:34 AM</div>
<div><b>BlogTitleForUrl:</b> Connect to Outlook Link is Missing in MOSS 2007</div>
]]></description>
      <author>Arya Parsee</author>
      <pubDate>Thu, 22 Apr 2010 14:35:16 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=75</guid>
    </item>
    <item>
      <title>Where Do I Store My Stylesheets?</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=74</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass627E63F0452D4D528C9C41B1C07FE59F>
<div>A common question in altering the SharePoint user interface is where should one place their stylesheets and other interface assets. Let's take a look at two different options for where to store them and the pros and cons of each.</div>
<div> </div>
<div>Unless specified otherwise everything in this article applies to SharePoint and SharePoint Designer 2007 and 2010.</div>
<div> </div>
<div><font size=2><strong>The Style Library</strong></font></div>
<div> </div>
<div>In a SharePoint site collection there is a &quot;Style Library&quot; which contains some core styles, XSL and images. This can be opened with SharePoint Designer and edited. These files are provisioned from a site definition when creating the site collection. </div>
<div> </div>
<div><strong>Pros</strong></div>
<ul>
<li>You don't have to edit files on the file system.</li>
<li>You can simply make changes and save and see changes instantly instead of having to redeploy to the 12/14 Hive.</li>
<li>The file(s) will be backed up when doing SQL backups.</li>
<li>You don't have to have physical access to the server to make changes.</li></ul>
<p><strong>Cons</strong></p>
<ul>
<li>The stylesheet is confined only to that site collection.</li>
<li>Version control provided by SharePoint Designer is not very robust.</li>
<li>The administrator might not want even someone with elevated permissions to add/edit stylesheets in that directory.</li></ul>
<p><font size=2><strong>Stored on the File System</strong></font></p>
<p>The second option is to store the stylesheets on the file system. This is in the 12/14 Hive, and can be deployed manually or even better with a feature. They most commonly are stored in the 12/14 Hive/TEMPLATES/LAYOUTS/STYLES.</p>
<p><strong>Pros</strong></p>
<ul>
<li>You can use a more robust version control solution such as TFS, SVN, Git, etc.</li>
<li>You can access the stylesheet across site collections.</li>
<li>Deployment can be heavily managed with feature deployment.</li>
<li>You can restrict editing of the stylesheets to a very select few.</li></ul>
<p><strong>Cons</strong></p>
<ul>
<li>Seeing edits involves deploying the file to the 12 Hive (which is made much easier with tools like <a href="http://wspbuilder.codeplex.com/Wikipage">WSPBuilder</a> and <a href="http://wssdeploy.codeplex.com/">WssDeploy</a>).</li>
<li>An alternate backup method is needed in place of content database backups. Version control would alleviate this.</li></ul>
<p><font size=2><strong>The Middle Ground</strong></font></p>
<p>There is finally a &quot;middle ground&quot; option if you want to deploy to the file system and yet still allow for certain users to publish content to the style library.</p>
<p>If you look in the default master pages for both 2007 and 2010 you'll see a reference that looks like the following</p>
<p>2007</p>
<p><code>&lt;sharepoint:csslink runat=&quot;server&quot; /&gt;</code></p>
<p>2010</p>
<p><code>&lt;SharePoint:CssLink runat=&quot;server&quot; Version=&quot;4&quot;/&gt;</code></p>
<p>This pulls the stylesheet that is referenced from the SharePoint UI where the master page can be changed in the &quot;Alternate CSS URL&quot; option. This allows a user to add a stylesheet, edit it, and browse for it which is the only place that exposes the style library in a browser.</p>
<p>A note of consideration is where this is placed. The cascade in cascading stylesheet will determine which styles are chosen to be applied to an element by a browser. If two selectors are exactly the same the last referenced stylsheet will be applied to the element. I suggest putting this <em>after </em>all your stylesheets that you point to in the 12/14 Hive.</p>
<p>With this in place you can leverage the power of deployment to the file system while still allowing your customer or power user to make style changes that are confined to a specific site collection.</p></div></div>
<div><b>Published:</b> 4/6/2010 12:59 PM</div>
]]></description>
      <author>Chris Poteet</author>
      <pubDate>Tue, 06 Apr 2010 20:46:07 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=74</guid>
    </item>
    <item>
      <title>Migrating a farm from physical to virtual - be aware</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=73</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass72F1C0B8D7284813B29C0304B707A8F4><div>One our client decided to test a migration from physical to virtual, they have a farm comprise of 2 front-end web servers, 1 application server and 1 sql server.</div>
<div> </div>
<div>The migration went well but we noticed that server have been renamed and alias thru DNS. After the migration, site was rendering well but there were many issues and error in the logs. The major issue was the search would not work. After trying to stop search services from Central Administration, we realized that because of the server being renamed this would not work. Short of rebuilding the configuration database to reference the proper server names, we found the following command</div>
<div> </div>
<div>stsadm -o renameserver -oldservername &lt;yyy&gt; -newservername &lt;xxx&gt;</div>
<div> </div>
<div>This command is to be used to change reference in the config database. It is critical that this comamnd is ran on every server of the farm and also executed to rename the SQL server.</div>
<div> </div>
<div>We ran the command and noticed that the server name were not correct and after this command, the search would start.</div>
<div> </div>
<div>Lastly, the SSP would not throw the following error</div>
<div>&quot;The remote certificate is invalid according to the validation server&quot;. Clearly something was still not working. After some research on line, we found that Office Web Services web app has a self assigned SSL certificate which is generated during installation of MOSS. </div>
<div> </div>
<div>The following MS article was helpful to troubleshoot and assign a new certificate <span style="font-family:'Calibri','sans-serif';font-size:11pt"></span></div>
<div><span style="font-family:'Calibri','sans-serif';font-size:11pt"><a href="http://support.microsoft.com/kb/962928">http://support.microsoft.com/kb/962928</a> </span></div>
<div><span style="font-family:'Calibri','sans-serif';font-size:11pt"></span> </div>
<div>After running this, the SSP would correctly render and we were able to start a new crawl.</div>
<div> </div>
<div>So be aware if you rename a server, replicate a farm for disaster recovery, you can't just alias server, it is critical to rename those using the proper procedure.</div>
<div> </div></div></div>
<div><b>Published:</b> 3/4/2010 4:34 AM</div>
]]></description>
      <author>Daniel Cohen-Dumani</author>
      <pubDate>Thu, 04 Mar 2010 12:42:44 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=73</guid>
    </item>
    <item>
      <title>MOSS – Site Local Search incompatible with Server Name Mappings</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=72</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass80D0BB0A65034A6A88E722EA422040D0><p>In order to do site specific search (a.k.a. “This Site” scope) you can append a query string parameter as follows-</p>
<p><a href="http://server/results.aspx?k=sharepoint&amp;u=http://server/lists">http://server/results.aspx?k=sharepoint&amp;<strong>u=http%3A%2F%2Fserver%2Flists</strong></a></p>
<p><strong><u>Problem <br></u></strong>The above will return zero results if you have a server name mapping configured in your search settings-</p>
<p><a href="http://www.pranavsharma.com/blog/wp-content/uploads/2010/02/image.png"><img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px" title=image border=0 alt=image src="http://www.pranavsharma.com/blog/wp-content/uploads/2010/02/image_thumb.png" width=459 height=183></a> </p>
<p><strong><u>Solution</u></strong> <br>Removing the server name mapping will resolve this issue and site specific search works as expected</p>
<p> </p>
<p>Tip: Adding a query string url restriction is equivalent to the following- <br> <a href="http://www.pranavsharma.com/blog/wp-content/uploads/2010/02/image1.png"><img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px" title=image border=0 alt=image src="http://www.pranavsharma.com/blog/wp-content/uploads/2010/02/image_thumb1.png" width=322 height=70></a></p></div></div>
<div><b>Published:</b> 2/26/2010 5:30 PM</div>
]]></description>
      <author>Pranav Sharma</author>
      <pubDate>Sat, 27 Feb 2010 01:31:41 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=72</guid>
    </item>
    <item>
      <title>Huge SharePoint Memory Leak Discovered that can impact all MOSS 2007 Environments.</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=71</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass4611BDC6B8EC41538DB1673C7354393E>
<p>The other day I was browsing the interwebs, reading up on disposal patterns for SharePoint OM - to keep fresh on any changes that may have occurred in guidance - when I ran across a big post by Todd Carter. </p>
<p>Todd found a memory leak in the way that SharePoint's HttpApplicationFactory handles requests. So despite your best efforts to follow disposal patterns you could end up with an environment that is plagued by high memory consumption. </p>
<p>Please read Todd's blog for a detailed breakdown of the issue. I'm sure it will be just as eye-opening for you as it was for me. </p>
<p><a href="http://www.todd-carter.com/post/2010/02/08/SharePointe28099s-Sasquatch-Memory-Leak.aspx">http://www.todd-carter.com/post/2010/02/08/SharePointe28099s-Sasquatch-Memory-Leak.aspx</a> </p></div></div>
<div><b>Published:</b> 2/26/2010 9:42 AM</div>
<div><b>BlogTitleForUrl:</b> Huge SharePoint Memory Leak Discovered that can impact all MOSS 2007 Environments.</div>
]]></description>
      <author>Carlos Fernandez</author>
      <pubDate>Fri, 26 Feb 2010 17:41:31 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=71</guid>
    </item>
    <item>
      <title>Text selection disabled w/ Kwizcom Calendar Plus</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=70</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass4827181E5E7046BC93CCAFF2D8915649><div>
<p><strong><u>Problem <br></u></strong>After installing Kwizcom Calendar 3.2.90, text selection is disabled on your sharepoint site on pages that have the calendar webpart. This was a huge issue for us since we had the minicalendar in the page header.</p>
<p><strong><u>Workaround </u></strong><br>Modify one of the Kwizcom javascript files (“12\TEMPLATE\LAYOUTS\KWizCom_KSCP\KSCP.js”) to comment out the drag drop functionality (See lines 13, 21 &amp; 22) -</p>
<div class=csharpcode>
<div class=csharpcode><pre><span class=lnum>   1:  </span><span class=kwrd>function</span> kwiz_cal_DragDropOnLoad(q)</pre><pre><span class=lnum>   2:  </span>{</pre><pre><span class=lnum>   3:  </span>    g_WPQ = q;</pre><pre><span class=lnum>   4:  </span> </pre><pre><span class=lnum>   5:  </span>    <span class=rem>// attach onscroll event (needed for recalculating table cells positions)</span></pre><pre><span class=lnum>   6:  </span>    window.onscroll = kwiz_cal_Scroll;</pre><pre><span class=lnum>   7:  </span>    </pre><pre><span class=lnum>   8:  </span>    <span class=kwrd>if</span>(browseris.ie || browseris.safari)</pre><pre><span class=lnum>   9:  </span>    {</pre><pre><span class=lnum>  10:  </span>        kwiz_cal_Calculate_Cells();</pre><pre><span class=lnum>  11:  </span>        </pre><pre><span class=lnum>  12:  </span>        <span class=rem>// disable text selection for ie, safari</span></pre><pre><span class=lnum>  13:  </span>        <span class=rem>//document.onselectstart = function(event) {return false};</span></pre><pre><span class=lnum>  14:  </span>    }</pre><pre><span class=lnum>  15:  </span>    <span class=kwrd>else</span></pre><pre><span class=lnum>  16:  </span>    {</pre><pre><span class=lnum>  17:  </span>        <span class=rem>// firefox does not execute this function when assigning to onscroll event, but IE &amp; Chrome do</span></pre><pre><span class=lnum>  18:  </span>        kwiz_cal_Scroll(); </pre><pre><span class=lnum>  19:  </span>        </pre><pre><span class=lnum>  20:  </span>        <span class=rem>// disable text selection for firefox</span></pre><pre><span class=lnum>  21:  </span>        <span class=rem>//if (typeof document.body.style.MozUserSelect != &quot;undefined&quot;) </span></pre><pre><span class=lnum>  22:  </span>        <span class=rem>//    document.body.style.MozUserSelect = &quot;none&quot;;</span></pre><pre><span class=lnum>  23:  </span>    }</pre><pre><span class=lnum>  24:  </span>}</pre>
<p></p></div>
<style>
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode, .ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode pre
{margin:0em;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .rem
{color:#008000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .str
{color:#006080;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .op
{color:#0000c0;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .preproc
{color:#cc6633;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .html
{color:#800000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .attr
{color:#ff0000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .lnum
{color:#606060;}
</style>
</div>
<style>
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode, .ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode pre
{margin:0em;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .rem
{color:#008000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .str
{color:#006080;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .op
{color:#0000c0;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .preproc
{color:#cc6633;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .html
{color:#800000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .attr
{color:#ff0000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .lnum
{color:#606060;}
</style>

<style>
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode, .ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode pre
{font-size:small;color:black;font-family:consolas, &quot;Courier New&quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode pre
{margin:0em;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .rem
{color:#008000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .str
{color:#006080;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .op
{color:#0000c0;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .preproc
{color:#cc6633;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .html
{color:#800000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .attr
{color:#ff0000;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass4827181E5E7046BC93CCAFF2D8915649 .csharpcode .lnum
{color:#606060;}
</style>

<p></p>
<p><strong><u>More Info</u></strong></p>
<p>The official word from Kwizcom Support on this issue is as follows: </p>
<p><em>“The issue is caused by dragdrop functionality. The new release version 3.3.00 will allow the users to disable drag drop through settings.  Currently there is no exact timeline for release.”</em></p></div></div></div>
<div><b>Published:</b> 1/26/2010 7:54 AM</div>
]]></description>
      <author>Pranav Sharma</author>
      <pubDate>Tue, 26 Jan 2010 15:55:44 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=70</guid>
    </item>
    <item>
      <title>Why links to some crawled documents are included in the search index as pointing to DispForm.aspx</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=69</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass2F9B1FF8D1E6419A905433F9DDC7294B><p>If you stumble upon a situation when clicking on search results links brings you to a list item view form (DispForm.aspx?ID=&lt;itemid&gt;) instead of an actual document, be sure to check that the extension for the problematic document configured in the search center as a valid type. The problem most commonly arises for non-standard (read non- Microsoft Office) file types. Below are the steps to check:
</p><ul><li>Go to Central Administration and navigate to an SSP admin site 
</li><li>Click on the Search Administration link under the Search group
</li><li>On the left-hand of the screen, select the File Types link
</li><li>Confirm that the extension for your document appears on the list of file types
</li></ul><p>Any documents newly discovered by the crawler will be recorded correctly in the index with an actual URL to the document and not  it's view form. It will usually take three full recrawls before the links for existing documents are updated in the index.
</p></div></div>
<div><b>Published:</b> 1/13/2010 11:02 AM</div>
]]></description>
      <author>Val Orekhov</author>
      <pubDate>Wed, 13 Jan 2010 19:02:57 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=69</guid>
    </item>
    <item>
      <title>Looking for a better way to connect people and information?  Microsoft SharePoint 2010 can do that.</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=68</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClass32B1C23FD44E4DDA98776BCFD6D4CDD9"><b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">
<div> </div>
<div>
<p style="line-height:11.25pt;margin:0in 0in 0pt" class="MsoNormal"><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"><a href="http://sharepointlunchlearn.eventbrite.com/">Join us for theSharePoint 2010 Lunch &amp; Learn:</a></span></p>
<p style="line-height:11.25pt;margin:0in 0in 0pt" class="MsoNormal"><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"></span><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"> </p></div>
<p style="line-height:11.25pt;margin:0in 0in 0pt" class="MsoNormal">When:   Monday, Janurary 25 12:00 pm - 1:30 pm<br /></p>
<p style="line-height:11.25pt;margin:0in 0in 0pt" class="MsoNormal">Where:  Microsoft<br />             12012 Sunset Hills Road, Suite 100 <br />             Reston, VA 20190</p>
<p style="line-height:11.25pt;margin:0in 0in 0pt" class="MsoNormal"></span></span></b><b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"></span></b> </p>
<p style="line-height:11.25pt;margin:0in 0in 12pt" class="MsoNormal"><b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">What happens when the right people and the right information come together?</span></b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"><br /><br />More important, what can it do for your organization? Find out. Please join</span><span style="font-family:'Verdana','sans-serif';color:fuchsia;font-size:8.5pt"> <a href="/">Portal Solutions</a></span><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"> at a special seminar presenting the latest collaboration tools and technologies of Microsoft® SharePoint® 2010.<br /><br />At the</span><span style="font-family:'Verdana','sans-serif';color:fuchsia;font-size:8.5pt"> <a href="http://sharepointlunchlearn.eventbrite.com/">SharePoint 2010 Lunch and Learn</a> </span><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">event, we’ll discuss how SharePoint 2010 can help your business:</span></p>
<p style="line-height:11.25pt;text-indent:-0.15in;margin:0in 0in 6pt 0.2in;tab-stops:list .25in" class="MsoNormal"><span style="font-family:Symbol;color:#663466;font-size:10pt"><span>·<span style="font:7pt 'Times New Roman'">    </span></span></span><b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">Collaborate and innovate.</span></b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"> Organizational knowledge gets where it needs to go. With advanced social computing tools, you can build more flexibility into your business. Ideas cross-pollinate, sparking innovation and new perspectives.</span></p>
<p style="line-height:11.25pt;text-indent:-0.15in;margin:0in 0in 6pt 0.2in;tab-stops:list .25in" class="MsoNormal"><span style="font-family:Symbol;color:#663466;font-size:10pt"><span>·<span style="font:7pt 'Times New Roman'">    </span></span></span><b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">Gain business insights and act.</span></b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"> People across your organization get the ability to monitor and analyze up-to-date information. They can make informed decisions and speed up response times, both of which can give your business a competitive edge.</span></p>
<p style="line-height:11.25pt;text-indent:-0.15in;margin:0in 0in 0pt 0.2in;tab-stops:list .25in" class="MsoNormal"><span style="font-family:Symbol;color:#663466;font-size:10pt"><span>·<span style="font:7pt 'Times New Roman'">    </span></span></span><b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">Reduce risk.</span></b><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"> You control security levels and usage policies. Information is findable and useable by the right people, and content has policy and process attached.</span></p><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">
<div><br />Free your people to collaborate easily, and put them in contact with the knowledge they need. Register today to learn what SharePoint 2010 can do for your business.</div>
<div> </div>
<div><strong><a href="https://www.eventbrite.com/register?orderid=8297162035&amp;eid=516821828">REGISTER NOW!</a><a href="http://sharepointlunchlearn.eventbrite.com/"></strong></a></div>
<div> </div>
<div><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"></span><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"></span> </div></span></div></div>
<div><b>Published:</b> 12/18/2009 1:25 PM</div>
]]></description>
      <author>Joshua Hernandez</author>
      <pubDate>Fri, 18 Dec 2009 21:09:16 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=68</guid>
    </item>
    <item>
      <title>Live from SPC – What’s new with SharePoint Search</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=67</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass8C0FD932BA6741659D086F2141CCE1A6><p>Search gets plenty of enhancements, mainly toward user experience. Finally SharePoint Search gets refinement out of the box (Faceted search on codeplex was a good alternative, but we are happy to see plenty of incremental new feature like 
</p><ul><li>Out of the box refinement (faceted search) and easy to extend
</li><li>One stop search center
</li><li>Improved did you mean, view in browser for most office docs and improved query syntax
</li><li>Improved relevance ranking
</li><li>Enhanced multi-lingual support
</li><li>Improved query syntax (boolean, range refinement &lt;,&gt;,...
</li><li>Desktop search integration in windows 7
</li><li>Search Web Part UI can be easily customized
</li><li>Enhanced people finding experience, address book search
</li><li>Click thru behavior on search results to enhance relevance
</li><li>Crawl performance is improved, distribution, index partitioning
</li></ul><p>More information at  <a href="http://technet.microsoft.com/en-us/library/ee667266(office.14).aspx">http://technet.microsoft.com/en-us/library/ee667266(office.14).aspx</a>
	</p><p>
 </p></div></div>
<div><b>Published:</b> 10/20/2009 10:09 AM</div>
]]></description>
      <author>Daniel Cohen-Dumani</author>
      <pubDate>Tue, 20 Oct 2009 17:09:25 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=67</guid>
    </item>
    <item>
      <title>Live from SPC – Bye WSS, welcome SharePoint foundation “SPF”</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=66</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassD0BDDDD0C55A499E92D7269A9C863968>
<p>Get used for new acronyms. Say goodbye MOSS and WSS and welcome SharePoint Foundation and SharePoint Server. We have gotten used to Microsoft ever product renaming. I have to admit, I like the new name for WSS &quot;SharePoint Foundation&quot; (will it be SPF?). SharePoint Foundation brings great new capabilities to the &quot;free&quot; version of SharePoint. At Portal Solutions, we always viewed WSS as a foundation for team collaboration; no the name supports the concept. A few highlights about SharePoint Foundation below: </p>
<p>- Provides a consistent framework </p>
<p>- SPF is a development platform </p>
<p>- Provide Core team collaboration experience </p>
<p>- Is built on the value of WSS 3.0 </p>
<p>- Administration has been enhanced, no more stsadm, get ready for <a href="http://go.microsoft.com/fwlink/?LinkId=165421">PowerShell</a> </p>
<p> </p>
<p>Some keys major Investments: </p>
<p>- Good news, some of the scalability limitations have been lifter. SPF lists now support terabytes of data, multi-million item lists and granular content import/export. Business Connectivity Services (&quot;BCS&quot;) the successor of BDC is now included in SharePoint Foundation which means, we can create integration with back-end data directly from SPF. In addition, SPF supports external lists; that means you can create lists on the fly (no code) while storing content in structured SQL or other databases </p>
<p>More information at: <a href="http://technet.microsoft.com/en-us/sharepoint/ee518670.aspx">http://technet.microsoft.com/en-us/sharepoint/ee518670.aspx</a> </p>
<p> </p></div></div>
<div><b>Published:</b> 10/20/2009 9:49 AM</div>
]]></description>
      <author>Daniel Cohen-Dumani</author>
      <pubDate>Tue, 20 Oct 2009 16:49:01 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=66</guid>
    </item>
    <item>
      <title>Live from SPC 09 – Day 1 wrap-up</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=65</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassCC3D5DA822D54D6A93691001EC1FDCE2><p>Just announced today, we wanted to share some of the great sites with technical content—uploaded in last 12 hours from Microsoft.    What's best, they categorize by audience, so, you can pick and choose what is relevant to your role.  
</p><div><table style="border-collapse:collapse" border=0><colgroup><col style="width:638px"></colgroup><tbody valign=top><tr><td style="padding-left:7px;padding-right:7px;border-top:solid black 1.0pt;border-left:solid black 1.0pt;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt"><p><span style="font-size:18pt">SharePoint 2010 content on Microsoft.com
</span></p><p><a href="http://www.mssharepointitpro.com">http://www.mssharepointitpro.com</a> – <span style="color:#e36c0a"><strong><em>For IT Pro
</em></strong></span></p><p><a href="http://www.mssharepointdeveloper.com">http://www.mssharepointdeveloper.com</a> – <span style="color:#e36c0a"><strong><em>For IT Developer</em></strong></span>
						</p><p><a href="http://sharepoint.microsoft.com">http://sharepoint.microsoft.com</a> – <span style="color:#e36c0a"><strong><em>For Sales /Marketing and some technical</em></strong></span></p></td></tr></tbody></table></div><p>
 </p><p><span style="font-size:14pt"><strong>Quick Update:
</strong></span></p><ul><li>Conference is going very well! There are 7,000+ attendees here in Las Vegas
</li><li>Steve Ballmer, Microsoft's CEO made reference to 3 of Portal Solutions clients to 7000 attendees. Those clients: Pfizer, LOC, and CI!!  Exciting  moment for us!
</li><li>The energy, buzz and excitement around SharePoint 2010 has  been non-stop.  What they see in this release in unprecedented and does not compare to any other release in terms of # of upgrades and new capabilities.
</li><li>Everyone, we speak to wants to upgrade . . 
</li></ul></div></div>
<div><b>Published:</b> 10/20/2009 9:07 AM</div>
]]></description>
      <author>Daniel Cohen-Dumani</author>
      <pubDate>Tue, 20 Oct 2009 16:07:06 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=65</guid>
    </item>
    <item>
      <title>Live from Vegas Day 1 – mid day update</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=64</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass4B3AF75385EE4F7980375B20767096F2><p>This morning we heard from Steve Ballmer, Tom Rizzo and Jeff Teper. Having been in the SharePoint community since 2001, I was amazed to sit in a room with 7000 SharePoint enthusiast. SharePoint has grown in popularity. The keynotes were full of announcements, including a nice note regarding some of our project with <a href="http://www.conservation.org">Conservation International</a> and <a href="http://myloc.gov">Library of Congress</a>. I summarize a few of the exciting announcements below:
</p><ul><li>Developer experience has been dramatically enhanced; no more long steps to develop and deploy. Visual Studio is not fully aware of SharePoint and developers are going to love the 1-click, build and deploy. Developer dashboard is a great enhancement to troubleshoot performance of deployment and enhance scalability.
</li><li>Dramatic improvement in user empowerment
</li><li>SharePoint internet sites will see nice enhancements. First the packaging will be revised to include better tier level for smaller deployments. Compatibility has been enhanced and I loved the 1-click page layout change. In addition, Microsoft will be offering cloud deployment of SharePoint internet sites; this is exciting news for medium to small businesses that have been hesitant to move their public facing sites to SharePoint mostly due to licensing constraints.
</li><li>WSS no more; we got used to the MOSS and WSS acronyms. Get ready to revise your vocabulary. WSS is now SharePoint Foundation and MOSS has been renamed SharePoint Server. FAST will now be offered as a package to SharePoint Server (both for intranet and public facing sites)
</li><li>Business Data Catalog (BDC) is now renamed Business Catalog Services
</li></ul><p>More to come as the day unwinds….</p></div></div>
<div><b>Published:</b> 10/19/2009 1:00 PM</div>
]]></description>
      <author>Daniel Cohen-Dumani</author>
      <pubDate>Mon, 19 Oct 2009 20:00:59 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=64</guid>
    </item>
    <item>
      <title>SharePoint 2010 posts coming soon</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=63</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassD3CE6BEA23B74B46A6AC4FBACDF5A04C><p>We will be attending next week SharePoint conference in Las Vegas. If you are available to meet, join us for a Happy Hour Monday night at the Mandalay Bay, <a href="http://sharepointconference.eventbrite.com/"><span style="color:#e36c0a"><strong>http://sharepointconference.eventbrite.com/</strong></span></a><span style="color:#e36c0a"><strong>
			</strong></span></p><p>Starting Monday, we will be posting about SharePoint 2010. We have been holding up information for about 6 months and are excited to finally able to talk about it.
</p><p>Next week is going to be a lot of fun and excitement in the SharePoint community. I remember attending the first SharePoint conference in 2003. It took place on Microsoft campus and we were less than 300 attendees. Next week attendance truly speaks about the popularity that SharePoint has gained about the business community.
</p><p>We look forward to sharing the exciting advances that Microsoft has included in the next wave of SharePoint</p></div></div>
<div><b>Published:</b> 10/16/2009 6:10 AM</div>
]]></description>
      <author>Daniel Cohen-Dumani</author>
      <pubDate>Fri, 16 Oct 2009 13:10:38 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=63</guid>
    </item>
    <item>
      <title>Process cannot access the file because it is being used by another process</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=62</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassC62C86D3A29D47E48514B8052897E058><div>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>When you try to start a web site in IIS, you may receive the popup error “The process cannot access the file because it is being used by another process”. In the system event log event ID 1004 and 15005 will have been generated stating that they cannot register or bind to the port number that the web site is assigned.<span style="">  </span></font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>To find which process is conflicting run the following commands:</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>netstat -anop TCP|find “:&lt;port #&gt; “</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>Match the PID with the process name;</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>tasklist /SVC /FI “PID eq &lt;process ID #returned from 1st command&gt;″</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>Here is a sample:</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>C:\Documents and Settings\MOSSfarm&gt;netstat -anop TCP|find &quot;:8080&quot;</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri><span style="">  </span>TCP<span style="">    </span>0.0.0.0:8080<span style="">           </span>0.0.0.0:0<span style="">              </span>LISTENING<span style="">       </span>1336</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>C:\Documents and Settings\MOSSfarm&gt;tasklist /SVC /FI &quot;PID eq 1336&quot;</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>Image Name<span style="">                     </span>PID Services</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>========================= ======== ============================================</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>miniwinagent.exe<span style="">              </span>1336 miniwinagent</font></font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3 face=Calibri> </font></p>
<p style="margin:0in 0in 0pt" class=MsoNormal><font size=3><font face=Calibri>With this information you can determine if you can stop or change the blocking process or if you need to use another port for your web site.</font></font></p></div></div></div>
<div><b>Published:</b> 10/6/2009 5:59 AM</div>
]]></description>
      <author>Gary Hess</author>
      <pubDate>Tue, 06 Oct 2009 13:21:09 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=62</guid>
    </item>
    <item>
      <title>Records Center: When the Records Center Web Service Submitters group gets deleted</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=61</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass630E920981204F28A0DB8A4AFEA02308>
<div>
<p style="line-height:normal;margin:0in 0in 0pt;vertical-align:top" class=MsoNormal><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">MOSS Records Center feature is using to the &quot;Records Center Web Service Submitters for &lt;center name&gt;&quot; group for securing access to the record center submission interface (OfficialFile.asmx web service). The group is provisioned automatically whenever a new web is created based on the Records Center template. Adding authorized users into this group is usually the first step for enabling submissions into the records center, besides configuring the URL of the OfficialFile.asmx web service in the Central Admin -&gt; Applications -&gt; External Service Connections -&gt; Record Center page.</span></p>
<p style="line-height:normal;margin:0in 0in 0pt;vertical-align:top" class=MsoNormal><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"></span> </p>
<p style="line-height:normal;margin:0in 0in 0pt;vertical-align:top" class=MsoNormal><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">When the Record Center Web Service Submitters group gets inadvertently deleted, submission of documents fails with an event id 7022 with an obscure message of “</span><span style="font-family:'Segoe UI','sans-serif';font-size:9pt">The &lt;Records Center Name&gt; Records Center is not properly configured for this request.</span><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">” begin logged in the Application Event log. <span> </span>Additionally, if you are trying to add or update records in the Records Routing list, you may see an error message stating “Unable to add Records Center Web Service Submitters group into the target list”.</span></p>
<p style="line-height:normal;margin:0in 0in 0pt;vertical-align:top" class=MsoNormal><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt"></span> </p>
<p style="line-height:normal;margin:0in 0in 0pt;vertical-align:top" class=MsoNormal><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">Resolution:</span></p>
<p style="line-height:normal;margin:0in 0in 0pt;vertical-align:top" class=MsoNormal><span style="font-family:'Verdana','sans-serif';color:black;font-size:8.5pt">The Records Center feature stores SharePoint Site Group ID for the Records Center Web Service Submitters group in the web-level property bag of the records center web. The value is stored in the _dlc_RepositoryUsersGroup property. Unfortunately, the no UI exists (that I am aware of) that lets you to update this group after it has been created. To resolve the issue of the deleted group, short of re-activating the Records Center feature or re-creating the web, the following SharePoint OM script may be tried: </span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:#2b91af;font-size:10pt"></span> </p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';color:#2b91af;font-size:10pt">SPWebUtility</span><span style="font-family:'Courier New';font-size:10pt">.WebOp(<span style="color:#a31515">&quot;http://portal.com/sites/records/&quot;</span>,</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt">  web =&gt;</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span>    </span>{</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span>       </span>web.Properties[</span><span style="font-family:'Courier New';font-size:10pt"><span style="color:#a31515">&quot;_dlc_RepositoryUsersGroup&quot;</span>] = </span><span style="font-family:'Courier New';font-size:10pt"><span style="background:yellow">21</span>.ToString();</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span>     </span><span>       </span>web.Properties.Update();</span></p>
<p style="line-height:normal;margin:0in 0in 0pt" class=MsoNormal><span style="font-family:'Courier New';font-size:10pt"><span>     </span>}</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style="line-height:115%;font-family:'Courier New';font-size:10pt">);</span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font face=Calibri><font size=2>21 above is the ID of the Records Center Web<span>  </span>Service Submitters group specific to the installation. To lookup yours, create a new group (preferably named the same) and note it’s ID in the address bar of the browser: <span> </span>http://portal.com/_layouts/people.aspx?MembershipGroupId=<span style="background:yellow">21</span></font></font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=2 face=Calibri>As with all hacks involving direct modifications through SharePoint object model, please be sure of what you attempting to do or engage qualified support.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=2 face=Calibri>Best,</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=2 face=Calibri>Val</font></p></div></div></div>
<div><b>Published:</b> 9/15/2009 1:56 PM</div>
]]></description>
      <author>Val Orekhov</author>
      <pubDate>Tue, 15 Sep 2009 21:17:03 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=61</guid>
    </item>
    <item>
      <title>SharePoint AreaNavigationSettings.aspx error because of customizing application.master</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=60</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass0FAE0A70683541759EAAD279D2E35ACB>
<div>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>In IE7 a JavaScript error is thrown because of a customized application. master. This causes an error that only is apparent in IE and not Firefox. In SharePoint let’s say you want to modify the navigation. Normally you would do this in the Site Actions in SharePoint. Move rearranges pages in the view etc. Because a JavaScript error was thrown it messes up the page and displays all wrong. </font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri></font> </p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3><font face=Calibri>After a little research on the internet I came across a forum mentioning the issue but giving me no solution. All I had from the post was a line number, Line 1480 in the file HierarchicalList.js in the _layouts/1033 folder in the hive. Taking a look at the JavaScript I noticed putting var in front of container=document.getElementById('InsertInspectorPane'); made sense to me because that how I usually write my code. In the end it worked. Fixing that issue fixed many other in the process :)<span>  </span></font></font></p></div></div></div>
<div><b>Published:</b> 8/4/2009 2:35 PM</div>
]]></description>
      <author>Noah Iturriaga</author>
      <pubDate>Tue, 04 Aug 2009 21:37:34 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=60</guid>
    </item>
    <item>
      <title>SharePoint &amp; Reporting Services Integration</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=59</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass97A277F0BE994AA68FD192D2C9F60FB3>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>By default, reporting services 2005 in SharePoint gives you easy access to reports from a nice SharePoint integrated interface. However, I’ve found that sometimes my users needed a quick mechanism to access the same report with different default parameters. In this article, I’ll go over a simple modification you can make to the SharePoint reporting services integration which will allow you to supply default parameters. </font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>So I dug into the reporting services integration and noticed that there is a single page responsible for rendering reports (12\Template\Layouts\ReportServer\RSViewerPage.aspx). Then I realized that there is a web part on this page that does all the heavy lifting (ReportViewerWebPart). </font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><img alt=rswp1 src="/Blog/Media/rswp1.jpg"></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span></span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>At this point, I dug into the web part using reflector and determined that the best approach would be to implement my own web part that derives from the ReportViewerWebPart. </font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>So I opened Visual Studio and added a reference to the Microsoft.ReportingServices.SharePoint.UI.WebParts.dll assembly that I copied from server. I then added a few lines of code in the OnInit() event to parse any query string parameters that begin with the keyword “rp:”. After they are parsed I add the parameter name and value to the OverrideParameters collection.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><img alt=rswp2 src="/Blog/Media/rswp2.jpg"></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span></span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>I then deployed the assembly to the server, added a register directive to the RSViewerPage.aspx file and replaced the web part reference. Remember to make a backup of this page. Now I can supply any number of default parameters to my reports by using the following format.</font></p>
<ul>
<li>
<div class=ExternalClass6E596D4CF8F34D87B4B8EEAA423CC4A9><span style="line-height:115%;font-family:'Calibri','sans-serif';font-size:11pt">RSViewerPage.aspx?RelativeReportUrl=/Reports/TestReport.rdl&amp;<br></span><span style="line-height:115%;font-family:'Calibri','sans-serif';font-size:11pt">DefaultItemOpen=0&amp;<font color="#3366ff">rp:ClientID=12345&amp;&amp;rp:Year=2009</font></span></div></li></ul></div></div>
<div><b>Published:</b> 7/27/2009 8:11 AM</div>
]]></description>
      <author>Hector Ramos</author>
      <pubDate>Mon, 27 Jul 2009 14:54:49 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=59</guid>
    </item>
    <item>
      <title>Cutting ties with your laptop</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=58</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass7C3E4515CCFA421FAD615F1B099F21ED>
<p>I made the mistake yesterday of forgetting my laptop and turning up to the office with no computer to work with.  As was debating on turning my car around (I got all the way to the office) and heading back home when I got thinking.  In today’s connected environment, did I really have a dependency on a single computer to work?  The short answer is no.</p>
<p>When I thought about it some more, having no laptop didn’t mean I couldn’t continue my work day as normal.  I spoke nicely to one of our IT people and asked for a temporary laptop for the morning, hooked it up to the network, logged in, and continued working as normal – how?</p>
<p>The answer is in the tools that I use.  Granted, I’ve moved on from localized development and no longer require a host of specialized tools to work, which makes life easier. Also, I’ve always had a healthy paranoia about keeping work files on portable devices that may inadvertently fall in the parking lot and break into a million pieces, so wove redundancy into my personal workspace some time ago, meaning I was already in great shape for using another computer for work.  </p>
<p>With Internet speeds getting faster and online storage becoming cheaper, there is a definite shift in mentality to store files in the cloud.  I realized this about a year ago.  The following is a list of applications and approaches I use to enable portability in the my day-to-day work:</p>
<p><strong>GTD with ClearContext</strong></p>
<p>I use ClearContext to arrange my inbox within Outlook.  CC uses folders within my inbox, so I don’t have to worry about carting around backups of my settings.  If I choose not to install CC on a loaner laptop, I can still work with my email because filed messages live in Exchange folders and I can put aside new inbox email for filing later when I get back to my laptop – left at home.</p>
<p><strong>Evernote</strong></p>
<p>I am never ever caught out talking to a client without notes from previous meetings.  I know a lot of people like to use One Note, but if you use EN your notes are available on the web, phone, or any other computer (Windows and Mac) that you choose to install the application.  My notes synchronize in a few minutes and I’m up and running.</p>
<p><strong>Drop Box</strong></p>
<p>A well thought out product that synchronizes files across computers and in the cloud.  I use this application on all my computers, and the UI is a simple folder on my desktop – I drag all my files to the special drop box folder and have peace of mind that my files are available on all other computers, or via the web interface.</p>
<p><strong>IM</strong></p>
<p>Using both Communicator (corporate) and MSN (personal), I am able to stay in touch with clients and colleagues.  Both applications install in minutes and require no setup for me to get back online.</p>
<p><strong>SharePoint and Colligo Contributor</strong></p>
<p>With Colligo Contributor – an application that works much like Groove, only better - I can keep a cached version of files on any PC, so if I loose network access I can carry on working on a local copy of my files stored in SharePoint.</p>
<p><strong>X-Lite</strong></p>
<p>X-Lite is a SIP VOIP client.  If I want to take a call from Starbucks, the road (using mobile broadband), abroad, or a client office, it’s no big deal.  The recipient of my call doesn’t know I’m not calling from the office.</p>
<p>So… Flexibility in a nutshell.  If you’ve not done so already, it’s time to cut the chord from your working computer and get into a portable mentality.  </p></div></div>
<div><b>Published:</b> 7/24/2009 7:24 AM</div>
]]></description>
      <author>Robert Garrett</author>
      <pubDate>Fri, 24 Jul 2009 14:23:51 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=58</guid>
    </item>
    <item>
      <title>SharePoint 2010 Sneak Preview!</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=57</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass466514D7538049AF9ECC0C7CFAD6EA27>
<div>
<div>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Microsoft has published several videos as part of reaching technical preview milestone for the next SharePoint 2010 version. Videos highlight some of the exciting new features that will be available to developers, system administrators and end users in the next release. </span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Here’s a brief overview of the three videos available and information that’s provided within:</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in" class=MsoListParagraphCxSpFirst><span style="line-height:115%;font-family:Symbol;font-size:8.5pt"><span>·<span style="font:7pt 'Times New Roman'">          <a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Overview-Video.aspx"><font size=2 face=Verdana>General Overview</font></a></span></span></span><span style="line-height:115%"><font size=2> </font></span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">New UI, similar to O12 “Ribbon” interface</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">New Web Editing tools, to aid in customizing SharePoint sites</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Enhanced theming; providing ability to use Office Client themes for SharePoint sites</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Visio Services</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Improved SharePoint Designer</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Business Connectivity Services (BCS) – next evolutionary step for BDC</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:Symbol;font-size:8.5pt"><span>·<span style="font:7pt 'Times New Roman'">        <font size=3>  </font><a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/IT-Pro-video.aspx"><font size=2 face=Verdana>IT Professional</font></a></span></span></span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Revamped Central Admin site</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Ability to analyze and monitor farm’s health, with ability to fix issues automatically</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Improved Logging &amp; Reporting. Contains new database dedicated to logging</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Improved scalability and management of large lists</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:Symbol;font-size:8.5pt"><span>·<span style="font:7pt 'Times New Roman'">          <a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Developer-video.aspx"><font size=2 face=Verdana>Developer</font></a></span></span></span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Deeper integration with Visual Studio 2010 and VS Team Foundation server</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">LINQ for SharePoint</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Developer Dashboard to help analyze and debug custom Web Parts</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 0pt 1in" class=MsoListParagraphCxSpMiddle><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Client OM for use with client technologies such as Silverlight</span></p>
<p style="text-indent:-0.25in;margin:0in 0in 10pt 1in" class=MsoListParagraphCxSpLast><span style="line-height:115%;font-family:'Courier New';font-size:8.5pt"><span>o<span style="font:7pt 'Times New Roman'">    </span></span></span><span style="line-height:115%;font-family:'Verdana','sans-serif';font-size:8.5pt">Business Connectivity Services – 2 way integration with Line of Business applications</span></p>.</div></div></div></div>
<div><b>Published:</b> 7/13/2009 2:05 PM</div>
<div><b>BlogTitleForUrl:</b> Sharepoint2010Preview</div>
]]></description>
      <author>Eugene Wilson</author>
      <pubDate>Mon, 13 Jul 2009 21:05:01 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=57</guid>
    </item>
    <item>
      <title>SharePoint Rendering Templates</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=56</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass0D951E9A8EF64235A4292218DF1CC5D5>
<div>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>One thing that I’m often tasked with doing is to changing the way SharePoint renders specific controls or to change the functionality behind out of the box controls. A lot of times the task is fairly easy due to SharePoint’s use of rendering templates.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>In the ControlTemplates folder of the 12 hive you will find a file called “DefaultTemplates.ascx” which SharePoint uses to define how out of the box controls are rendered. This file contains a large list of rendering templates defining how fields and forms are rendered. There is so much content, I’ll let you look at all the options. </font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>For the purposes of this post, I’ll do a quick sample on how to override the “UserInfoListDisplayFormToolBar” rendering template to add a custom button that redirects the user to the EditProfile.aspx button.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>If you inspect the rendering template, it looks like this:</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><img alt="Rendering Template" src="/Blog/Media/RenderingTemplate1.jpg"></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span><font size=3 face=Calibri></font></span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>What I want to do it, override the “UserInfoListEditItemButton” functionality. The first step is to create a custom control that inherits from the SharePoint “UserInfoListEditItemButton” and overrides the OnLoad() method. </font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><img alt="Rendering Template" src="/Blog/Media/RenderingTemplate2.jpg"></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span><font size=3 face=Calibri></font></span></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><font size=3 face=Calibri>Then I will copy the rendering template and paste it into a separate ASCX file and replace the standard EditButton with my own button.</font></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><img alt="Rendering Template" src="/Blog/Media/RenderingTemplate3.jpg"></p>
<p style="margin:0in 0in 10pt" class=MsoNormal><span><font size=3 face=Calibri></font></span></p><span style="line-height:115%;font-family:'Calibri','sans-serif';font-size:11pt">To deploy, simply copy the compiled assembly to the GAC and place the ASCX file in the ControlTemplate folder. Then recycle the application pools and you are done. </span></div></div></div>
<div><b>Published:</b> 6/18/2009 2:02 PM</div>
]]></description>
      <author>Hector Ramos</author>
      <pubDate>Thu, 18 Jun 2009 20:58:17 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=56</guid>
    </item>
    <item>
      <title>Alerts cannot be opened </title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=55</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassA00995F3C1104C9AAB1A3AA748846AB0><div>We had a client that who was experiencing issues with alerts after a server migration. We ran a series of stsadm commands to get the alerts back up and working, then we discovered a new problem. Users who were using Outlook 2007 could not open the alerts. </div>
<div> </div>
<div>Out client was running Exchange 2003 with Outlook 2007. This is a known issue. Exchange 2003 cannot convert the MIME-type properties to MAPI-type properties correctly if the names of the properties begin with X-. Microsoft has released a hotfix for the issue, which can be found at the following link <span style="color:#1f497d;font-family:'Calibri','sans-serif'"><a href="http://support.microsoft.com/kb/930807/en-us"><font color="#0000ff" size=2>http://support.microsoft.com/kb/930807/en-us</font></a><font size=2>. </font></span></div>
<div><span style="font-size:11pt;color:#1f497d;font-family:'Calibri','sans-serif'"></span> </div>
<div><span style="color:#1f497d;font-family:'Calibri','sans-serif'"><font color="#000000" size=2>If you do not want to install the hotfix, there is a work around. Disabling the Cached Exchange Mode in Outlook, will allow the users to open the alerts. I found the information on the following blog. <a href="http://www.mindsharpblogs.com/Kathy/archive/2007/02/15/1568.aspx">http://www.mindsharpblogs.com/Kathy/archive/2007/02/15/1568.aspx</a>. Our client disabled the Cached Exchange Mode and were once again, able to open the alerts sent from MOSS. </font></span></div>
<div><span style="font-size:11pt;color:#1f497d;font-family:'Calibri','sans-serif'"></span> </div>
<div><span style="font-size:11pt;color:#1f497d;font-family:'Calibri','sans-serif'"></span> </div></div></div>
<div><b>Published:</b> 4/6/2009 8:32 AM</div>
]]></description>
      <author>Jamie Nace</author>
      <pubDate>Mon, 06 Apr 2009 15:47:23 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=55</guid>
    </item>
    <item>
      <title>Alerts Stop Working After Migration</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=54</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass2F4AFFB388CC435B9B29D654B9589856><div>After migrating a MOSS farm from one server to another, users informed us that the alerts were no longer working. Users would receive the email that an alert was set up on a list, but would not receive the actual alert.</div>
<div> </div>
<div>We ran through many troubleshooting steps to no avail. Finally, we ran the following commands and the alerts started working again. </div>
<div> </div>
<div>As a side note, some of these commands needed to be ran twice.  (The first and third command)</div>
<div> </div>
<ul>
<li>stsadm -o setproperty -pn alerts-enabled -pv yes -url &lt;site url&gt;</li>
<li>stsadm -o getproperty -url &lt;<a href="http://problemsite">http://problemsite</a>&gt; -pn alerts -enabled</li>
<li>stsadm -o setproperty -url &lt;<a href="http://yourserver/problemsite">http://yourserver/problemsite</a>&gt; -pn alerts-enabled -pv true</li>
<li>stsadm -o setproperty -url &lt;<a href="http://yourserver/problemsite">http://yourserver/problemsite</a>&gt; -pn job-immediate-alerts -pv &quot;every 1 minute&quot;</li></ul>
<div> </div>
<div> </div>
<div> </div></div></div>
<div><b>Published:</b> 4/6/2009 8:11 AM</div>
]]></description>
      <author>Jamie Nace</author>
      <pubDate>Mon, 06 Apr 2009 15:31:52 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=54</guid>
    </item>
    <item>
      <title>Announcing public availability of WssDeploy – a remote deployment and debugging tool for SharePoint  developers</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=53</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass4860F1712EB84F268B7D1DA39F71D966>
<p>With this belated post, I would like to introduce the <a href="http://wssdeploy.codeplex.com/">WssDeploy tool</a> recently published on CodePlex. The tool simplifies life of a SharePoint developer by automating a number of deployment steps and making them easily accessible from within Visual Studio 2008. Ever since release of SharePoint Server 2003, development for the platform necessitated installing Visual Studio on a server OS alongside SharePoint. While a number of advances have taken place in enabling SharePoint to run on client OSs running IIS7, no compelling option, with enough automated support, existed which would allow you to decouple the dev process from the server without making the deployment and debugging process too arduous. Enter WssDeploy. </p>
<p>Building upon successes of the WspBuilder, the WssDeploy tool embraces the WSP-first SharePoint development paradigm and allows a developer to develop locally on a regular workstation without any SharePoint runtime present (other than DLLs necessary for compiling SharePoint projects) and deploy complete WSPs, DLLs and individual file assets over to another machine (physical or virtual) with WSS/MOSS server runtime. This introduces a number of benefits primarily derived from the fact that the Visual Studio and SharePoint no longer are fighting for the same virtual address space (yes, we are still not allocating more than 1 Gb of RAM per MOSS development environment). The upshot of all of this is: </p>
<ul>
<li>Improved developer experience by having a more responsive Visual Studio; </li>
<li>Faster SharePoint app pool reset / pregnant load cycles. </li>
<li>Simplified multi-project development environment maintenance as only a single Visual Studio setup needs to be configured to push to multiple separate environments; </li>
<li>Reduced burden in setting up remote debugging by cutting out a number of manual steps involved in preparing the remote server for a debugging session (starting / stopping the debugger service). </li></ul>
<p>The tool uses WSPBuilder console utility to build your WSPs, so everything you learned in setting up Visual Studio projects for WSP build support applies here. Once the WSP project infrastructure is configured in your project, the remote deployment settings are configured from within Visual Studio: </p>
<p><img alt="" src="/Blog/Lists/Photos/032809_1828_Announcingp1.png"> </p>
<p>Having configured the settings, the following actions can now be executed by right-clicking on your project node in the Solution Explorer: </p>
<p><img alt="" src="/Blog/Lists/Photos/032809_1828_Announcingp2.png"> </p>
<p>The development process is comprised of deploying (once) and upgrading (repetitively) WSP remotely for large drops (involving configuration, feature assets and assemblies) interspersed with assembly GAC deployments for smaller incremental code changes. </p>
<p>As mentioned above, the tool has a number of features supporting the process of remote debugging. This is one area where we are going to be investing additional development hours to make the F5 deployment &amp; debug experience a reality for SharePoint developers. For now, the tool assists you with performing remote debugging by starting, stopping the remote debugger, copying DLLs to a target server, resetting app pools and putting PDB files side-by-side with assemblies (in GAC). </p>
<p>To support the deployment functionality, the tool comes with a server-side enabler service developed in WCF that needs to be deployed to every physical server that a developer works against. For farms, putting in the service on a single server is enough so long only the WSP Deploy and Upgrade actions are used. More complete installation requirements can be found in the project workplace: <a href="http://wssdeploy.portalsolutions.net/">http://wssdeploy.portalsolutions.net/</a> </p>
<p>In closing, this tool is but the first in a series of tools we will be releasing onto CodePlex in coming weeks. The highlights of the upcoming open and closed source releases are: </p>
<ul>
<li>A custom search web part alleviating a number of pains with the standard MOSS Core Search Results Web Part. eXSL support, built in paging and finer control over query formats is what the web part provides over the OTB one. </li>
<li>A cross-site and cross- site collection data rollup component designed to compete with SPSiteDataQuery in execution speed of rollup queries. </li>
<li>A declarative web post-provisioning framework bridging the gap between feature set provided in STPs and site templates and real-world requirements, such as applying a consistent ACL to created webs. </li></ul>
<p>Please head on over to the project workspace to download and try WssDeploy and stay tuned for more project release updates! </p>
<p>Val </p></div></div>
<div><b>Published:</b> 3/28/2009 11:30 AM</div>
]]></description>
      <author>Val Orekhov</author>
      <pubDate>Sat, 28 Mar 2009 18:28:59 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=53</guid>
    </item>
    <item>
      <title>Microsoft PDC 2008: Day three update, New C# 4.0 features</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=52</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass5DAF01755188445E9D3D8AA7578C6FC7><p>The keynote address this morning was entirely dedicated to presenting the Microsoft Research and its projects. No new major technology announcements were made with the majority of happenings shifting to the sessions. Out of the four sessions I visited, the following one stood out:
</p><p><strong>TL16, The Future of C#. </strong>A repeat from the presentation on Day 1, but nevertheless most interesting.<strong>
  </strong></p><p>Anders Hejlsberg, C# Chief Architect described the progression of language features from v1.0 to 4.0 and beyond. Key new additions upcoming in the C# language include:
</p><ul><li> Language-level integration with dynamically (or weakly) typed objects. Dynamic Language Runtime, a new extension is being introduced on top of CLR to support dynamic objects and provide translation of calls to functions in properties in the runtime. A new variable declaration type called &quot;dynamic&quot; in the strongly-typed world is being added to the language to supported &quot;dynamically-static&quot; references. Such examples as calling JavaScript/DOM functions, IronRuby and calling COM objects, and .NET types whose interface is not known at the compile time will be supported. As expected in this scenario, any &quot;dynamic&quot; object variable has type checks deferred to run time. Needles to say, the added support provides for much cleaner code!  
</li><li>Parallel execution support with PLINQ. Using this language extension, a query plan can be created with various selection, join or filtering operations performed on multiple parallel threads, or offloaded in part to external database engines. Language support was necessary in this case to abstract the specifics of manipulating data from loops and logical forks to high level kewords so that an overall query plan could be inferred by the compiler and work units broken up.
</li><li>C# purists beware, the optional and named method parameters are making it into the language spec with v4.0.  Though, the result is, again, much cleaner code when it comes to creating multiple overload methods intended to support optional parameter scenarios. As a logical extension, calling COM proxies is getting much easier now.
</li><li>Covariance/contravariance support in generics allowing to pass around collections of objects that can be safely down/up-casted for the purposes of matching a type required by the generic declaration. Such scenarios as passing a IEnumerable&lt;strings&gt; to a method that expects a IEnumerable &lt;object&gt; is now going to be possible, as one example. In short, scenarios involving generics, which previously did not work, where types could be safely up or down-casted should now be just fine.
</li><li>Compiler as a service. Since v1.0 Microsoft.Csharp namespace contained means to programmatically invoke a process of compiling input C# program into byte code. With upcoming releases of the language, Microsoft is looking to open up the compiler blackbox to expose APIs for manipulating DOM expression trees and doing on the fly compilation of strings and streams into IL. The concept was demonstrated with a cool application behaving like a C# console, accepting valid C# grammar and executing typed actions on the fly. 
</li></ul><p>For the fool session, please see this <a href="http://channel9.msdn.com/pdc2008/TL16/">Channel 9 link</a>.
</p><p>As I will be flying back tomorrow, I will only be able to report on a part of the morning sessions and any other content I will catch online. Stay tuned.
</p><p>Val</p></div></div>
<div><b>Published:</b> 10/29/2008 10:58 PM</div>
]]></description>
      <author>System Account</author>
      <pubDate>Thu, 30 Oct 2008 05:58:37 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=52</guid>
    </item>
    <item>
      <title>Microsoft PDC 2008, the second day</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=51</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassEA1E677C92D340609F88E100FFD4492E><p><span style="font-family:Arial;font-size:10pt">The second day of the PDC proved to be much more exciting! During a keynote address at the morning session, Microsoft  unveiled an early preview of the upcoming version of Windows 7. On the Office side of things, Microsoft announced today that it will be including a web-based lightweight client integrated with Live services. Also, the majority of demos features Visual Studio 2010 and showcased its enhancements.
</span></p><p><span style="font-family:Arial;font-size:10pt">On the Windows 7 side, many feature improvements were demonstrated, cf. the UI and wizard enhancements, multi-monitor and touch display support, search service –based catalogs dubbed Collections, home networking improvements, and even the extension of the current Bitlocker drive encryption software towards thumb drives. While the new OS continues to look and feel like Vista with many dialogs and productivity centers improved and taken to their logical functional conclusion, many promised improvements in the core internals such as optimizations in the kernel and graphic subsystem memory footprint, indexer service HDD impact and improved power management features will definitely be well received by the IT professional and user communities.
</span></p><p><span style="font-family:Arial;font-size:10pt">On the development front, building upon the announcement of Windows Azure yesterday, a detailed code dive provided a better insight into the development model and process involving consumption of Azure APIs. Demonstrated scenarios included development of ATOM WCF services capable of processing messages locally and also proxied by cloud-based Azure messaging bus with subsequent scenarios going into consumption of Live and SQL Services APIs as a part of the same service. The technical demos also covered scenarios of developing a WPF application for managing  and viewing photo collection whilst integrating with Live and Mesh service APIs and consuming changes in real time on connected rich and mobile clients. All the above technical sections were conducted to showcase new features offered as a part of the upcoming Visual Studio 2010 release. Many smaller controls and framework releases were mentioned and announced for availability &quot;today&quot; or &quot;this week&quot;, to name a few: Silverlight Control Toolkit, Ribbon Interface Controls for WPF, and .NET CTP. 
</span></p><p><span style="font-family:Arial;font-size:10pt">While many VS 2010 code editor enhancements demonstrated in the past two days may be familiar to users of refactoring add-ons, such as Resharper and CodeSmith, one thing that jumped out was the revamped WPF-based editor implementation that allows easy customizations plugging directly into the editor canvas, which can be implemented by any .NET developer with little effort. However, one thing that received the most applause from the audience was introduction of config-driven, environment-specific Web.config files (Web.Stage.Config, Web.Production.Config, etc).
</span></p><p><span style="font-family:Arial;font-size:10pt">From seeing the demonstrations, an unavoidable feeling emerged that the importance of WPF and its offspring Silverlight ( a.k.a WPF/E) is taking a prominent place in all future Microsoft roadmaps, with examples including eventual migration of VS 2010 IDE over to WPF and reliance of Microsoft Office Online apps on Silverlight. Further breakout sessions on Silverlight confirmed that Microsoft is going to continue evolving the technology and is currently working on as series of extensions controls meant to simplify construction of business applications and improve robustness of its visual and interactive features. 
</span></p><p><span style="font-family:Arial;font-size:10pt">Stay tuned for updates from day three!
</span></p><p><span style="font-family:Arial;font-size:10pt">Val</span>
 </p><p>
 </p></div></div>
<div><b>Published:</b> 10/28/2008 10:54 PM</div>
]]></description>
      <author>System Account</author>
      <pubDate>Wed, 29 Oct 2008 05:54:09 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=51</guid>
    </item>
    <item>
      <title>Microsoft PDC 2008: Conference update from the first day</title>
      <link>http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=50</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassFCDED5DCEF784AB1B1B1D03DD01A3023><p>In continuing its push for the software + services strategy, Microsoft unveiled today, at the first day of PDC 2008, a new set of technologies for an internet-grade cloud services platform under the moniker of Windows <a href="http://azure.com">Azure</a>. Building upon the extensive stack of developer technologies, Azure offers new features meant to simplify the process of deploying, managing, scaling and integrating with applications running within Microsoft geo-redundant data centers. Azure integrates with and incorporates the following technologies:
</p><ul><li>.NET Services
</li><li>(Windows) Live Services
</li><li>SQL Data Services
</li><li>SharePoint Online Service and Dynamics CRM Service
</li></ul><p>On the side of all things SharePoint, Microsoft outlined a roadmap for continuing to integrate the current and future SharePoint technology offerings into its online services platform.  While many items are currently in the burn-down stage, the most anticipated feature requested by developers will allow to apply code-based customizations to SharePoint Online Services environments running in the multi-tenant mode. In its current incarnation, the Standard version of SharePoint Online Services will remain friendly to content database –based customizations performed through the web UI and the SharePoint Designer companion tool . In the same Standard offering, the roadmap does not propose to include BI feature set of SharePoint with all other feature stacks having a significant coverage to be completed in the future versions. 
</p><p>Special attention during SharePoint sessions was given to interactive development and integration of the recently-released Sliverlight 2.0 technology with SharePoint online services. 
</p><p>Stay tuned for updates from the second day of PDC!
</p><p>Val</p></div></div>
<div><b>Published:</b> 10/27/2008 8:54 PM</div>
]]></description>
      <author>System Account</author>
      <pubDate>Tue, 28 Oct 2008 03:54:57 GMT</pubDate>
      <guid isPermaLink="true">http://www.portalsolutions.net/Blog/Lists/Posts/ViewPost.aspx?ID=50</guid>
    </item>
  </channel>
</rss>