<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://labloguera.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>Escuchoyo</title><link>http://labloguera.net/blogs/rtb/default.aspx</link><description>"The best way to predict the Future is to invent It" - Alan kay</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>[VSTO] Debugging VSTO applications</title><link>http://labloguera.net/blogs/rtb/archive/2010/03/02/vsto-debugging-vsto-applications.aspx</link><pubDate>Tue, 02 Mar 2010 19:32:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:108740</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/108740.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=108740</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!309" class="bvMsg"&gt;&lt;p&gt;One very useful trick to debug VSTO applications is this “cheeky” flag: &lt;strong&gt;VSTO_SUPPRESSDISPLAYALERTS&lt;/strong&gt;.
It’s a environment variable to enable error messages about dodgy
exceptions, like COM exceptions. For example, I was getting a strange
behavior in my Office Word application when I was trying to add a new
Plain Text Control:&lt;/p&gt; &lt;p&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mDogqot8ZAoj4rypTWty7KZl9PSJ9ZZzZLrtPH-JoIXpPEVZhsKIxySW5fR7fMudynJlOkH912P7CP34Na1r5MlX68HvjTtT47aET7Jl6D4RFJxJLk7AZm2T_uZLHz_GQEafXUID1mUfFAYLLBU0hmQ/PlainTextControl%5B2%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mX_ff-wfup0Q_Y6agb40z0BCYgqiXD4FvQABw-UlbsfGs4Jbp1YX_hGaXPlQdO-JKUnbE-ReRIqSKp-3d2XTC2tKbOxZtTmjmfKcf4yHWj_AE6otZx-9C3DsFGqrKuuJexFGoKnDpOw3rHF0PE5UhwA/PlainTextControl_thumb.jpg" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="PlainTextControl" alt="PlainTextControl" border="0" height="170" width="244"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;However, my VSTO application didn’t show me any messages or warning about any error, until I added this environment variable &lt;strong&gt;VSTO_SUPPRESSDISPLAYALERTS&lt;/strong&gt; to my system with &lt;strong&gt;value 0. &lt;/strong&gt;Next, I got this message: &lt;/p&gt; &lt;p align="center"&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mHYNpnuFZkjDnS7Ny9zWxkKqhH-AJMKVfksYJOyVJQp12nqnoOF-nHaX0JYQZLcBZMUUIvQnVGXwCSrMnjVuSFsuySnzv-XLvvo3WcKAtFiWTnkQnwVIqdT6xtNyO-FgIquq4SNR3ij25aaLoE1P25Q/ComException%5B4%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mf6waXn60fFY3NDO6vret2h8_AuK3eEuPhYA1NK0ueGVZ4Se9Wd-CJlsGBL6f93ywZFMEQMYyzXmHkoeLxxDxhUup6IRuYe8_SQY73Hoo_KyHr1Syqo6CoW_O_UK_NMGTOLlyVBvev9WV_jt4bEUwRg/ComException_thumb%5B2%5D.jpg" style="border:0px none;display:inline;" title="ComException" alt="ComException" border="0" height="267" width="425"&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;It means that you can’t set a Plain Text Control title bigger than 64 characters.&lt;/p&gt; &lt;p&gt;Don’t forget this friendly helper :)&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=108740" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/VSTO/default.aspx">VSTO</category></item><item><title>[WPF] Custom Check Box Template</title><link>http://labloguera.net/blogs/rtb/archive/2010/02/26/wpf-custom-check-box-template.aspx</link><pubDate>Fri, 26 Feb 2010 20:01:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:108471</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/108471.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=108471</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!303" class="bvMsg"&gt;&lt;div id="msgcns!169823E2D3AC26BC!303" class="bvMsg"&gt;
&lt;p&gt;Once again,
let’s enjoy the WPF’s flexibility to change any style and template. In
this case, I’ve customised the Check Box’s style to get the next
appearance:&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Unchecked&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mUdPMG-4s2GjMi8YAy8bO0nNCwi3eERxbT4LAgxj0wU-gbFPmwzOSP4-qE9cTuYBqd4wjeMAkbMjpSzZVIDDWN9TQxNsFdvdCG3vy6qK5lhpgxHDC5UJQlIO0SQcUSar1Jj1exOlh3a-l-Two1KQNhQ/UnChecked%5B2%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mbm0MfEKf7FSE1A3sGsaStjNiWBEVdUdxih8lo-UC0MT6sAQ6iDeqtVxh0DxL7kkMpYkfP-nbocz9ZCL4lKL5Osn2Dspq3QDPuQLAjCPYJim2btCNmem41GM2dTnd97yeD9NVvFVOZqzeIQ7Z7I-j4A/UnChecked_thumb.jpg" style="border:0px none;display:inline;" title="UnChecked" alt="UnChecked" border="0" height="38" width="36"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Checked&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mwrthQ1w0-MEjMLF7xTKXEL204VW2V9rAFpyQG_GY5eYiuNWIJRD13CvCPWvUf0tVyIPOl7qf8r3HGaZIf45bbp8EA-uR1_OPBrqrANh7-dPbkIDohXpLXKRtoh48lO1h1TgujGRsegr6rITrhUd_lg/Checked%5B2%5D.png" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mrWVYIv_pZMJy2-cyZTD1LJIWMSZRUbtKrvhMjx0JnpLEikIpMRVHiVv519XdJ22R7T-b0u_TbmhBC0Dr6MKCT8lRK_Te0nvpTWxJyhqGE2KvTdJp773h7wjw61ZSp3Q2_LrhgcE7cAMnw4GP5zsnvA/Checked_thumb.png" style="border:0px none;display:inline;" title="Checked" alt="Checked" border="0" height="35" width="35"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Focus&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;a href="https://khtfbg.blu.livefilestore.com/y1m2BcHNeg8GkKIfXO64NjglvANlBS7OTwQ0AY8Q8vpatEKTEgRg-_1u6JGSs7dNuGnLojFDkjS-WO90pH2hYZ9Bev4vMCY5uTHz6sOGhb5uaYPox_eZWSWW4ZaI3G69eRB_iszTxb9mv1C22ysSM-2pg/focus%5B2%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1m7RLZLHC3VhHglygefTCBoZqi63AX5TcW8w4KZxGKKEs3utaCtu1ofCO7znHp-MrUEV5x7YpCfXJqmxpA0hb3ny_Nm4mH8mb_tAxONG2KDrKoz6oKLfYumUAmrSp250Lm8naGEsJxcxQB77TTqVDsJw/focus_thumb.jpg" style="border:0px none;display:inline;" title="focus" alt="focus" border="0" height="36" width="37"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Mouse Over&lt;/p&gt;

&lt;p&gt; &lt;a href="https://khtfbg.blu.livefilestore.com/y1mNErMBG5ZuAuhAFWgL7wdijQZObeaBeGzF6sOj_uzBUZnM-RNHUboKL1W5_Pg6dTnsRM4VFdM8mg1Sn269jTTCFjPiHfR0yiAZ14Od4GGN2iYE_mYz-91bAF26Km0_j8azzyWkOAQWXICM-n88jRpAw/mouseOver%5B2%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mhkyy-PguXwKH_QkdIK4Mg9HuVOza_QRBSQ4kK_EWNVru-gkysCko6gjfqADEaRyYGqRfIEfLVuhbcytnwXDkRVKOTC6B-rH-uJElPTQDEK8LF14pKvvWG-tfhePXUIyKp4zFpEpAmRb6zzS-7ntBrw/mouseOver_thumb.jpg" style="border:0px none;display:inline;" title="mouseOver" alt="mouseOver" border="0" height="38" width="35"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p align="center"&gt;&amp;nbsp;&lt;/p&gt;
 
&lt;p align="left"&gt;You can download&amp;nbsp; the code from &lt;a href="http://cid-169823e2d3ac26bc.skydrive.live.com/self.aspx/Public/CODE/CustomCheckBoxTemplate.zip" target="_blank"&gt;here.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
 
&lt;p&gt;My example is based on this good &lt;a href="http://msdn.microsoft.com/en-us/library/ms752319.aspx" target="_blank"&gt;MSDN article about Check Box’s template&lt;/a&gt;. There you can also find templates for other controls. &lt;/p&gt;
  &lt;/div&gt;&lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=108471" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/WPF/default.aspx">WPF</category></item><item><title>[WCF] Delegation between WCF and CRM Services</title><link>http://labloguera.net/blogs/rtb/archive/2010/02/23/wcf-delegation-between-wcf-and-crm-services.aspx</link><pubDate>Tue, 23 Feb 2010 19:37:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:108344</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/108344.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=108344</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!293" class="bvMsg"&gt;&lt;p&gt;Impersonation
and Delegation are important concepts around the services' world.
Impersonation restricts client access to resources in the local machine
where is running the service and Delegation restricts client access to
resources on other machine. In my scenario, I was trying to access from
a WCF service to Dynamics CRM 4.0 services using Delegation. &lt;/p&gt; &lt;p&gt;In WCF, Delegation is a special type of Impersonation, which can be configured easily according to the next good articles:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms730088.aspx" title="http://msdn.microsoft.com/en-us/library/ms730088.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms730088.aspx&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.danrigsby.com/blog/index.php/2008/04/17/impersonate-a-clients-identity-in-wcf/" title="http://www.danrigsby.com/blog/index.php/2008/04/17/impersonate-a-clients-identity-in-wcf/"&gt;http://www.danrigsby.com/blog/index.php/2008/04/17/impersonate-a-clients-identity-in-wcf/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;However, some points are not really emphasized and you shouldn’t forget them:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Allow impersonation in the corresponding server. This configuration must be set from the domain controller.&lt;/li&gt;&lt;li&gt;User who is running WCF service must have enough privileges to impersonate the expected users &lt;/li&gt;&lt;li&gt;Allow Delegation from the client side. You have two options to do it:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;u&gt;Client Config. file:&lt;/u&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;pre&gt; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;behaviors&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;            &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;endpointBehaviors&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;                &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;behavior&lt;/span&gt; &lt;span&gt;name&lt;/span&gt;&lt;span&gt;="NewBehavior"&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;                    &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;clientCredentials&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;                        &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;windows&lt;/span&gt; &lt;span&gt;allowedImpersonationLevel&lt;/span&gt;&lt;span&gt;="Delegation"&lt;/span&gt; &lt;span&gt;/&amp;gt;&lt;/span&gt;&lt;br&gt;                    &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;clientCredentials&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;                &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;behavior&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;            &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;endpointBehaviors&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;behaviors&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;


&lt;ul style="text-decoration:underline;"&gt;&lt;ul&gt;&lt;li&gt;Programmatically:&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;pre&gt;proxy.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Delegation;&lt;/pre&gt;


&lt;ul&gt;&lt;li&gt;Set the userPrincipalName properly in client configuration file according to the user who is running the WCF service:&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;client&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;            &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;endpoint&lt;/span&gt; &lt;span&gt;address&lt;/span&gt;&lt;span&gt;="service address with an allowed protocol to impersonate"&lt;/span&gt;&lt;br&gt;                &lt;span&gt;behaviorConfiguration&lt;/span&gt;&lt;span&gt;="NewBehavior"&lt;/span&gt; &lt;span&gt;binding&lt;/span&gt;&lt;span&gt;="Allowed protocol to impersonate"&lt;/span&gt;&lt;br&gt;                &lt;span&gt;bindingConfiguration&lt;/span&gt;&lt;span&gt;="defaultEndPoint"&lt;/span&gt; &lt;span&gt;contract&lt;/span&gt;&lt;span&gt;="MyAssembly.MyContract"&lt;/span&gt;&lt;br&gt;                &lt;span&gt;name&lt;/span&gt;&lt;span&gt;="defaultEndPoint"&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;                &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;identity&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;                  &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;userPrincipalName&lt;/span&gt; &lt;span&gt;value&lt;/span&gt;&lt;span&gt;="serviceuser@mydomain.com"&lt;/span&gt; &lt;span&gt;/&amp;gt;&lt;/span&gt;&lt;br&gt;                &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;identity&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;            &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;endpoint&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;client&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=108344" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/WCF/default.aspx">WCF</category></item><item><title>CRM Case Study. Alfapeople and TTT Moneycorp</title><link>http://labloguera.net/blogs/rtb/archive/2010/01/20/crm-case-study-alfapeople-and-ttt-moneycorp.aspx</link><pubDate>Wed, 20 Jan 2010 21:38:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:105569</guid><dc:creator>rtebar</dc:creator><slash:comments>0</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/105569.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=105569</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!284" class="bvMsg"&gt;&lt;div id="msgcns!169823E2D3AC26BC!284" class="bvMsg"&gt;
&lt;p&gt;Below you can
watch the&lt;a href="http://www.youtube.com/watch?v=Z3slUJCTki0" target="_blank"&gt; video of a Microsoft case study about one of the main customer of my current
company Alfapeople Ltd: TTT Moneycorp&lt;/a&gt;. Here I’ve enjoyed working in
interesting and challenging projects related to CRM, WCF and WPF&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;
 
&lt;p align="center"&gt; 

&lt;object height="340" width="560"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Z3slUJCTki0&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/Z3slUJCTki0&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" height="340" width="560"&gt;&lt;/object&gt;

&lt;/p&gt;

 
&lt;p&gt;In addition, in the next link &lt;a href="http://www.microsoftmovies.co.uk/dynamics/general/" target="_blank"&gt;http://www.microsoftmovies.co.uk/dynamics/general/&lt;/a&gt; you can watch more case studies about different businesses and Microsoft solutions in UK. &lt;/p&gt;
 
&lt;p&gt;Enjoy :)&lt;/p&gt;
  &lt;/div&gt;&lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=105569" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item><item><title>[CRM4] Thanks Rollup 8. Error adding a user to CRM 4</title><link>http://labloguera.net/blogs/rtb/archive/2010/01/15/crm4-thanks-rollup-8-error-adding-a-user-to-crm-4.aspx</link><pubDate>Fri, 15 Jan 2010 18:47:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:105266</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/105266.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=105266</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!281" class="bvMsg"&gt;&lt;p&gt;According to the &lt;a href="http://support.microsoft.com/?kbid=975995" target="_blank"&gt;CRM Update Rollup 8&lt;/a&gt;, they have resolved the following error:  &lt;/p&gt;&lt;ul&gt;&lt;li&gt;“After
you install Update Rollup 3 or Update Rollup 4, you cannot add a user
to more than one organization in the same deployment of Microsoft
Dynamics CRM if the user exists in a child domain"&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;…and definitely they have, because I tested it the last week. However, the scenario wasn’t exactly a parent/child domain, but a &lt;strong&gt;&lt;font size="3"&gt;trusted link&lt;/font&gt;&lt;/strong&gt; domain were instead. &lt;/p&gt; &lt;p align="left"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=c53b2916-6b93-4092-bdd3-a394c96ca000" target="_blank"&gt;Download CRM 4 Rollup 8&lt;/a&gt;&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=105266" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item><item><title>[CRM4] Searches and Views</title><link>http://labloguera.net/blogs/rtb/archive/2010/01/14/crm4-searches-and-views.aspx</link><pubDate>Thu, 14 Jan 2010 17:12:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:105265</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/105265.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=105265</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!280" class="bvMsg"&gt;&lt;p align="left"&gt;Searches
are fundamental in any CRM. Dynamics CRM provides different ways to
search records from any entity. The most powerful search is the &lt;u&gt;&lt;strong&gt;&lt;font size="2"&gt;Advanced Find&lt;/font&gt;&lt;/strong&gt;&lt;/u&gt; &lt;a href="https://khtfbg.blu.livefilestore.com/y1mtLJGqD6p_qR9xKeYA-v51woJ5PZwtBYcrR7vrpvYVhJvkHxPY4Q5Rnu0xksPm3TnwukyU18YsVdDU900QyRO3McDX5oWIJHd9CJrtcn_L4QVUDaNIThS0fIOwE4s4ppItH2g2FHdThlKYWOgKjgfcw/image%5B2%5D.png" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mpAKI_wjQn31daXiQvwu3YhMh7068tiAQVXLdfmL6Eo7UAIhFSoYGop-lhKUSJgTe7s-dVOcxxXWnG7zGwoe-CUk2G7sSKbAU8MCS_hKph52zXaXagUKFQL7wpcAzHmT9qIWvzuMYT_zykSL-5LXneA/image_thumb.png" style="border:0px none;display:inline;" title="image" alt="image" border="0" height="27" width="103"&gt;&lt;/a&gt;, which allows normal users to create custom queries and save them as new views, so that they can reuse them: &lt;/p&gt; &lt;p align="left"&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mOyxfUbuRWSsFYY19xDmSKXLPwYMT3raknUQv1pgZwHtLCJvj70-_z-1BiQcdgN2ChuhvVVBowC3aI8_U-V1rgm_8njeB06_NNi4F_dFh8I1n3pJArfvzl6Oe9VPEbSTYd33jcjtl2YZTj6aqysZiGQ/image%5B11%5D.png" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mN170oCFmARB9w5eaJ_-_DbJUg9doBobZDVgjKQoXyBZ82nMILIZjR0wdA_BcNCmZyxuRc_yt6iZ3McLTa4KnqGIRj8hDDJi3Mwmx9KDaOsryrwz7pPR-aIsMiyztCpFuWZ95wVH9vcqq9Xy84F7-vg/image_thumb%5B5%5D.png" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="image" alt="image" border="0" height="279" width="465"&gt;&lt;/a&gt; &lt;/p&gt;   &lt;p&gt;&lt;font size="3"&gt;&lt;u&gt;Why do some attributes not show up?&lt;/u&gt;&amp;nbsp; Only &lt;strong&gt;&lt;em&gt;searchable &lt;/em&gt;&lt;/strong&gt;attributes are showed up in Advanced Find&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mbxuQ3lrkwCYG_9uHfMNvmRjsqdQD3349ra_ufiJ_6hLpWEoiAPg-WocDNPBWdgMXvlSFJ-Zvt1OeGrYTZcKO2zBjx1B0i4dDBX6R7NSbjKKS8ZUVbhL0MPboKNFWy2VdV6f5eqoSN5yn6ITaFuIDZg/NewAttributeSearchable%5B4%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1m2MP7rfB3-v-0VEIvl9b7B-J4PezvkmR0RFVbZEUGxF-IScrWoAChg6C9CDZyvya1OymBW92M4JSFm8xOUyRo_q5G952ht1jPN793KQgXGErcNbezeggTytNGGE28BiQ-wJpmsBE738nppEp2Q5rLhg/NewAttributeSearchable_thumb%5B2%5D.jpg" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="NewAttributeSearchable" alt="NewAttributeSearchable" border="0" height="316" width="457"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Looking at CRM Metadata a bit deeply, this “Searchable” property is translated to “&lt;strong&gt;ValidForAdvancedFind&lt;/strong&gt;” property in &lt;strong&gt;AttributeMetadata.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;However,
Advanced Find isn’t the most common option, since users normally need
to search records quicker, without set any query. In this case,
Dynamics CRM offers &lt;strong&gt;&lt;u&gt;Quick Find views&lt;/u&gt;&lt;/strong&gt;. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="3"&gt;&lt;u&gt;Where are the Quick Find views and when do we use them in Dynamics CRM? &lt;/u&gt; When we use the “Search for records” options from any entity, actually we are calling to the &lt;strong&gt;Quick Find Active view, &lt;/strong&gt;which replaces the current view (in our example, Active Printer view would be replaced by Quick Find Active Printers view)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mWpyG861X33QUo8tyZthE7YL0RZVJ_kq_Ldwx_e58ExfA6FSmU0Rx6lCmpgyhOBWVeS6yFtBGbdVRFG1onq4u6Ga3GBkaUON5_hbHaYy8ICR1E63hBzl_5ohvV4Ha0H_KGKXZRNJi_iRa5CFmIYzQKA/SearchActiveView%5B4%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mRXBt5DsDCrmOa_azn36zfUhHUE1JYVF4IX00CarsG076G4M7yl106If4ZH1ESx50s-QtItahj3d8n3aqY2-1d4tf9LX5TY-1nAhhWwphDdDmYEX8oUDrBaF5YkO5Xp2l8r0a1_flB0uKd6TVjv08hg/SearchActiveView_thumb%5B2%5D.jpg" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="SearchActiveView" alt="SearchActiveView" border="0" height="361" width="595"&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;u&gt;Which attributes&amp;nbsp; are used by “Search for records”?&lt;/u&gt; Those were configured in the&amp;nbsp; Quick Find View for the corresponding entity ( 'Printer' in this example)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1m65xLj9I0tAzLveTV-85ZT5fgF06DnXXdW-8-dtTMGik9u20Fz1xVdF82ZBU658PKCywd_GMFHjIxGBesYyINN7lQ0L8Hvhgn5ppbK_hVFw8DhUIGtiqeT2SN75l7XVabRhYX47eXQgRXkIl1ZV7eDQ/AddFindColumnsToQuickFind%5B7%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mZlLMsM5AlFw_osQ1kKD2YIhsbcY3zvr33GEH8003MYCveW7Ky8gCVs4hL59Qz3GyouDIpoWmJajKgVQJJgJLdVloO2EYqGFh0m0znAd7LN26Qo7tv1OHEqMqdESeF58W5aa6VZc20PolGWrVhcMKKg/AddFindColumnsToQuickFind_thumb%5B5%5D.jpg" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="AddFindColumnsToQuickFind" alt="AddFindColumnsToQuickFind" border="0" height="338" width="610"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=105265" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item><item><title>[CRM4] Add/Remove Activities and Notes relationships</title><link>http://labloguera.net/blogs/rtb/archive/2010/01/12/crm4-add-remove-activities-and-notes-relationships.aspx</link><pubDate>Tue, 12 Jan 2010 16:59:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:105244</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/105244.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=105244</wfw:commentRss><description>&lt;span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry"&gt;&lt;div id="msgcns!169823E2D3AC26BC!269" class="bvMsg"&gt;&lt;p&gt;When
you create a new entity in CRM 4, you have to define if it will have
Note and Activities relationships. After you’ve created it, you won’t
be able to change it (important to remember it!).&lt;/p&gt; &lt;p&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mMrwxgQVSFBwZTo6LDdGEiLhDqIaUVjiNCvZuOM0QFMOggq95hD8N_STYNUG9wAMtwmM8rwDYWFrrLCrlXpjdlUWzdvMU4Ctv1bQo2Nuo_VO0DmrlWjBi0T8B36ESzurRpL3KX-S938YXqWfwb88i1Q/activitiesAndNotes%5B4%5D.png" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mZxjPHDkNV9NQ9LQBvqEh51zmmdYQ5CXtuCLNFS5HDXH055AxpjtbSeuIWZjIXkuMdEKrX3wbGeSopBGB2yo-wZzLINDtgNfjSerRQir9TbOkvyOzR4bJiunN1AVDAIgq60VVDMB9gndOJ18axso-Pg/activitiesAndNotes_thumb%5B2%5D.png" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="activitiesAndNotes" alt="activitiesAndNotes" border="0" height="422" width="518"&gt;&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;However, sometimes we forget it :) and we need to add or remove these
relationships later. In that case, we can do the next trick: &lt;/p&gt; &lt;ol&gt;&lt;li&gt;Export the corresponding entity that you want to add / remove Note and Activities relationships&lt;/li&gt;&lt;li&gt;Delete this entity from CRM&lt;/li&gt;&lt;li&gt;In the XML file that you’ve exported with the customisations, change the value of the attributes &lt;font size="4"&gt;HasRelatedActivities &lt;font size="3"&gt;and &lt;/font&gt;HasRelatedNotes&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font size="2"&gt;Import again the updated customisations to CRM&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;/div&gt;&lt;/span&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=105244" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item><item><title>[WPF/WCF] DataGrid + DoubleClick + MVVM + Loading Splash (description &amp; code)</title><link>http://labloguera.net/blogs/rtb/archive/2010/01/07/wpf-wcf-datagrid-doubleclick-mvvm-loading-splash-description-code.aspx</link><pubDate>Thu, 07 Jan 2010 17:02:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:105183</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/105183.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=105183</wfw:commentRss><description>&lt;span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry"&gt;&lt;div id="msgcns!169823E2D3AC26BC!254" class="bvMsg"&gt;&lt;p&gt;Using the &lt;a href="http://wpf.codeplex.com/" target="_blank"&gt;DataGrid WPF Toolkit,&lt;/a&gt;
this post shows a simple client/server application to fill a DataGrid
according to the information that is provided by a WCF service. When
any row receives a double click, a new document (jpeg or docx for this
example) is opened by an external application. &lt;/p&gt; &lt;p align="center"&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mjfTGYvATO5WXoZ6y-3MqKGqTb4NEQHDVCTx8SbcAb6_4NsPDEsvVn-JhwiIsCXZQ8sUbUaVfCvbXfRLFQhdMwbCfnZ-9x9LwlMBvrqN3-u0U_1N8GeCmmIs6rwpGFDFEl5SsqbxUw1aDjjb2Hqj4kw/WPFDataGridExampleLoading%5B5%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mCgTgiTbw_pKqgaqRtEjtFjWamHPSs4wdq-Dm679SqEaEzO1diZusA37HWeTQUQfCcQfoB8yNim9K8D5mY2VFBqbEbbY70IZcL8KWWmdvy_3CriiGMeGzr3kP48eh-5DZxg-7emNn67YpHaJP_-cNrA/WPFDataGridExampleLoading_thumb%5B3%5D.jpg" style="border-width:0px;display:inline;" title="WPFDataGridExampleLoading" alt="WPFDataGridExampleLoading" border="0" height="234" width="617"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="center"&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mxBPeDujDFqZPZezS4D_3lgFCH7MemprYendHjos9b12Ixdo7dzJpyRbDtRlxGJV7cjNNKW9AVvq6zIwlr0Fv77x4AozNd1JjyGsyz02lCji-cJz4gpM2JXldfLmdLoah65Z8B6pwYRaZFqisSQNFZw/WPFDataGridOpenDocument%5B5%5D.jpg" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1m6HkuEqYt1NLUSSKrZfBGXhmoeNfMa8HaTOOaMmRNV4kWlCOzoo25EVMX-3tn4mFXDdoZD4aYOerLuJdM4ylAIEtvh1NEiprj9oIIlGlJEMqLdSWqB1cHsNrydmSu5op8wIpnn7VA7_QdFOOXmAbZXg/WPFDataGridOpenDocument_thumb%5B3%5D.jpg" style="border-width:0px;display:inline;" title="WPFDataGridOpenDocument" alt="WPFDataGridOpenDocument" border="0" height="503" width="670"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;The
application is designed using MVVM pattern, where View and ViewModel
are placed in the client side and Model in the server side. In our
example, we will show a set of “Alerts” in a DataGrid , so that we will
have the next elements:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;strong&gt;Model&lt;/strong&gt;: Alert. This class provide all the information about an “Alert” entity.  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;View&lt;/strong&gt;: Custom DataGrid with all the alerts  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;ViewModel&lt;/strong&gt;:
Intermediary element between Model and View to decouple the alert model
from its view. In our case,&amp;nbsp; ViewModel provides a collection of alerts
and a command to open its associated document.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;About the DataGrid control, I would like to highlight the next points:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Double
click behavior in DataGrid control using attached properties. See the
new HandleDoubleClick and TheCommandToRun properties in DataGrid, which
are declared in WpfApplication.TestGridView =&amp;gt; AttachedProperties
=&amp;gt; SelectorDoubleClickCommandBehavior.cs &lt;/li&gt;&lt;li&gt;Using
DataGridTemplateColumn: I got some problems trying to apply padding in
the cell content, regarding the rest styles and behaviors (see Themes
folder). To resolve it, I’ve used a DataGridTemplateColumn, which
allows integrate any custom content in a cell. In this way, I’m using a
TextBlock with a specify margin to simulate that padding.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;In
the server side (WCF service), I’ve implemented a request/response
messages architecture, so that it would be easier and scalable to add
other functionality like delete or create alerts (see the service
implementation in WcfService.ServiceLibrary =&amp;gt; AlertsService.cs, as
well as the retrieve messages and handler).&lt;/p&gt; &lt;p align="center"&gt;&lt;a href="http://cid-169823e2d3ac26bc.skydrive.live.com/self.aspx/Public/CODE/WpfApplication.TestGridView.zip" target="_blank"&gt;Download source (VS2008)&lt;/a&gt;&lt;/p&gt; &lt;p&gt;This
application is based on different sources, which can be found below. At
the same time, I would like to be grateful to my workmate &lt;a href="http://waelhamze.com/" target="_blank"&gt;Wael&lt;/a&gt;, who is a great developer and he always gives me great advices.&lt;/p&gt; &lt;p&gt;&lt;u&gt;Useful Links:&lt;/u&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Download WPF Toolkit library with DataGrid: &lt;a href="http://wpf.codeplex.com/" title="http://wpf.codeplex.com/"&gt;http://wpf.codeplex.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Good article describing clearly and deeply WPF Toolkit DataGrid control : &lt;a href="http://sweux.com/blogs/smoura/index.php/wpf/2009/04/27/wpf-toolkit-datagrid-part-ii-custom-styling/" title="http://sweux.com/blogs/smoura/index.php/wpf/2009/04/27/wpf-toolkit-datagrid-part-ii-custom-styling/"&gt;http://sweux.com/blogs/smoura/index.php/wpf/2009/04/27/wpf-toolkit-datagrid-part-ii-custom-styling/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Another article describing WPF Toolkit DataGrid: &lt;a href="http://windowsclient.net/wpf/wpf35/wpf-35sp1-toolkit-datagrid-feature-walkthrough.aspx" title="http://windowsclient.net/wpf/wpf35/wpf-35sp1-toolkit-datagrid-feature-walkthrough.aspx"&gt;http://windowsclient.net/wpf/wpf35/wpf-35sp1-toolkit-datagrid-feature-walkthrough.aspx&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Good practical example to customise a &lt;a href="http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=15598"&gt;WPF Toolkit&lt;/a&gt; DataGrid: &lt;a href="http://www.codeproject.com/KB/WPF/WPFDataGridExamples.aspx" title="http://www.codeproject.com/KB/WPF/WPFDataGridExamples.aspx"&gt;http://www.codeproject.com/KB/WPF/WPFDataGridExamples.aspx&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Loading control: &lt;a href="http://elegantcode.com/2009/08/21/a-simple-wpf-loading-animation/" title="http://elegantcode.com/2009/08/21/a-simple-wpf-loading-animation/"&gt;http://elegantcode.com/2009/08/21/a-simple-wpf-loading-animation/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Using CommandBinding with MVVM pattern: &lt;a href="http://codingcontext.wordpress.com/2008/12/10/commandbindings-in-mvvm/" title="http://codingcontext.wordpress.com/2008/12/10/commandbindings-in-mvvm/"&gt;http://codingcontext.wordpress.com/2008/12/10/commandbindings-in-mvvm/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;/div&gt;&lt;/span&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=105183" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/WCF/default.aspx">WCF</category><category domain="http://labloguera.net/blogs/rtb/archive/tags/WPF/default.aspx">WPF</category></item><item><title>[DataBase] Quick way to test DB connection: UDL files</title><link>http://labloguera.net/blogs/rtb/archive/2009/12/16/database-quick-way-to-test-db-connection-udl-files.aspx</link><pubDate>Wed, 16 Dec 2009 18:44:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:101582</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/101582.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=101582</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!253" class="bvMsg"&gt;&lt;p&gt;Many times we
need to test quickly database connections. An easy and handy way is to
use UDL files. From your desktop, try to create a new file and rename
its extension with “.udl”&lt;/p&gt; &lt;p&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mXseQHX3RJN4ay6zL1FxSTFL3aH-H0YBALgxWTDaXQgYFpxG4WbehNHgg7hcT51GCEQlR5Kl5Hkxw-0p8-4sB0PHjUwDTltounQU-aso2jSVnPxNcrHc0RhMQPeNVNuhOjXNjMO5LU8a5P7jWF2IkSA/image%5B5%5D%204DCCB390.png" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mMCaoOfRim9Gzo2cau7hLbGlTp-XIZOE9XSEWr32wpdxMH-776dbnS8crKUOcRaJZQvLjsgYw5B_wqwpEL6U6JeyQN1lPLn6lA0ASTD7FxC06WzwuO2yuXLQu3h8WMI62d7MuOyJEZAC2AUqlBG_28A/image_thumb%5B14%5D.png" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="image" alt="image" border="0" height="94" width="94"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt; if you do double click in the new file, you will get a familiar dialog to configure your DB connection string and test it:&lt;/p&gt; &lt;p&gt;&lt;a href="https://khtfbg.blu.livefilestore.com/y1mARojesStbrB1yzzoRC3yPpZB-T7Z3djg5aBYctDyZumK5smlK7ogA8h4y5NfgiTqmHACLjz5NIPTS2yaaJfSX66wSBxpf5NlRqgru7qvyin63hYjoe88LnAXr05M9_-nmrMWBq2vB-nXFNLAZNj7YA/image%5B10%5D%2008BAD6C6.png" rel="WLPP"&gt;&lt;img src="https://khtfbg.blu.livefilestore.com/y1mB6zwHbkuhBt5d7p1nbybxgP9nOinFNpy8LzMpSlYk7U8QqSYIx9m08WOnUXaabmcVpH1BIuY7KH0FcVanT6MwxO0COtnfHnxlzzarzJqS0wHUKKoopfrU_Yfe9reREm8Of3TqcVckIleBJOgQYrlGg/image_thumb%5B17%5D%206B946D14.png" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="image" alt="image" border="0" height="300" width="237"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=101582" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/utilities/default.aspx">utilities</category><category domain="http://labloguera.net/blogs/rtb/archive/tags/database/default.aspx">database</category></item><item><title>[WPF] Custom Listbox (description and source code)</title><link>http://labloguera.net/blogs/rtb/archive/2009/11/02/wpf-custom-listbox-description-and-source-code.aspx</link><pubDate>Mon, 02 Nov 2009 17:00:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:94985</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/94985.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=94985</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!239" class="bvMsg"&gt;&lt;p&gt;WPF allows to
create custom controls with flexibility. In this case, I’ll show you a
custom Listbox with the follow interesting features:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Resizeable (listbox and its items)&lt;/li&gt;&lt;li&gt;Custom items with text and picture&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Mouse over effect with custom color&lt;/li&gt;&lt;li&gt;Selected item with custom background color&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Items
Source from Binding. In my example, I’ve used a collection of
“Customer” objects to fill the elements of the listbox, simulating that
they are provided by a external service, as well as each picture is a
array of bytes inside of “Customer” type.&lt;/li&gt;&lt;li&gt;Custom converters in binding fields:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;To fill each picture (array of bytes) in a Image object&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;p align="center"&gt;&amp;lt;Image&amp;nbsp;
Margin="2" Stretch="Uniform"&amp;nbsp; Source="{Binding
Path=Image,Converter={StaticResource
LocalByteArrayToImageConverter}}"/&amp;gt; &lt;/p&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;To format the
address in line. Address is another custom type “Address” inside of
“Customer”. Using another converter, we can take the desired fields
that we want to show and how we want to do it&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;p align="center"&gt;&amp;lt;TextBlock
Text="{Binding Path=FullAddress, Converter={StaticResource
LocalAddressToFullAddressConverter}}"&amp;nbsp; Style="{StaticResource
TextBlockContentStyle}" /&amp;gt;&lt;/p&gt; &lt;p&gt;&lt;a href="https://lyayfq.blu.livefilestore.com/y1mR0ZIBNmaX4aRcHq_oD5phAlFpMZBHkkwhOo-SKXvTpM7RUQDV-RMC2aLzLv-o53T1xjXrcX1JjTDcrVDIpwuhfP8uNFFnDdmpxYq6-crxX8WmYHRgE2xZDVQHLzMvjGSFj3dsMfkycsNyzqkKRabeA/image%5B15%5D%200C52FCAB.png" rel="WLPP"&gt;&lt;img src="https://lyayfq.blu.livefilestore.com/y1mtV3muHqO2nrsvieor0NLfl3DUwgz-Wq207HGHh2UB37H9RMIHLFgrh4FlAmcBQwtw7W2OFiVFRBl-6DgkkBrPqvETWJ4TKtpdXOI9r1sfybdYKus53P6VqRuOWW7GqF8ha71clP-8PogmJP9bDjlbg/image_thumb%5B9%5D%2063BB810F.png" style="border:0px none;display:block;float:none;margin-left:auto;margin-right:auto;" title="image" alt="image" border="0" height="554" width="601"&gt;&lt;/a&gt; &lt;/p&gt;   &lt;p&gt;&lt;a href="http://cid-169823e2d3ac26bc.skydrive.live.com/self.aspx/Public/CODE/CustomersListBox.zip" target="_blank"&gt;DOWNLOAD CODE HERE&lt;/a&gt;&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=94985" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/WPF/default.aspx">WPF</category></item><item><title>[ASP.NET] A single assembly for the entire Web site</title><link>http://labloguera.net/blogs/rtb/archive/2009/10/31/asp-net-a-single-assembly-for-the-entire-web-site.aspx</link><pubDate>Sat, 31 Oct 2009 11:52:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:94980</guid><dc:creator>rtebar</dc:creator><slash:comments>0</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/94980.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=94980</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!232" class="bvMsg"&gt;&lt;p&gt;From Visual
Studio 2008, we don’t have yet, by default, an option to compile a web
site with all its assemblies in only one DLL. But you can do it
installing&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;amp;displaylang=en" target="_blank"&gt;&lt;font size="3"&gt; Visual Studio 2008 Web Deployment Projects&lt;/font&gt;&lt;/a&gt;&lt;font size="3"&gt;. Read more about it &lt;/font&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa479568.aspx" target="_blank"&gt;&lt;font size="3"&gt;here&lt;/font&gt;&lt;/a&gt;&lt;font size="3"&gt;.&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=94980" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>[CRM 4] Recovering from ISV.config errors</title><link>http://labloguera.net/blogs/rtb/archive/2009/10/29/crm-4-recovering-from-isv-config-errors.aspx</link><pubDate>Thu, 29 Oct 2009 19:08:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:94965</guid><dc:creator>rtebar</dc:creator><slash:comments>1</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/94965.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=94965</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!231" class="bvMsg"&gt;&lt;p&gt;CRM accepts
different types of easy and quick user interface customizations like
new menus, custom buttons, and navigation areas, which can be added&lt;br&gt;throughout the application. &lt;/p&gt; &lt;p&gt;To
do it, only we should update the ISV.config, an XML file that we can
export like any other customisation of CRM. However, although CRM
validate this XML file, some error can be entered and our CRM interface
can be damaged. &lt;/p&gt; &lt;p&gt;Supposing, like a good practise, we did a copy
security of our original ISV.config, we will be able to import it again
using this URL:&lt;/p&gt; &lt;p align="center"&gt;&lt;strong&gt;http://[server name]/[OrganisationName]/tools/systemcustomization/importcustomizations/importcustomizations.aspx&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Directly, you will access to the Import Customization tool:&lt;/p&gt; &lt;p align="center"&gt;&lt;a href="https://lyayfq.blu.livefilestore.com/y1myP73FTQupWFcBRNDjocrUwdlJX_C9GQRZWpIsXWJG2Lis03oee-EfkmuPRUOhFJ7GWBy3ck0xIiSJcEtDdMQydBZh4p4xZqXXiK7dYIPHMyhIY_oQQfAQGNCUkGyoQ4fcXGtah1PGmUipQqnC6cwOQ/image%5B4%5D%201D7C7312.png" rel="WLPP"&gt;&lt;img src="https://lyayfq.blu.livefilestore.com/y1mSruHvUifyvzKHWmdbWYd6nnHkVSebQStlpcEsnQwEH3qy-mClSUjw0i0FwCHgXRWrD81Rrv6wEl564H9oCQuB-pWz_VulHO7yV8UbjiWkDdQRFkAUojjrXtyg0X1ZuMoUvsEiNnazzOEYiDINQ5vpQ/image_thumb%5B6%5D.png" style="border:0px none;display:inline;" title="image" alt="image" border="0" height="349" width="677"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=94965" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item><item><title>[CRM] CRM or XRM ??</title><link>http://labloguera.net/blogs/rtb/archive/2009/10/26/crm-crm-or-xrm.aspx</link><pubDate>Mon, 26 Oct 2009 19:40:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:94953</guid><dc:creator>rtebar</dc:creator><slash:comments>2</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/94953.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=94953</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!228" class="bvMsg"&gt;&lt;p&gt;&lt;u&gt;What is CRM?&lt;/u&gt; &lt;/p&gt;&lt;p&gt;Microsoft Dynamics CRM is a versatile business solution that we can easily tailor to your specific &lt;/p&gt;&lt;p&gt;business
needs. As an inherent part of your business strategy Microsoft CRM
exceeds the benefits of a sheer software solution and gives you an
all-inclusive, 360 degree overview of your business. &lt;/p&gt;&lt;p&gt;The
flexible platform of Microsoft CRM allows you to automate manual
processes, increase efficiency and productivity and truly connect with
your customers. Managing sales, marketing and customer service becomes
infinitely easier and your return on investment will be visible
quickly. &lt;/p&gt;&lt;p&gt;Because Microsoft CRM works from the familiar interface of Office Outlook, user-adoption and training are brought to a minimum. &lt;/p&gt;&lt;p&gt;&lt;u&gt;What is xRM?&lt;/u&gt; &lt;/p&gt;&lt;p&gt;CRM
manages customer relationships by offering a holistic view of customer
information and the ability to track interactions with clients.
However, businesses deal with a myriad of relationships that evolve
around different entities besides customers. &lt;/p&gt;&lt;p&gt;The C for customer
can therefore be replaced by X, creating: xRM. The X in this acronym
stands for Anything. XRM is about managing relationships, transactions
and processes involved with ANY entity. Not just customers. The objects
or entities that needs to be managed can be patients, buildings,
potential candidates for hire, grant applications or legislation;
Anything that requires the mapping and tracking of business
information, relationships, activities and processes. &lt;/p&gt;&lt;p&gt;Every
business has specific needs, but developing a solution from scratch is
risky and costly. XRM gives you the platform you can use to build
future applications.&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=94953" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item><item><title>[CRM] BoomerangSMS</title><link>http://labloguera.net/blogs/rtb/archive/2009/10/10/crm-boomerangsms.aspx</link><pubDate>Sat, 10 Oct 2009 14:15:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:92573</guid><dc:creator>rtebar</dc:creator><slash:comments>0</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/92573.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=92573</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!227" class="bvMsg"&gt;&lt;p&gt;Let me introduce
you one of our last Alfapeople CRM project: BoomerangSMS. This solution
allows you to automatically send and receive text messages through CRM
by using the &lt;a href="http://boomerangsmssolutions.com/" target="_blank"&gt;Boomerang&lt;/a&gt;
SMS API. The project consists of an SMS Router Service plus all the
customisations required to get it working on any Microsoft Dynamics CRM
Deployment.&lt;/p&gt; &lt;p&gt;Boost your productivity and plummet costs by
routinely managing appointment scheduling, order confirmations and
delivery times according to preset workflows. This add-on opens up a
wealth of flexibility for your customers and helps you to respond to
their preferences by communicating via their favored channel.&lt;/p&gt; &lt;p&gt;The
best point of all is that BoomerangSMS is an open source project with
License GNU General Public License version 2 (GPLv2). You can download
it and find more information from &lt;a href="http://boomerangsms.codeplex.com/" title="http://boomerangsms.codeplex.com/"&gt;http://boomerangsms.codeplex.com/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;You can see a demo in these videos:&lt;/p&gt; &lt;p align="center"&gt;&lt;a href="http://www.screencast.com/t/dWhsmznad4"&gt;Boomerang for Dynamics CRM Setup&lt;/a&gt;&lt;/p&gt;&lt;p align="center"&gt;(&lt;a href="http://www.screencast.com/t/dWhsmznad4"&gt;http://www.screencast.com/t/dWhsmznad4&lt;/a&gt;) &lt;br&gt;&lt;/p&gt; &lt;div style="padding:0px;width:640px;display:block;float:none;margin-left:auto;margin-right:auto;"&gt;&lt;div&gt;          &lt;span style="display:none;"&gt;&amp;nbsp;&lt;/span&gt;&lt;embed src="http://content.screencast.com/users/Amoedo/folders/Default/media/20465ede-1548-46ce-9687-2679499ef343/bootstrap.swf" wmode="opaque" type="application/x-shockwave-flash" height="498" width="640"&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p align="center"&gt;&lt;a href="http://www.screencast.com/t/E3uPMd4ad"&gt;Boomerang Service Appointment Demo&lt;/a&gt;&lt;/p&gt;&lt;p align="center"&gt;(&lt;a href="http://www.screencast.com/t/E3uPMd4ad"&gt;http://www.screencast.com/t/E3uPMd4ad&lt;/a&gt;) &lt;br&gt;&lt;/p&gt; &lt;div style="padding:0px;width:640px;display:block;float:none;margin-left:auto;margin-right:auto;"&gt;&lt;div&gt;          &lt;span style="display:none;"&gt;&amp;nbsp;&lt;/span&gt;&lt;embed src="http://content.screencast.com/users/Amoedo/folders/Default/media/2fe9ddf8-62c7-4e30-87ff-907c55a75331/bootstrap.swf" wmode="opaque" type="application/x-shockwave-flash" height="498" width="640"&gt; &lt;/div&gt;&lt;/div&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=92573" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item><item><title>[CRM 4] Error using Bulk Deletion Jobs: &quot;This condition had one or more Lookup values that are not valid&quot;</title><link>http://labloguera.net/blogs/rtb/archive/2009/10/07/crm-4-error-using-bulk-deletion-jobs-this-condition-had-one-or-more-lookup-values-that-are-not-valid.aspx</link><pubDate>Wed, 07 Oct 2009 15:10:00 GMT</pubDate><guid isPermaLink="false">982ae711-7ac7-407a-b99e-5d5a6cc12179:92560</guid><dc:creator>rtebar</dc:creator><slash:comments>0</slash:comments><comments>http://labloguera.net/blogs/rtb/comments/92560.aspx</comments><wfw:commentRss>http://labloguera.net/blogs/rtb/commentrss.aspx?PostID=92560</wfw:commentRss><description>&lt;div id="msgcns!169823E2D3AC26BC!226" class="bvMsg"&gt;&lt;p&gt;Using the Bulk Deletion Jobs tool that I told you in &lt;a href="http://ramontebar.spaces.live.com/blog/cns%21169823E2D3AC26BC%21219.entry" target="_blank"&gt;my previous post&lt;/a&gt;,
I’ve found a bug, which is not yet resolved and I’m trying to find out
it. I’m not sure if it’s a CRM issue or it’s a issue of my solution, so
I’m looking for your opinion and similar experiences.&lt;/p&gt; &lt;p&gt;The point is when you create programmatically Build Deletion Jobs whose query contains conditions with&lt;u&gt;&lt;strong&gt; LookUp types&lt;/strong&gt;&lt;/u&gt;,
(DateTime, Picklist, strings, decimals,.. work fine) these attributes
aren’t showed properly in the Bulk Delete Operation form properties.
Instead of that, they are showed like warning signal:&lt;/p&gt; &lt;p align="center"&gt;&lt;a href="https://lyayfq.blu.livefilestore.com/y1mKkQpOs6SzbnrzoKj18-5E1kkcZoddcc-e0nEKaE3jmfJLLtaAfEuSPNhuNrzrhIDDJ5FXEentknNw8qpDcUsp9yuqQvaKj5Y9L1y8Ra51Y06NLkkb0jUKFl0TS0meviifRc1dylSrY5VpPsKA5xROw/image%5B5%5D%20148FA681.png" rel="WLPP"&gt;&lt;img src="https://lyayfq.blu.livefilestore.com/y1mt5liICmeSL3C-zTl5yc9kbUwsVwT6VW6a8ltPzEPUoHuqUyXbnI0YtHN5Bru89snxLJJ6OKplgwSBfhxssgqKJhDKf719up_47R1D0W2KK8rgjYkjzO_plVhl12VSwRO6mCf8996l7VaeZ68qTcEKg/image_thumb%5B7%5D%200F8F37DC.png" style="border-width:0px;display:inline;" title="image" alt="image" border="0" height="290" width="508"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="left"&gt;if you click over the warning signal, you get the message “This condition had one or more Lookup values that are not valid.”:&lt;/p&gt; &lt;p&gt;&lt;a href="https://lyayfq.blu.livefilestore.com/y1mYs8dGCxnJtwFB2JX5Etkx3_0MovzU8h9VH_4kivVsSiysQZn2iX0kTG8ZKYR2TyNoV8a2WpD3Am0g-rnCnrzktSAXaAzs-CRg-o-_CjJ3XlFNzxsH-FfrbXyhj1TPwsERBoSyRGROfyEgTbVHlz0wA/image%5B13%5D%203569BDFA.png" rel="WLPP"&gt;&lt;img src="https://lyayfq.blu.livefilestore.com/y1mQpb2N12EdZ8UVj4rpFEJ9sl7G8Yd3ntj09ctFWW1UWH_-PGTmvXezukqQA90Wu3gnm4O8bs3iPvkA8YO1p6wk3e4Jft87SDpwY46J1pbtozC5lQzxFuYgANCzR7JwZsfKtehBaDcwHJPNy8DE34VFg/image_thumb%5B11%5D%204C0B4A9A.png" style="border-width:0px;display:block;float:none;margin-left:auto;margin-right:auto;" title="image" alt="image" border="0" height="130" width="388"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;However, this Bulk Job Deletion jobs was created according to the next System View, so “Enter Value” should be “parent a1”&lt;/p&gt; &lt;p align="center"&gt;&lt;a href="https://lyayfq.blu.livefilestore.com/y1mPv-Sr89goVXd23z39lgxDam04qwHNuejE8R7PXVafPAzcuYrG5tvCWZ4saIInQCL0NRDHLCtA7lalvUwooNUFoOgGlNJu4UfhMKXCft_Fo90HOF-kHFugcZ_O0GVoMFeBryBvgSyDYNoaKdbQHmQ1w/image%5B15%5D.png" rel="WLPP"&gt;&lt;img src="https://lyayfq.blu.livefilestore.com/y1mtPwi_TTuTRTlRhyaR4z20W1qhvChbMkoxwUeJxEgO07BqJFs4OAUbpHqdm07UkA970HCc6noiRvaLztFpOIJMAcQAGIonLynrBx1GFPD9IB2jQbUREUaPXRJifa_TOC8kOZa75pq8Zfx4JqzzWqCsg/image_thumb%5B17%5D%20172F788D.png" style="border-width:0px;display:inline;" title="image" alt="image" border="0" height="202" width="606"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;u&gt;One important note:&lt;/u&gt;
although Lookup attributes are now showed properly, the Bulk Deletion
Operations work fine and they remove the corresponding records, but It
could be dodgy and scaring, since you won't be sure which records have
been deleted really.&lt;/p&gt; &lt;p&gt;Any suggestion? &lt;/p&gt; &lt;p&gt;Thank you very much.&lt;/p&gt;  &lt;/div&gt;&lt;img src="http://labloguera.net/aggbug.aspx?PostID=92560" width="1" height="1"&gt;</description><category domain="http://labloguera.net/blogs/rtb/archive/tags/CRM/default.aspx">CRM</category></item></channel></rss>