<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://technetcambodia.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Sampath&amp;#39;s Blog</title><subtitle type="html" /><id>http://technetcambodia.net/blogs/sampathperera/atom.aspx</id><link rel="alternate" type="text/html" href="http://technetcambodia.net/blogs/sampathperera/default.aspx" /><link rel="self" type="application/atom+xml" href="http://technetcambodia.net/blogs/sampathperera/atom.aspx" /><generator uri="http://communityserver.org" version="4.1.31106.3070">Community Server</generator><updated>2009-02-23T09:31:00Z</updated><entry><title>Microsoft Most Valuable Professional 2011</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2011/04/02/microsoft-most-valuable-professional-2011.aspx" /><id>/blogs/sampathperera/archive/2011/04/02/microsoft-most-valuable-professional-2011.aspx</id><published>2011-04-02T03:43:00Z</published><updated>2011-04-02T03:43:00Z</updated><content type="html">&lt;p&gt;I got the good news yesterday. So here we go for another year. Thank you Microsoft. It was been a wonderful journey so far.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/MVP_5F00_Horizontal_5F00_FullColor_5F00_2A5530BE.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="MVP_Horizontal_FullColor" border="0" alt="MVP_Horizontal_FullColor" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/MVP_5F00_Horizontal_5F00_FullColor_5F00_thumb_5F00_638B97B3.png" width="244" height="101" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=102" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Other" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Other/default.aspx" /></entry><entry><title>Map integration with Microsoft CRM</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2010/08/12/map-integration-with-microsoft-crm.aspx" /><id>/blogs/sampathperera/archive/2010/08/12/map-integration-with-microsoft-crm.aspx</id><published>2010-08-12T02:27:44Z</published><updated>2010-08-12T02:27:44Z</updated><content type="html">&lt;p&gt;A common requirement to integrate maps in to Microsoft CRM to see the location of a CRM entity has been a very common requirement. Recently I had to do this for one of my customers so I thought why not share the code with all the CRM enthusiasts out there. &lt;/p&gt;  &lt;p&gt;The procedure is very simple.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Create a application that uses the Google Maps API (I had to use Google because Bing maps was not for Cambodia) &lt;/li&gt;    &lt;li&gt;Pass the parameter values to the map from CRM &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;There are plenty of resources and code samples on the net for this. But the best one I got from my friend Andriy. He is a Microsoft CRM MVP and one guy who is the best of what he do (that is CRM of course). You can download the full code from Andriy’s blog and I have added the compiled code that I used. To go to Andriy’s blog post click this link -&amp;#160; &lt;a title="http://a33ik.blogspot.com/2010/06/intergration-google-maps-v3-into.html" href="http://a33ik.blogspot.com/2010/06/intergration-google-maps-v3-into.html"&gt;http://a33ik.blogspot.com/2010/06/intergration-google-maps-v3-into.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Ok so how do we do it,&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Download the compiled map htm file and copy it in to the ISV folder in the CRM website &lt;/li&gt;    &lt;li&gt;Add an frame in to CRM and name it map or what you like &lt;/li&gt;    &lt;li&gt;Write the coding on the on-load event in the form. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;crmForm.all.tab2Tab.onclick = function()   &lt;br /&gt;{&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160; if (crmForm.all.new_project_cityid.DataValue[0].name != null   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;amp;&amp;amp;&amp;#160; crmForm.all.new_projectstreet1.DataValue != null )    &lt;br /&gt;{    &lt;br /&gt; var&amp;#160; oldurl = crmForm.all.new_project_cityid.DataValue[0].name + &amp;quot;,&amp;quot;+&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; crmForm.all.new_projectstreet1.DataValue;    &lt;br /&gt;}&lt;/p&gt;  &lt;p&gt; if (oldurl != &amp;quot;&amp;quot;)   &lt;br /&gt; {    &lt;br /&gt; var&amp;#160; url = &amp;quot;/ISV/gmap/mapintegration.html?address=&amp;quot;&amp;#160; +&amp;#160; oldurl;    &lt;br /&gt;&amp;#160; crmForm.all.IFRAME_map.src = url;    &lt;br /&gt; }    &lt;br /&gt;}&lt;/p&gt;  &lt;p&gt;Just to clarify, my tab number is 2. My Iframe name is IFRAME_Map. The challenge I found is that in Cambodia it really didn’t work when I use more than 2 values. So what I went for basically is the city and the street number. Example: Phnom Penh, St 271&lt;/p&gt;  &lt;p&gt;Finally I added a little additional modification since Andriy’s original code use only text box but my customer wanted a lookup. So my city is in a lookup and the street is in a text box. All you have to do for that is use the following code to pass the data value&lt;/p&gt;  &lt;div class="csharpcode"&gt;   &lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;crmForm.all.new_project_cityid.DataValue[0].name &lt;/pre&gt;
&lt;/div&gt;


&lt;br /&gt;

&lt;p&gt;Great that’s all. You can easily see where your place in the map is now&lt;/p&gt;

&lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_32656D59.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" class="wlDisabledImage" title="image" border="0" alt="image" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_thumb_5F00_233E68B2.png" width="500" height="314" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A very special thanks to CRM Guru &lt;a href="http://www.blogger.com/profile/03225186683208658482" target="_blank"&gt;Andiry Butenko&lt;/a&gt;. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=100" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Microsoft CRM" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Microsoft+CRM/default.aspx" /></entry><entry><title>Microsoft SharePoint 2010 Granular Backup (Backup and Restore List Items)</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2010/08/05/microsoft-sharepoint-2010-list-item-backups-granular-backups.aspx" /><id>/blogs/sampathperera/archive/2010/08/05/microsoft-sharepoint-2010-list-item-backups-granular-backups.aspx</id><published>2010-08-05T01:51:11Z</published><updated>2010-08-05T01:51:11Z</updated><content type="html">&lt;p&gt;A commonly required feature with SharePoint was the ability to backup and restore list items. Even though this was not possible in SharePoint 2007 MS has added this functionality to SharePoint 2010. For you to do this you need to follow two simple steps. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;First one backup the list item (can be done through power shell or central admin) &lt;/li&gt;    &lt;li&gt;Import the list item to the place you want to restore using power shell. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Lets look at how we can do this in detail.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;1. Go to &lt;strong&gt;SharePoint 2010 central admin&lt;/strong&gt; – Click on &lt;strong&gt;Backup and Restore&lt;/strong&gt; (click on the main link here)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_570A5245.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" class="wlDisabledImage" title="image" border="0" alt="image" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_thumb_5F00_26279ADA.png" width="540" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2. Under &lt;strong&gt;Granular backup section&lt;/strong&gt; click on &lt;strong&gt;Export Site or List&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;3, In &lt;strong&gt;Site collection&lt;/strong&gt; select the correct site collection – Under the &lt;strong&gt;site&lt;/strong&gt; select the site that contain the list you want to export – and on the &lt;strong&gt;list &lt;/strong&gt;select your list you want to export&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/Itembackuo_5F00_65191B75.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" class="wlDisabledImage" title="Itembackuo" border="0" alt="Itembackuo" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/Itembackuo_5F00_thumb_5F00_71A6C891.png" width="540" height="340" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. Click on &lt;strong&gt;Start Export&lt;/strong&gt;. (Make sure your timer job is running and it will complete with success)&lt;/p&gt;  &lt;p&gt;5. Now to import make sure you have the same site collection and site created on the server you want to import. Because our option is to import a list so if the sites are not present you will not be able to import. So make sure you create them first with the same name.&lt;/p&gt;  &lt;p&gt;6. Got to &lt;strong&gt;Start &lt;/strong&gt;– &lt;strong&gt;All programs&lt;/strong&gt; – &lt;strong&gt;SharePoint 2010 products&lt;/strong&gt; and open &lt;strong&gt;SharePoint 2010 management shell&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;7. The cmdlet we are going to use for this is &lt;strong&gt;import-spweb&lt;/strong&gt;. so type the following command on the power shell&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;import-spweb&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;identity:name of your site collection&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;path:path of your backup containing the list&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_3098492D.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" class="wlDisabledImage" title="image" border="0" alt="image" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_thumb_5F00_6F89C9C8.png" width="543" height="341" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;8. All will complete successfully and you can view the log file for verification&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=98" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="SharePoint 2010" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/SharePoint+2010/default.aspx" /></entry><entry><title>New Hotmail Upgrades</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2010/08/04/new-hotmail-upgrades.aspx" /><id>/blogs/sampathperera/archive/2010/08/04/new-hotmail-upgrades.aspx</id><published>2010-08-04T11:41:09Z</published><updated>2010-08-04T11:41:09Z</updated><content type="html">&lt;p&gt;Microsoft has done it. YES!! The all new hot and sexy hotmail. Sleek clean looks, Office web apps, tight integration with Sky Drive and much much more. You can directly create word documents on the web and save them on the Sky Drive. Open attachments just on the web browser. Man its all there. Well done Microsoft.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_2D6F5B5E.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" class="wlDisabledImage" title="image" border="0" alt="image" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_thumb_5F00_58674963.png" width="550" height="345" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=97" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Windows Live" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Windows+Live/default.aspx" /></entry><entry><title>FAST Search for SharePoint 2010</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2010/08/03/fast-search-for-sharepoint-2010.aspx" /><id>/blogs/sampathperera/archive/2010/08/03/fast-search-for-sharepoint-2010.aspx</id><published>2010-08-03T12:10:02Z</published><updated>2010-08-03T12:10:02Z</updated><content type="html">&lt;p&gt;I finished setting up FAST Search 2010 for my office few weeks back. But I didn’t have time to share the excitement. Frankly telling FAST Search is a great extension for Microsoft SharePoint 2010 Search.&amp;#160; With FAST you have see previews of documents, relevance search and much more.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/FAST_5F00_1E101999.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" class="wlDisabledImage" title="FAST" border="0" alt="FAST" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/FAST_5F00_thumb_5F00_7B6BDB1D.png" width="625" height="392" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=95" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="FAST Search" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/FAST+Search/default.aspx" /></entry><entry><title>Clock and Weather web part for SharePoint 2010</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2010/08/03/clock-and-weather-web-part-for-sharepoint-2010.aspx" /><id>/blogs/sampathperera/archive/2010/08/03/clock-and-weather-web-part-for-sharepoint-2010.aspx</id><published>2010-08-03T10:54:00Z</published><updated>2010-08-03T10:54:00Z</updated><content type="html">&lt;p&gt;There is a cool web part for SharePoint 2010 which displays a clock and weather of a city of your selection. You can download this at &lt;a title="http://www.virtosoftware.com/free-clock-weather-web-part-sharepoint.aspx" href="http://www.virtosoftware.com/free-clock-weather-web-part-sharepoint.aspx"&gt;http://www.virtosoftware.com/free-clock-weather-web-part-sharepoint.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_09514E7D.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" class="wlDisabledImage" title="image" border="0" alt="image" src="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/image_5F00_thumb_5F00_04AB1DF6.png" width="566" height="355" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=94" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="SharePoint 2010" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/SharePoint+2010/default.aspx" /></entry><entry><title>Windows 7, Windows 2008 R2, Exchange Server 2010 Official Launch in Cambodia @ Naga</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/11/04/windows-7-windows-2008-r2-exchange-server-2010-official-launch-in-cambodia-naga.aspx" /><id>/blogs/sampathperera/archive/2009/11/04/windows-7-windows-2008-r2-exchange-server-2010-official-launch-in-cambodia-naga.aspx</id><published>2009-11-04T06:22:00Z</published><updated>2009-11-04T06:22:00Z</updated><content type="html">&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;The new efficiency technology stack will be launched in Cambodia 21&lt;sup&gt;st&lt;/sup&gt; November form 9AM to 6PM at Nagaworld Resorts Phnom Penh. There will be lots of existing things happening including an IT exhibition. &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;All geeks are welcome&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;For more information or registration visit: &lt;/b&gt;&lt;a href="https://www.clicktoattend.com/invitation.aspx?code=142847"&gt;&lt;b&gt;https://www.clicktoattend.com/invitation.aspx?code=142847&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=73" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author></entry><entry><title>Agent communitcation pannel for Microsoft CRM 4</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/05/19/agent-communitcation-pannel-for-microsoft-crm-4.aspx" /><id>/blogs/sampathperera/archive/2009/05/19/agent-communitcation-pannel-for-microsoft-crm-4.aspx</id><published>2009-05-19T06:57:00Z</published><updated>2009-05-19T06:57:00Z</updated><content type="html">&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt;Sorry for being away for some time. Was quite buzy with some work and didnt have much time to write. Anyways, Im back now!!&lt;/p&gt;
&lt;p&gt;There was quite a lot discussions on the Microsoft Dynamics CRM agenet communication pannel or as we call is agent desktop. Even Micrososot has shown this in few of their brochures too but there was not much info on how it work. Thanks to CRM Guru in Sri Lanka - Amal Amaranayake now you can see it in action. Check out this post in his blog. Im sure you will love it.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://crmlk.spaces.live.com/blog/cns!F30F5B210AE41C3C!221.entry"&gt;http://crmlk.spaces.live.com/blog/cns!F30F5B210AE41C3C!221.entry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Samapth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=57" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Microsoft CRM" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Microsoft+CRM/default.aspx" /></entry><entry><title>Thank You Microsoft</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/04/02/thank-you-microsoft.aspx" /><id>/blogs/sampathperera/archive/2009/04/02/thank-you-microsoft.aspx</id><published>2009-04-02T01:32:00Z</published><updated>2009-04-02T01:32:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:7.5pt;"&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;I really would like to express my heart filled gratitude to Microsoft for awarding me with Microsoft Most Valuable Professional Award.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;font-size:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;Thank you Microsoft&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/logo_5F00_mvp.png"&gt;&lt;img src="http://technetcambodia.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera/logo_5F00_mvp.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=46" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author></entry><entry><title>Microsoft CRM 4 Dynamic Pick List Error: one or more of the option values for this picklist are not in the range of allowed values</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/03/21/microsoft-crm-4-dynamic-pick-list-error-one-or-more-of-the-option-values-for-this-picklist-are-not-in-the-range-of-allowed-values.aspx" /><id>/blogs/sampathperera/archive/2009/03/21/microsoft-crm-4-dynamic-pick-list-error-one-or-more-of-the-option-values-for-this-picklist-are-not-in-the-range-of-allowed-values.aspx</id><published>2009-03-21T10:39:00Z</published><updated>2009-03-21T10:39:00Z</updated><content type="html">&lt;p&gt;I recently encountered a problem while trying to add values to a pick list in Microsoft Dynamics CRM 4 on runtime. The problem is that once you try to save the entity which has the pick list for example in my case it was the opportunity it will give you the error : &lt;em&gt;&lt;strong&gt;One or more of the option values for this picklist are on in the range of allowed values.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The reason for this&lt;/strong&gt; is that, you will need to have the picklist as empty in the design with out any values. However by default MS CRM keeps an index value of 0 for any pick list. So when you click the save button on the form the, since the list values are dynamic the list will clear and pass a null value to the list making CRM popping up the above error. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Method to resolve&lt;/strong&gt;, even though&amp;nbsp;it took some time for me to realize what was going on the resolution for this is pretty simple. Just make sure that on the form save event you set the pick list value to the default index value which is 0.&lt;/p&gt;
&lt;p&gt;The following code shows how. My pick list name here is new_subcategory and you can change that to your list name.&lt;/p&gt;
&lt;p&gt;var sb = crmForm.all.new_subcatogeory;&lt;br /&gt;&amp;nbsp; sb.DataValue=0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=44" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Microsoft CRM" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Microsoft+CRM/default.aspx" /></entry><entry><title>Mobile express for Microsoft Dynamics 4.0</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/03/14/mobile-express-for-microsoft-dynamics-4-0.aspx" /><id>/blogs/sampathperera/archive/2009/03/14/mobile-express-for-microsoft-dynamics-4-0.aspx</id><published>2009-03-13T20:51:00Z</published><updated>2009-03-13T20:51:00Z</updated><content type="html">&lt;p&gt;Microsoft recently released beta of the long awaited Mobile Access setup for Microsoft CRM 4. You can download it from the following link.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=05453fa4-9551-4a88-9852-634a9ad0e140"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=05453fa4-9551-4a88-9852-634a9ad0e140&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is actually pretty cool since you can basically access from any internet enabled device and there are no client component to install on your mobile. Also it comes with a web console for administration.&lt;/p&gt;
&lt;p&gt;Check this out guys&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Sampath&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=41" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Microsoft CRM" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Microsoft+CRM/default.aspx" /></entry><entry><title>Microsoft Dynamics CRM Update rollup 3</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/03/14/microsoft-dynamics-crm-update-rollup-3.aspx" /><id>/blogs/sampathperera/archive/2009/03/14/microsoft-dynamics-crm-update-rollup-3.aspx</id><published>2009-03-13T20:47:00Z</published><updated>2009-03-13T20:47:00Z</updated><content type="html">&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt;Microsoft has released the update rollup 3 for Microsoft Dynamics CRM 4. You can download it from the following link.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.microsoft.com/downloads/details.aspx?FamilyId=05453fa4-9551-4a88-9852-634a9ad0e140&amp;amp;displaylang=en"&gt;https://www.microsoft.com/downloads/details.aspx?FamilyId=05453fa4-9551-4a88-9852-634a9ad0e140&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Sampath&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=40" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Microsoft CRM" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Microsoft+CRM/default.aspx" /></entry><entry><title>Bulk Data Import in to Microsoft Dyanamics CRM 3</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/03/08/bulk-data-import-in-to-microsoft-dyanamics-crm-3.aspx" /><id>/blogs/sampathperera/archive/2009/03/08/bulk-data-import-in-to-microsoft-dyanamics-crm-3.aspx</id><published>2009-03-07T16:54:00Z</published><updated>2009-03-07T16:54:00Z</updated><content type="html">&lt;p&gt;I was trying some bulk uploads of data from csv files and found a nice application that can import data in to CRM. The following link contains a nice application that you can use to bulk upload data in to Microsoft CRM V3. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/bb291036.aspx"&gt;http://technet.microsoft.com/en-us/library/bb291036.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Sampath&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=35" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Microsoft CRM" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Microsoft+CRM/default.aspx" /></entry><entry><title>Timeout error when uploading customization files more than 8mb in Microsoft CRM 3 and 4</title><link rel="alternate" type="text/html" href="/blogs/sampathperera/archive/2009/02/23/timeout-error-when-uploading-customization-files-more-than-8mb-in-microsoft-crm-3-and-4.aspx" /><id>/blogs/sampathperera/archive/2009/02/23/timeout-error-when-uploading-customization-files-more-than-8mb-in-microsoft-crm-3-and-4.aspx</id><published>2009-02-23T01:31:00Z</published><updated>2009-02-23T01:31:00Z</updated><content type="html">&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;Actually if u tries to upload a customization file that is more than 8mb in to Microsoft Dynamics CRM v3 and even in v4 you will get a time out and u will not be able to successfully upload the file in order to import the customizations.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;By modifying certain registry entries to you can rectify this error.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;Step one &amp;ndash; Setting the OLEDB time out in the registry &amp;ndash;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;1. Open the registry using &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;regedit &lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;2. Locate &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;span style="color:black;"&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="color:black;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;3. Create a new &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;DWORD&lt;/i&gt;&lt;/b&gt; value under &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;MSCRM&lt;/i&gt;&lt;/b&gt; and rename that to &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;OLEDBTimeout&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="color:black;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Calibri;"&gt;4. Modify the value to &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;86400&lt;/i&gt;&lt;/b&gt; in the value data box and then for the base option click &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;Decimal&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="color:black;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera.Images/Img1.png"&gt;&lt;img src="http://technetcambodia.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera.Images/Img1.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;span style="line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:11pt;mso-bidi-theme-font:minor-latin;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;5. Then create another &lt;strong&gt;&lt;em&gt;DWORD&lt;/em&gt;&lt;/strong&gt; value called &lt;strong&gt;&lt;em&gt;ExtendedTimeout&lt;/em&gt;&lt;/strong&gt; and edit the value to be &lt;strong&gt;&lt;em&gt;1000000&lt;/em&gt;&lt;/strong&gt; then click ok. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;span style="line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:11pt;mso-bidi-theme-font:minor-latin;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera.Images/Img2.png"&gt;&lt;img src="http://technetcambodia.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera.Images/Img2.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;font-size:small;"&gt;&lt;span style="line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:11pt;mso-bidi-theme-font:minor-latin;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;Now it&amp;rsquo;s time to modify the web config file to reflect the timeout settings&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;Setup 2 &amp;ndash; Edit the webconfig file&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;1. Open &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;IIS&lt;/i&gt;&lt;/b&gt; and go to &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;MS CRM Website&lt;/i&gt;&lt;/b&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;2. Then select the &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;webconfig&lt;/i&gt;&lt;/b&gt; file and open with Notepad and modify the line called &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&amp;lt;httpRuntime executionTimeout=&amp;quot;300&amp;quot; maxRequestLength=&amp;quot;8192&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt; Here u need to increase the value to reflect the size of your customization like in the screenshot&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;3. Save and close the webconfig file.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;4. Restart IIS then re import the customization file.&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;a href="http://technetcambodia.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera.Images/Img3.png"&gt;&lt;img src="http://technetcambodia.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/sampathperera.Images/Img3.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://technetcambodia.net/aggbug.aspx?PostID=30" width="1" height="1"&gt;</content><author><name>sampathperera</name><uri>http://technetcambodia.net/members/sampathperera/default.aspx</uri></author><category term="Microsoft CRM" scheme="http://technetcambodia.net/blogs/sampathperera/archive/tags/Microsoft+CRM/default.aspx" /></entry></feed>
