<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://technetsrilanka.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Danushka Silva</title><link>http://technetsrilanka.net/blogs/danushkas/default.aspx</link><description>It&amp;#39;s all about SharePoint</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2012/04/09/the-query-cannot-be-completed-because-the-number-of-lookup-columns-it-contains-exceeds-the-lookup-column-threshold.aspx</link><pubDate>Mon, 09 Apr 2012 11:05:06 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:766</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=766</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=766</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2012/04/09/the-query-cannot-be-completed-because-the-number-of-lookup-columns-it-contains-exceeds-the-lookup-column-threshold.aspx#comments</comments><description>Recently I published an InfoPath form and got an error. “The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold enforced by the administrator” and the event log was like this This is because...(&lt;a href="http://technetsrilanka.net/blogs/danushkas/archive/2012/04/09/the-query-cannot-be-completed-because-the-number-of-lookup-columns-it-contains-exceeds-the-lookup-column-threshold.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=766" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/InfoPath+2010/default.aspx">InfoPath 2010</category></item><item><title>New SharePoint developer tools in Visual Studio 11 Beta</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2012/04/05/new-sharepoint-developer-tools-in-visual-studio-11-beta.aspx</link><pubDate>Thu, 05 Apr 2012 12:29:43 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:765</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=765</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=765</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2012/04/05/new-sharepoint-developer-tools-in-visual-studio-11-beta.aspx#comments</comments><description>Check the new SharePoint developer tools in Visual Studio 11 developer preview. http://msdn.microsoft.com/en-us/library/ee290856%28v=VS.110%29.aspx...(&lt;a href="http://technetsrilanka.net/blogs/danushkas/archive/2012/04/05/new-sharepoint-developer-tools-in-visual-studio-11-beta.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=765" width="1" height="1"&gt;</description></item><item><title>Microsoft Student Champ's Meeting - December, 2010</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/12/09/microsoft-student-champ-s-meeting-december-2010.aspx</link><pubDate>Thu, 09 Dec 2010 11:08:04 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:695</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=695</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=695</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/12/09/microsoft-student-champ-s-meeting-december-2010.aspx#comments</comments><description>The Microsoft Student Champ Community had their last meeting of the year 2010, last Friday (3rd Dec). I was given the great opportunity of hosting a session as the guest speaker. It was a wonderful evening! We had a great crowd, of young university students...(&lt;a href="http://technetsrilanka.net/blogs/danushkas/archive/2010/12/09/microsoft-student-champ-s-meeting-december-2010.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=695" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category></item><item><title>BDC model project deployment error – SharePoint 2010</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/12/06/bdc-model-project-deployment-error-sharepoint-2010.aspx</link><pubDate>Mon, 06 Dec 2010 06:44:52 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:691</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=691</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=691</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/12/06/bdc-model-project-deployment-error-sharepoint-2010.aspx#comments</comments><description>I was trying to develop a BDC model project with visual studio 2010 and tried to change the Identifier. Once I changed the Identifier and tried to deploy. There I got an error. In short, error will be like this Error&amp;#160;&amp;#160;&amp;#160; 1&amp;#160;&amp;#160;&amp;#160;...(&lt;a href="http://technetsrilanka.net/blogs/danushkas/archive/2010/12/06/bdc-model-project-deployment-error-sharepoint-2010.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=691" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/BDC/default.aspx">BDC</category></item><item><title>How to: Create an External Content type using SharePoint Designer 2010 (Business Connectivity Services)</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/08/19/how-to-create-an-external-content-type-using-sharepoint-designer-2010-business-connectivity-services.aspx</link><pubDate>Thu, 19 Aug 2010 04:44:48 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:663</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=663</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=663</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/08/19/how-to-create-an-external-content-type-using-sharepoint-designer-2010-business-connectivity-services.aspx#comments</comments><description>Here we are going to do a lab that creates an external content type using SharePoint 2010. Assume your company has a database with product details. You need to retrieve those details from the database and show them in the SharePoint site. Here you need...(&lt;a href="http://technetsrilanka.net/blogs/danushkas/archive/2010/08/19/how-to-create-an-external-content-type-using-sharepoint-designer-2010-business-connectivity-services.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=663" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/BDC/default.aspx">BDC</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+Designer+2010/default.aspx">SharePoint Designer 2010</category></item><item><title>Error:”The form has been closed” – InfoPath 2007</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/08/16/error-the-form-has-been-closed-infopath-2007.aspx</link><pubDate>Mon, 16 Aug 2010 11:10:23 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:662</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=662</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=662</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/08/16/error-the-form-has-been-closed-infopath-2007.aspx#comments</comments><description>Here I got an error when I tried to attach custom InfoPath Initiation and Association forms to display in a SharePoint workflow. Depends on the IE session the error message differ. If you close the browser and reopened 2nd and 3rd error messages will...(&lt;a href="http://technetsrilanka.net/blogs/danushkas/archive/2010/08/16/error-the-form-has-been-closed-infopath-2007.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=662" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/InfoPath+2007/default.aspx">InfoPath 2007</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/Customization/default.aspx">Customization</category></item><item><title>Error: “Cannot access the local farm” – PowerShell command error</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/07/07/error-cannot-access-the-local-farm-powershell-command-error.aspx</link><pubDate>Wed, 07 Jul 2010 04:40:13 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:650</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=650</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=650</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/07/07/error-cannot-access-the-local-farm-powershell-command-error.aspx#comments</comments><description>When working with PowerShell I got an error. First I thought I am making some kind of a&amp;#160; mistake because I am new to this as well &amp;#160; So I was struggling to make it happen and finally figured it out. The solution was to have administrator privileges...(&lt;a href="http://technetsrilanka.net/blogs/danushkas/archive/2010/07/07/error-cannot-access-the-local-farm-powershell-command-error.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=650" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>Error: “SQL server has an unsupported version” when installing SharePoint 2010</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/07/05/error-sql-server-has-an-unsupported-version-when-installing-sharepoint-2010.aspx</link><pubDate>Mon, 05 Jul 2010 04:06:59 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:649</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=649</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=649</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/07/05/error-sql-server-has-an-unsupported-version-when-installing-sharepoint-2010.aspx#comments</comments><description>&lt;p&gt;This error message came when I was installing SharePoint Server 2010. You might not get this error all the time so first I’ll explain my environment which I tried to install SharePoint 2010. My OS was Windows Server 2008 R2 Standard 64-bit (6.1, Build 7600) and SQL Server 2008 Standard x64. So I started with SQL server which was a smooth installation and then started the SharePoint Server 2010. The setup installation went smoothly. But when it comes to the SharePoint 2010 Products Configuration Wizard, it asked the database server and credentials. So I gave the same name and credentials which I installed before. Then the error came&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/SP2010Sql2008errorNew_5F00_6F38A55A.jpg"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="SP2010-Sql2008 error New" border="0" alt="SP2010-Sql2008 error New" src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/SP2010Sql2008errorNew_5F00_thumb_5F00_1238F0FE.jpg" width="244" height="201" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;So I download the SQL Server 2008 Service Pack 1 and installed, restarted and tried again. Then I got the same error but the version number was different.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/SP2010Sql2008error2New_5F00_71457E56.jpg"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="SP2010-Sql2008 error2 New" border="0" alt="SP2010-Sql2008 error2 New" src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/SP2010Sql2008error2New_5F00_thumb_5F00_2047BA2E.jpg" width="244" height="207" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Went through everything again and finally found the solution. It was to install the Cumulative update package 2 for SQL Server 2008 Service Pack 1 on SQL server 2008.&lt;/p&gt;  &lt;p&gt;Here are the links&lt;/p&gt;  &lt;p&gt;SQL Server 2008 Service Pack 1    &lt;br /&gt;&lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Cumulative update package 2 for SQL Server 2008 Service Pack 1    &lt;br /&gt;&lt;a title="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=970315&amp;amp;kbln=en-us" href="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=970315&amp;amp;kbln=en-us"&gt;http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=970315&amp;amp;kbln=en-us&lt;/a&gt;&lt;/p&gt;  &lt;hr /&gt;  &lt;p style="text-align:center;color:#999999;"&gt;Please add a comment if you use this code or it helped you. So I can make my posts better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=649" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>Calculate business days (weekdays) for a given two days using OOTB calculated field.</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/06/30/calculate-business-days-week-days-for-a-given-two-days-using-ootb-calculated-field.aspx</link><pubDate>Wed, 30 Jun 2010 12:03:00 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:646</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=646</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=646</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/06/30/calculate-business-days-week-days-for-a-given-two-days-using-ootb-calculated-field.aspx#comments</comments><description>&lt;p&gt;Recently I needed to calculate business days for a given start and end days. But I needed to do this using OOTB calculated field. This formula has to remove Saturdays and Sundays (Weekends) from the given start and end dates. Here I check if dates are inserted. If not I return an empty string. I was struggling with functions in calculated fields and I was not allowed to use SharePoint object model. I tried so many ways and finally came up with the correct formula. I need to thank Sujeewa, who helped me out with the formula. Here is the formula. Happy coding &lt;img alt="smile_wink" src="http://spaces.live.com/rte/emoticons/smile_wink.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;=IF(ISERROR(DATEDIF(StartDate,EndDate,&amp;quot;d&amp;quot;)),&amp;quot;&amp;quot;,(DATEDIF(StartDate,EndDate,&amp;quot;d&amp;quot;))+1      &lt;br /&gt;-INT(DATEDIF(StartDate,EndDate,&amp;quot;d&amp;quot;)/7)*2       &lt;br /&gt;-IF((WEEKDAY(EndDate)-WEEKDAY(StartDate))&amp;lt;0,2,0)       &lt;br /&gt;-IF(OR(AND(WEEKDAY(EndDate)=7,WEEKDAY(StartDate)=7),AND(WEEKDAY(EndDate)=1,WEEKDAY(StartDate)=1)),1,0)       &lt;br /&gt;-IF(AND(WEEKDAY(StartDate)=1,(WEEKDAY(EndDate)-WEEKDAY(StartDate))&amp;gt;0),1,0)       &lt;br /&gt;-IF(AND(NOT(WEEKDAY(StartDate)=7),WEEKDAY(EndDate)=7),1,0))&lt;/span&gt; &lt;/p&gt;
&lt;hr /&gt;
&lt;p style="text-align:center;color:#999999;"&gt;Please add a comment if you use this code or it helped you. So I can make my posts better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=646" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/Customization/default.aspx">Customization</category></item><item><title>Dropdown get to editable mode when more than 19 records in lookup fields</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/06/21/dropdown-gets-to-editable-mode-when-more-than-19-records-in-lookup-fields.aspx</link><pubDate>Mon, 21 Jun 2010 05:31:00 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:642</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=642</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=642</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/06/21/dropdown-gets-to-editable-mode-when-more-than-19-records-in-lookup-fields.aspx#comments</comments><description>&lt;p&gt;When you create a lookup field to reference data from another list, you will get a dropdown control to select data from that list. If you select &amp;ldquo;Allow multiple values&amp;rdquo; you will get a list box control with two buttons which you can select values. But have you ever seen an editable dropdown OOTB in SharePoint? I don&amp;rsquo;t think so. If you need to add an editable dropdown then you have to come up with your own custom control.&lt;/p&gt;
&lt;p&gt;When you add more than 19 records to the lookup list, SharePoint automatically makes that dropdown list editable. This is because when you have lots of items in the dropdown, It&amp;rsquo;s very difficult to find an appropriate item. So SharePoint allows you to type in the dropdown and it&amp;rsquo;s automatically sorted. This is not a bug. This is a feature in SharePoint.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s see some screenshots.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_164913_5F00_178B46AD.jpg"&gt;&lt;img src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_164913_5F00_thumb_5F00_6DC7CBB9.jpg" alt="2010-06-18_164913" title="2010-06-18_164913" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" border="0" height="73" width="140" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;OK&amp;hellip; I have two lists. &amp;ldquo;My Favorite Colours&amp;rdquo; has a lookup field to &amp;ldquo;My Colours&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_165801_5F00_04A69D36.jpg"&gt;&lt;img src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_165801_5F00_thumb_5F00_69219B32.jpg" alt="2010-06-18_165801" title="2010-06-18_165801" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" border="0" height="244" width="164" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&amp;ldquo;My Colours&amp;rdquo; has some colours in the list.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_165902_5F00_2DEDBF67.jpg"&gt;&lt;img src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_165902_5F00_thumb_5F00_24455131.jpg" alt="2010-06-18_165902" title="2010-06-18_165902" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" border="0" height="227" width="244" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Added the lookup field to &amp;ldquo;My Favorite Colours&amp;rdquo; list&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_165922_5F00_541FF2F2.jpg"&gt;&lt;img src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_165922_5F00_thumb_5F00_6DA7801F.jpg" alt="2010-06-18_165922" title="2010-06-18_165922" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" border="0" height="55" width="244" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;When &amp;ldquo;My Colours&amp;rdquo; has 19 records, &amp;ldquo;My Favorite Colours&amp;rdquo; list&amp;rsquo;s edit form shows usual dropdown box (Un editable)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_170647_5F00_7001021D.jpg"&gt;&lt;img src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_170647_5F00_thumb_5F00_5B2F099D.jpg" alt="2010-06-18_170647" title="2010-06-18_170647" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" border="0" height="88" width="244" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;But when we added more than 19 it&amp;rsquo;s automatically gets to editable. You can type and it&amp;rsquo;s automatically gets sorted according to the typed character.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_170822_5F00_206760C7.jpg"&gt;&lt;img src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/20100618_5F00_170822_5F00_thumb_5F00_08ECAC96.jpg" alt="2010-06-18_170822" title="2010-06-18_170822" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" border="0" height="66" width="244" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;I know what you think now. Users can type any value and save to the list without checking the lookup values. Don&amp;rsquo;t worry SharePoint automatically checks the value and show an error message. &lt;/p&gt;
&lt;hr /&gt;
&lt;p style="text-align:center;color:#666666;"&gt;Please add a comment if you use this code or it helped you. So I can make my posts better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=642" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category></item><item><title>SharePoint 2010 VM in 32 bit host machine</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2010/03/31/sharepoint-2010-vm-in-32-bits-host-machine.aspx</link><pubDate>Tue, 30 Mar 2010 22:12:06 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:607</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=607</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=607</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2010/03/31/sharepoint-2010-vm-in-32-bits-host-machine.aspx#comments</comments><description>&lt;p&gt;I was trying to install SharePoint 2010 VM in 32 bit machine last week and couldn’t do it. After hours of searching the web I found a solution for that. This is a very good article that explains how you can install SharePoint 2010 VM in 32 bit host machine. Since SharePoint 2010 only comes in 64x version it’s worth reading. Thanks for perete for publishing this article.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://comunidad.terra.es/blogs/moss/archive/2009/07/18/howtocreateasharepoint2010vmin32bitshostmachine1of5.aspx" href="http://comunidad.terra.es/blogs/moss/archive/2009/07/18/howtocreateasharepoint2010vmin32bitshostmachine1of5.aspx"&gt;http://comunidad.terra.es/blogs/moss/archive/2009/07/18/howtocreateasharepoint2010vmin32bitshostmachine1of5.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=607" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category></item><item><title>SharePoint Server 2010 Beta</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2009/11/24/sharepoint-server-2010-beta.aspx</link><pubDate>Tue, 24 Nov 2009 08:28:26 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:527</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=527</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=527</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2009/11/24/sharepoint-server-2010-beta.aspx#comments</comments><description>&lt;p&gt;As you&amp;#39;re all waiting for SharePoint 2010, Now is the chance to taste it. &lt;a href="http://technet.microsoft.com/en-us/evalcenter/ee388573.aspx" target="_blank"&gt;Click here to download your SharePoint Server 2010 Beta version now&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=527" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category></item><item><title>Custom Master pages on SharePoint</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2009/11/05/custom-master-pages-on-sharepoint.aspx</link><pubDate>Thu, 05 Nov 2009 05:35:04 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:466</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=466</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=466</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2009/11/05/custom-master-pages-on-sharepoint.aspx#comments</comments><description>&lt;p&gt;Few months ago I wanted to create a custom master page for a SharePoint portal and after some research I found a way of customizing master pages on SharePoint. But I couldn’t post a blog about it. Here I am attaching my custom master pages and I will update this as I develop it further in the future. I will explain the ways of customization soon.&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="400" border="0"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/SpringnetMoss_5F00_06F0BC21.gif"&gt;&lt;img title="SpringnetMoss" style="border-top-width:0px;display:inline;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="158" alt="SpringnetMoss" src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/SpringnetMoss_5F00_thumb_5F00_71068829.gif" width="244" border="0" /&gt;&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="200"&gt;Intranet for Spring Global Services on MOSS 2007&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/DilmahMoss_5F00_04C07FAB.gif"&gt;&lt;img title="DilmahMoss" style="border-top-width:0px;display:inline;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;" height="148" alt="DilmahMoss" src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/DilmahMoss_5F00_thumb_5F00_111E7D07.gif" width="244" border="0" /&gt;&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="200"&gt;Intranet for another customer on MOSS 2007&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/HostedWss_5F00_57E6EF92.jpg"&gt;&lt;img title="HostedWss" style="border-right:0px;border-top:0px;display:inline;border-left:0px;border-bottom:0px;" height="184" alt="HostedWss" src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/HostedWss_5F00_thumb_5F00_55B9CAFC.jpg" width="244" border="0" /&gt;&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="200"&gt;Hosted WSS site on WSS 3.0&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=466" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/Customization/default.aspx">Customization</category></item><item><title>Awesome SharePoint features in Visual Studio 2010</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2009/11/05/awesome-sharepoint-features-in-visual-studio-2010.aspx</link><pubDate>Thu, 05 Nov 2009 02:51:54 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:463</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=463</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=463</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2009/11/05/awesome-sharepoint-features-in-visual-studio-2010.aspx#comments</comments><description>&lt;p&gt;Few days ago MS has announced Visual Studio 2010. It contain many SharePoint project templates and grate features for SharePoint developers. Here is the short overview which Microsoft SharePoint Team Blog has given. &lt;a href="http://blogs.msdn.com/sharepoint/archive/2009/10/28/short-overview-of-sharepoint-features-in-visual-studio-2010.aspx" target="_blank"&gt;Read more at Microsoft SharePoint Team Blog.&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;SharePoint Project and Project Item Templates&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The following SharePoint specific project templates and project item templates are available in Visual Studio 2010: &lt;/p&gt;  &lt;h6&gt;&lt;strong&gt;Project Templates&lt;/strong&gt;&lt;/h6&gt;  &lt;p&gt;· Empty SharePoint project    &lt;br /&gt;· Visual Web Part project     &lt;br /&gt;· Sequential and State Machine Workflow     &lt;br /&gt;· Business Data Connectivity Model     &lt;br /&gt;· Event Receiver     &lt;br /&gt;· List Definition     &lt;br /&gt;· Content Type     &lt;br /&gt;· Module Project     &lt;br /&gt;· Site Definition &lt;/p&gt;  &lt;h6&gt;&lt;strong&gt;Project Item Templates&lt;/strong&gt;&lt;/h6&gt;  &lt;p&gt;· Empty Element    &lt;br /&gt;· Web Part     &lt;br /&gt;· User Control     &lt;br /&gt;· Application Page     &lt;br /&gt;· Association Form     &lt;br /&gt;· Initiation Form     &lt;br /&gt;· Business Data Connectivity Resource Item     &lt;br /&gt;· List Instance     &lt;br /&gt;· List Definition From Content Type     &lt;br /&gt;· Global Resources File&lt;/p&gt;  &lt;p&gt;Besides above mentioned project templates, there are two import project templates for importing .WSP file contents and importing reusable workflows: &lt;/p&gt;  &lt;p&gt;· Import Reusable Workflow    &lt;br /&gt;· Import SharePoint Solution Package&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=463" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category></item><item><title>World Clock web part – SharePoint 2007</title><link>http://technetsrilanka.net/blogs/danushkas/archive/2009/09/16/world-clock-web-part-sharepoint-2007.aspx</link><pubDate>Wed, 16 Sep 2009 05:33:56 GMT</pubDate><guid isPermaLink="false">42a02cf1-7504-43a7-93ea-a7b4b73152c3:326</guid><dc:creator>Danushka Silva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/rsscomments.aspx?PostID=326</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://technetsrilanka.net/blogs/danushkas/commentapi.aspx?PostID=326</wfw:comment><comments>http://technetsrilanka.net/blogs/danushkas/archive/2009/09/16/world-clock-web-part-sharepoint-2007.aspx#comments</comments><description>&lt;p&gt;This is a clock web part shows digital clocks depends on the user needs. Thanks to anujpant for sharing this at codeplex. You can find the original source and wsp file &lt;a href="http://sharepointworldclock.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=31048" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The original clock looks like this&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/Clock_5F00_Old_5F00_18AC1E17.gif"&gt;&lt;img title="Clock_Old" style="border-right:0px;border-top:0px;display:inline;border-left:0px;border-bottom:0px;" height="244" alt="Clock_Old" src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/Clock_5F00_Old_5F00_thumb_5F00_365A30B1.gif" width="161" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Customized clock will looks like this&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/Clock_5F00_New_5F00_671C9C82.gif"&gt;&lt;img title="Clock_New" style="border-right:0px;border-top:0px;display:inline;border-left:0px;border-bottom:0px;" height="233" alt="Clock_New" src="http://technetsrilanka.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/danushkas/Clock_5F00_New_5F00_thumb_5F00_7E475559.gif" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You can download the customized &lt;a href="http://cid-18829c69f065aa97.skydrive.live.com/self.aspx/SharePoint%202007/ClockWebPart.rar" target="_blank"&gt;source code here&lt;/a&gt; what I edited for my requirement.&lt;/p&gt;  &lt;p&gt;I customized this with VS 2008. Here I wanted to display the city/country name beside the clock rather than displaying under the clock. So I added a new cell into the same row.&lt;/p&gt;  &lt;p&gt;Then I wanted to remove clock skins. The original clock can select 4 color skins as the user wants. After deploying the clock I realized that displaying seconds is disturbing the users. It’s worse when you added more than 5 clocks. So without removing the seconds I hid it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetsrilanka.net/aggbug.aspx?PostID=326" width="1" height="1"&gt;</description><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://technetsrilanka.net/blogs/danushkas/archive/tags/Customization/default.aspx">Customization</category></item></channel></rss>
