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

<channel>
	<title>Mahender Pal</title>
	<atom:link href="http://mahenderpal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mahenderpal.wordpress.com</link>
	<description>MS CRM,.Net,Silverlight,Sharepoint &#38; Javascript</description>
	<lastBuildDate>Thu, 16 May 2013 16:24:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mahenderpal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a8c41d00bf51edc72696821799b59dc3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Mahender Pal</title>
		<link>http://mahenderpal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mahenderpal.wordpress.com/osd.xml" title="Mahender Pal" />
	<atom:link rel='hub' href='http://mahenderpal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Checkout Dynamics CRM 2011 updated IG</title>
		<link>http://mahenderpal.wordpress.com/2013/05/16/checkout-dynamics-crm-2011-updated-ig/</link>
		<comments>http://mahenderpal.wordpress.com/2013/05/16/checkout-dynamics-crm-2011-updated-ig/#comments</comments>
		<pubDate>Thu, 16 May 2013 05:11:34 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[MS CRM 2011]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=1047</guid>
		<description><![CDATA[Microsoft has release new version of Dynamics CRM IG Guide, you can check it here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1047&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Microsoft has release new version of Dynamics CRM IG Guide, you can check it <a href="http://technet.microsoft.com/en-us/library/hh699811.aspx">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/1047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/1047/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1047&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/05/16/checkout-dynamics-crm-2011-updated-ig/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
		<item>
		<title>Retrieve crm users based on Team</title>
		<link>http://mahenderpal.wordpress.com/2013/05/14/retrieve-crm-user-based-on-team/</link>
		<comments>http://mahenderpal.wordpress.com/2013/05/14/retrieve-crm-user-based-on-team/#comments</comments>
		<pubDate>Tue, 14 May 2013 08:16:36 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[MS CRM 2011]]></category>
		<category><![CDATA[get all users based on team ms crm 2011]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=1038</guid>
		<description><![CDATA[If you are looking to get all crm users based on the teamid then this post is for you. You can use below code to retrieve users: private EntityCollection GetAllTeamUsers(IOrganizationService _CrmService,Guid TeamID) { //Create query expression QueryExpression _Query = new QueryExpression(); _Query.EntityName = &#8220;systemuser&#8221;; _Query.ColumnSet = new ColumnSet(true); _Query.ColumnSet.AddColumn(&#8220;systemuserid&#8221;); _Query.LinkEntities.Add(new LinkEntity { LinkFromEntityName = &#8220;systemuser&#8221;, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1038&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are looking to get all crm users based on the teamid then this post is for you. You can use below code to retrieve users:</p>
<p>private EntityCollection GetAllTeamUsers(IOrganizationService _CrmService,Guid TeamID)<br />
{<br />
//Create query expression<br />
QueryExpression _Query = new QueryExpression();<br />
_Query.EntityName = &#8220;systemuser&#8221;;<br />
_Query.ColumnSet = new ColumnSet(true);<br />
_Query.ColumnSet.AddColumn(&#8220;systemuserid&#8221;);<br />
_Query.LinkEntities.Add(new LinkEntity<br />
{<br />
LinkFromEntityName = &#8220;systemuser&#8221;,<br />
LinkToEntityName = &#8220;teammembership&#8221;,<br />
LinkFromAttributeName = &#8220;systemuserid&#8221;,<br />
LinkToAttributeName = &#8220;systemuserid&#8221;,<br />
LinkCriteria =<br />
new FilterExpression<br />
{<br />
Conditions ={<br />
new ConditionExpression(&#8220;teamid&#8221;,ConditionOperator.Equal,TeamID)<br />
}<br />
}<br />
});<br />
return _CrmService.RetrieveMultiple(_Query);<br />
}</p>
<p>Enjoy !!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/1038/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/1038/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1038&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/05/14/retrieve-crm-user-based-on-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
		<item>
		<title>Connect with your Customers Using Skype</title>
		<link>http://mahenderpal.wordpress.com/2013/05/10/connect-with-your-customers-using-skype/</link>
		<comments>http://mahenderpal.wordpress.com/2013/05/10/connect-with-your-customers-using-skype/#comments</comments>
		<pubDate>Fri, 10 May 2013 08:33:08 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Skype call through Microsoft Dynamics CRM]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=1021</guid>
		<description><![CDATA[If your organization is updated with Microsoft CRM 2011 rollup then you can use Skype or Lync to connect to your customer. You can select your option from Settings-&#62;System-&#62;Administration. To use this functionality you need:- Skype or Lync installed on your machine. Prefix country code and area code before the contact number of customer. Once you [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1021&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If your organization is updated with <a href="http://support.microsoft.com/kb/2795627">Microsoft CRM 2011 rollup </a>then you can use Skype or Lync to connect to your customer. You can select your option from <strong>Settings-&gt;System-&gt;Administration.</strong></p>
<p><a href="http://mahenderpal.files.wordpress.com/2013/05/phonecalling.png"><img class="aligncenter" id="i-1027" alt="Image" src="http://mahenderpal.files.wordpress.com/2013/05/phonecalling.png?w=211" /></a></p>
<p>To use this functionality you need:-</p>
<ol>
<li>Skype or Lync installed on your machine.</li>
<li>Prefix country code and area code before the contact number of customer.</li>
</ol>
<p><a href="http://mahenderpal.files.wordpress.com/2013/05/areacode.png"><img class="size-full wp-image" id="i-1031" alt="Image" src="http://mahenderpal.files.wordpress.com/2013/05/areacode.png?w=650" /></a></p>
<p>Once you have contact number entered for your customers you can click on phone number directly and it will ask you for confirmation, once you will allow Skype will start calling that number.</p>
<p><a href="http://mahenderpal.files.wordpress.com/2013/05/mobile.png"><img class="size-full wp-image aligncenter" id="i-1034" alt="Image" src="http://mahenderpal.files.wordpress.com/2013/05/mobile.png?w=386" /></a>Enjoy !!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/1021/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/1021/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1021&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/05/10/connect-with-your-customers-using-skype/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>

		<media:content url="http://mahenderpal.files.wordpress.com/2013/05/phonecalling.png?w=211" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://mahenderpal.files.wordpress.com/2013/05/areacode.png?w=650" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>

		<media:content url="http://mahenderpal.files.wordpress.com/2013/05/mobile.png?w=386" medium="image">
			<media:title type="html">Image</media:title>
		</media:content>
	</item>
		<item>
		<title>Get All users based on Business Unit -MS CRM 2011</title>
		<link>http://mahenderpal.wordpress.com/2013/05/09/get-all-users-based-on-business-unit-ms-crm-2011/</link>
		<comments>http://mahenderpal.wordpress.com/2013/05/09/get-all-users-based-on-business-unit-ms-crm-2011/#comments</comments>
		<pubDate>Thu, 09 May 2013 14:32:09 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Get CRM User based on Business Unit]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=1014</guid>
		<description><![CDATA[If you are looking for a code to get all the users for a particular business unit, you can use below code private EntityCollection RetrieveUserBasedOnBusinessUnit(IOrganizationService _CrmService,Guid BUId)        {            QueryExpression _Query = new QueryExpression                   {                       EntityName = &#8220;systemuser&#8221;,                       ColumnSet = new ColumnSet(true),                       Criteria =                       {                          Conditions =                        {                            new ConditionExpression                            {                                AttributeName=&#8221;businessunitid&#8221;,                                Operator=ConditionOperator.Equal,                                Values={BUId}                             }                        [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1014&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are looking for a code to get all the users for a particular business unit, you can use below code</p>
<p>private EntityCollection RetrieveUserBasedOnBusinessUnit(IOrganizationService _CrmService,Guid BUId)<br />        {<br />            QueryExpression _Query = new QueryExpression<br />                   {<br />                       EntityName = &#8220;systemuser&#8221;,<br />                       ColumnSet = new ColumnSet(true),<br />                       Criteria =<br />                       {<br />                          Conditions =<br />                        {<br />                            new ConditionExpression<br />                            {<br />                                AttributeName=&#8221;businessunitid&#8221;,<br />                                Operator=ConditionOperator.Equal,<br />                                Values={BUId}</p>
<p>                            }<br />                        }<br />                       }<br />                   };<br />            return _CrmService.RetrieveMultiple(_Query);<br />        }<br />Enjoy !!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/1014/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/1014/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1014&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/05/09/get-all-users-based-on-business-unit-ms-crm-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
		<item>
		<title>Himbap &#8211; A team of highly skilled Microsoft Dynamics CRM experts</title>
		<link>http://mahenderpal.wordpress.com/2013/05/09/himbap-a-team-of-highly-skilled-microsoft-dynamics-crm-experts/</link>
		<comments>http://mahenderpal.wordpress.com/2013/05/09/himbap-a-team-of-highly-skilled-microsoft-dynamics-crm-experts/#comments</comments>
		<pubDate>Thu, 09 May 2013 07:14:56 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Himbap]]></category>
		<category><![CDATA[Microsoft Dynamics CRM Consulting]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=1012</guid>
		<description><![CDATA[Introducing Himbap, a team of highly skilled Microsoft Dynamics CRM experts, with extensive experience in developing solution for diverse domains, across verticals. We believe in having long-term firm relationships with our customers. We help our customers in improving their business efficiency and profitability with automation and innovation to their business process leveraging Microsoft Dynamics CRM [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1012&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Introducing <a href="http://www.himbap.com/index.aspx">Himbap</a>, a team of highly skilled Microsoft Dynamics CRM experts, with extensive experience in developing solution for diverse domains, across verticals. We believe in having long-term firm relationships with our customers. We help our customers in improving their business efficiency and profitability with automation and innovation to their business process leveraging Microsoft Dynamics CRM along with our services.</p>
<p>We provide gamut of Microsoft Dynamics CRM services right from business process analysis to end user training and assist organizations in growing their business effectively and enhance their skillset. We assist organizations in making their business processes more agile &amp; efficacious and making their business more efficient.</p>
<p><a href="http://www.himbap.com/index.aspx">Himbap </a>is guided by a team of Microsoft Certified Professional and MVP in Dynamics CRM. Along with experience and expertise in Dynamics CRM we also bring our understanding of business requirement in various customer scenarios and ability to empathize with our customers. And the one thing that differentiates us from the rest is not only our Dynamics CRM expertise but also our unique customer led approach.</p>
<p>Please refer: <a href="http://himbap.com">http://himbap.com</a> for more details about our services.</p>
<p><a href="http://www.himbap.com/contactus.aspx">Contact Us</a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/1012/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/1012/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=1012&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/05/09/himbap-a-team-of-highly-skilled-microsoft-dynamics-crm-experts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
		<item>
		<title>Win A free copy of the ‘Microsoft Dynamics CRM 2011 Applications (MB2-868) Certification Guide&#8217;</title>
		<link>http://mahenderpal.wordpress.com/2013/04/30/win-a-free-copy-of-the-microsoft-dynamics-crm-2011-applications-mb2-868-certification-guide/</link>
		<comments>http://mahenderpal.wordpress.com/2013/04/30/win-a-free-copy-of-the-microsoft-dynamics-crm-2011-applications-mb2-868-certification-guide/#comments</comments>
		<pubDate>Tue, 30 Apr 2013 13:44:44 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[MS CRM Book]]></category>
		<category><![CDATA[free crm book]]></category>
		<category><![CDATA[Microsoft Dynamics CRM Application Exam]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=987</guid>
		<description><![CDATA[I have another option to win a free ebook for my readers, I am organizing a contest where I have three copies of Microsoft Dynamics CRM 2011 Applications (MB2-868) Certification Guide that I will give to our three lucky winners. How you can win: To win your copy of this book, all you need to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=987&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have another option to win a free ebook for my readers, I am organizing a contest where I have three copies of <a href="http://www.packtpub.com/microsoft-dynamics-crm-2011-applications-certification-guide/book">Microsoft Dynamics CRM 2011 Applications (MB2-868) Certification Guide</a> that I will give to our three lucky winners.</p>
<p><b>How you can win:</b></p>
<p>To win your copy of this book, all you need to do is tell us what you want to read in our blog and tell us your ideas for a blog entry for Microsoft Dynamics CRM. Make sure to provide your email address, so that I can get in touch with you.</p>
<p><a href="http://www.packtpub.com/microsoft-dynamics-crm-2011-applications-certification-guide/book"><img class="alignleft size-full wp-image-988" alt="6501EN.jpg" src="http://mahenderpal.files.wordpress.com/2013/04/6501en-jpg.png?w=535"   /></a></p>
<p><b>Duration of the contest &amp; selection of winners:</b></p>
<p>The contest is valid up to next 15 days and will end on 15 May 2013, and is open to everyone. Winners will be selected on the basis of their comment posted.</p>
<p>You can check more details about book on <a href="http://www.packtpub.com/microsoft-dynamics-crm-2011-applications-certification-guide/book">http://www.packtpub.com.</a></p>
<p>Enjoy !!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/987/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=987&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/04/30/win-a-free-copy-of-the-microsoft-dynamics-crm-2011-applications-mb2-868-certification-guide/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>

		<media:content url="http://mahenderpal.files.wordpress.com/2013/04/6501en-jpg.png" medium="image">
			<media:title type="html">6501EN.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>And the winners are !!!</title>
		<link>http://mahenderpal.wordpress.com/2013/04/29/and-the-winners-are/</link>
		<comments>http://mahenderpal.wordpress.com/2013/04/29/and-the-winners-are/#comments</comments>
		<pubDate>Mon, 29 Apr 2013 15:58:23 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[MS CRM Book]]></category>
		<category><![CDATA[free crm book]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=983</guid>
		<description><![CDATA[If you are a regular reader of my blog then I hope you are aware of the free Microsoft Dynamics CRM 2011 Application Design book contest that ended on 28th April (on my birthday ), so I have selected below two readers: 1. Bob Watson. 2. Ashwani.Ashwin. Thank you for you reading my blog, stay tuned [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=983&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are a regular reader of my blog then I hope you are aware of the free <a href="http://www.packtpub.com/microsoft-dynamics-crm-2011-application-design/book">Microsoft Dynamics CRM 2011 Application Design </a>book contest that ended on 28th April (on my birthday <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ), so I have selected below two readers:</p>
<p>1. <a href="http://911bob.com/">Bob Watson.</a></p>
<p>2. <a href="https://ashwaniashwin.wordpress.com/">Ashwani.Ashwin.</a></p>
<p>Thank you for you reading my blog, stay tuned !!! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/983/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/983/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=983&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/04/29/and-the-winners-are/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
		<item>
		<title>Get Domain name for MS CRM 2011 User</title>
		<link>http://mahenderpal.wordpress.com/2013/04/11/get-domain-name-for-ms-crm-2011-user/</link>
		<comments>http://mahenderpal.wordpress.com/2013/04/11/get-domain-name-for-ms-crm-2011-user/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 05:57:09 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[MS CRM 2011]]></category>
		<category><![CDATA[get domain name for crm user]]></category>
		<category><![CDATA[ms crm user domain name]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=977</guid>
		<description><![CDATA[Sometime we have requirement to get domain name for crm user, we can use SystemUser entity to get this information, you can use below rest code for the same: function GetServerURL() { var serverUrl = Xrm.Page.context.getServerUrl(); if (serverUrl.match(/\/$/)) { serverUrl = serverUrl.substring(0, serverUrl.length &#8211; 1); } return serverUrl; } function GetDomainName() { var UserID = [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=977&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Sometime we have requirement to get domain name for crm user, we can use SystemUser entity to get this information, you can use below rest code for the same:</p>
<p>function <strong>GetServerURL</strong>()<br />
{<br />
var serverUrl = Xrm.Page.context.getServerUrl();<br />
if (serverUrl.match(/\/$/)) {<br />
serverUrl = serverUrl.substring(0, serverUrl.length &#8211; 1);<br />
}<br />
return serverUrl;<br />
}<br />
function <strong>GetDomainName</strong>() {<br />
var UserID = Xrm.Page.context.getUserId();<br />
var ODataPath = GetServerURL() + &#8220;XRMServices/2011/OrganizationData.svc&#8221;;<br />
var retrieveUserReq = new XMLHttpRequest();<br />
retrieveUserReq.open(&#8220;GET&#8221;, ODataPath + &#8220;/SystemUserSet(guid&#8217;&#8221; + UserID + &#8220;&#8216;)&#8221;, true);<br />
retrieveUserReq.setRequestHeader(&#8220;Accept&#8221;, &#8220;application/json&#8221;);<br />
retrieveUserReq.setRequestHeader(&#8220;Content-Type&#8221;, &#8220;application/json; charset=utf-8&#8243;);<br />
retrieveUserReq.onreadystatechange = function () {<br />
<b>GetDomainNameCallBack</b>(this);<br />
};<br />
retrieveUserReq.send();</p>
<p>}<br />
function <b>GetDomainNameCallBack</b>(retrieveUserReq) {<br />
if (retrieveUserReq.readyState == 4 /* complete */) {<br />
if (retrieveUserReq.status == 200) {<br />
var retrievedUser = this.parent.JSON.parse(retrieveUserReq.responseText).d;<br />
if(retrievedUser.DomainName!=null){<br />
alert(retrievedUser.DomainName);<br />
}<br />
else {<br />
alert(&#8220;Error in Fetching User data&#8221;);}<br />
}<br />
}<br />
}</p>
<p>Hope it will help someone !!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/977/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/977/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=977&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/04/11/get-domain-name-for-ms-crm-2011-user/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting CRM User Date and Time Format Setting in Silverlight Microsoft CRM 2011</title>
		<link>http://mahenderpal.wordpress.com/2013/04/10/getting-crm-user-date-and-time-format-setting-in-silverlight-microsoft-crm-2011/</link>
		<comments>http://mahenderpal.wordpress.com/2013/04/10/getting-crm-user-date-and-time-format-setting-in-silverlight-microsoft-crm-2011/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 16:05:03 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crm user datetime format]]></category>
		<category><![CDATA[crm user setting in silverlight]]></category>
		<category><![CDATA[usersettings]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=971</guid>
		<description><![CDATA[If you are working with Silverlight web resource and you need to get current crm user date time format then you can query usersettings entity and get datetime format setting for user. I have used Silvercrmsaop library in my project. You can use below code for the same: public void RetrieveUserSettingRecord(Guid _UserID) { try { [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=971&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are working with Silverlight web resource and you need to get current crm user date time format then you can query usersettings entity and get datetime format setting for user. I have used <a href="http://silvercrmsoap.codeplex.com/">Silvercrmsaop </a>library in my project. You can use below code for the same:</p>
<p>public void RetrieveUserSettingRecord(Guid _UserID)<br />
{<br />
try<br />
{<br />
this._d.BeginInvoke(delegate()<br />
{<br />
EntityReference EntityID = new EntityReference();<br />
EntityID.Id = _UserID;<br />
EntityID.LogicalName = &#8220;usersettings&#8221;;<br />
OrganizationRequest request = new OrganizationRequest() { RequestName = &#8220;Retrieve&#8221; };<br />
request["Target"] = EntityID;<br />
ColumnSet columns = new ColumnSet();<br />
columns.Columns = new System.Collections.ObjectModel.ObservableCollection&lt;string&gt;(new string[] { &#8220;dateformatstring&#8221;, &#8220;timeformatstring&#8221; });<br />
request["ColumnSet"] = columns;<br />
IOrganizationService service = SilverlightUtility.GetSoapService();<br />
//send the async request and specify it&#8217;s callback<br />
service.BeginExecute(request, new AsyncCallback(RetrieveCurrentUserSetting), service);</p>
<p>});</p>
<p>}<br />
catch (Exception ex)<br />
{<br />
throw ex;<br />
}</p>
<p>}</p>
<p>private void RetrieveCurrentUserSetting(IAsyncResult result)<br />
{<br />
try{</p>
<p>this._d.BeginInvoke(delegate()<br />
{<br />
OrganizationResponse Response = ((IOrganizationService)result.AsyncState).EndExecute(result);<br />
SilverCrmSoap.CrmSdk.Entity _SystemUser = (SilverCrmSoap.CrmSdk.Entity)Response["Entity"];<br />
if (_SystemUser.GetAttributeValue&lt;string&gt;(&#8220;dateformatstring&#8221;) != null)<br />
{<br />
string DateformatString = _SystemUser.GetAttributeValue&lt;string&gt;(&#8220;dateformatstring&#8221;);<br />
}<br />
if (_SystemUser.GetAttributeValue&lt;string&gt;(&#8220;timeformatstring&#8221;) != null)<br />
{<br />
string TimeFormatString = _SystemUser.GetAttributeValue&lt;string&gt;(&#8220;timeformatstring&#8221;);</p>
<p>}<br />
});<br />
}<br />
catch (Exception ex)<br />
{<br />
throw ex;<br />
}</p>
<p>}</p>
<p>Hope it will help someone !!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/971/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/971/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=971&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/04/10/getting-crm-user-date-and-time-format-setting-in-silverlight-microsoft-crm-2011/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
		<item>
		<title>Update parent customerid in Contact using Soap Request</title>
		<link>http://mahenderpal.wordpress.com/2013/04/06/update-parent-customerid-in-contact-using-soap-request/</link>
		<comments>http://mahenderpal.wordpress.com/2013/04/06/update-parent-customerid-in-contact-using-soap-request/#comments</comments>
		<pubDate>Sat, 06 Apr 2013 05:54:07 +0000</pubDate>
		<dc:creator>mahenderpal</dc:creator>
				<category><![CDATA[MS CRM 2011]]></category>
		<category><![CDATA[soap request]]></category>
		<category><![CDATA[soaplogger]]></category>
		<category><![CDATA[update parent customerid]]></category>

		<guid isPermaLink="false">http://mahenderpal.wordpress.com/?p=968</guid>
		<description><![CDATA[If you are looking to update parent customer id in contact record using soap request you can use below code. I have used Soaplogger application that comes with Microsoft CRM 2011 SDK to generate this soap request, you can simply write your server side code in soaploagger and run this application, it will generate client [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=968&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are looking to update parent customer id in contact record using soap request you can use below code. I have used Soaplogger application that comes with Microsoft CRM 2011 SDK to generate this soap request, you can simply write your server side code in soaploagger and run this application, it will generate client slide soap request for you.</p>
<p>function UpdateParentCustomer(ParentCustomerID,ContactID)<br />
{<br />
var _ServerURL = Xrm.Page.context.getServerUrl() + &#8220;/XRMServices/2011/Organization.svc/web&#8221;;<br />
var SoapRequest=&#8221;&lt;s:Envelope xmlns:s=&#8217;<a href="http://schemas.xmlsoap.org/soap/envelope/&#8217;&gt;&#8221;+" rel="nofollow">http://schemas.xmlsoap.org/soap/envelope/&#8217;&gt;&#8221;+</a><br />
&#8220;&lt;s:Body&gt;&lt;Update xmlns=&#8217;<a href="http://schemas.microsoft.com/xrm/2011/Contracts/Services&#038;#8217" rel="nofollow">http://schemas.microsoft.com/xrm/2011/Contracts/Services&#038;#8217</a>; xmlns:i=&#8217;<a href="http://www.w3.org/2001/XMLSchema-instance&#8217;&gt;&#8221;+" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance&#8217;&gt;&#8221;+</a><br />
&#8220;&lt;entity xmlns:a=&#8217;<a href="http://schemas.microsoft.com/xrm/2011/Contracts&#8217;&gt;&#8221;+" rel="nofollow">http://schemas.microsoft.com/xrm/2011/Contracts&#8217;&gt;&#8221;+</a><br />
&#8220;&lt;a:Attributes xmlns:b=&#8217;<a href="http://schemas.datacontract.org/2004/07/System.Collections.Generic&#8217;&gt;&#8221;+" rel="nofollow">http://schemas.datacontract.org/2004/07/System.Collections.Generic&#8217;&gt;&#8221;+</a><br />
&#8220;&lt;a:KeyValuePairOfstringanyType&gt;&#8221;+<br />
&#8220;&lt;b:key&gt;parentcustomerid&lt;/b:key&gt;&#8221;+<br />
&#8220;&lt;b:value i:type=&#8217;a:EntityReference&#8217;&gt;&#8221;+<br />
&#8220;&lt;a:Id&gt;&#8221;+ParentCustomerID+&#8221;&lt;/a:Id&gt;&#8221;+<br />
&#8220;&lt;a:LogicalName&gt;account&lt;/a:LogicalName&gt;&#8221;+<br />
&#8220;&lt;a:Name i:nil=&#8217;true&#8217; /&gt;&#8221;+<br />
&#8220;&lt;/b:value&gt;&#8221;+<br />
&#8220;&lt;/a:KeyValuePairOfstringanyType&gt;&#8221;+<br />
&#8220;&lt;a:KeyValuePairOfstringanyType&gt;&#8221;+<br />
&#8220;&lt;b:key&gt;contactid&lt;/b:key&gt;&#8221;+<br />
&#8220;&lt;b:value i:type=&#8217;c:guid&#8217; xmlns:c=&#8217;<a href="http://schemas.microsoft.com/2003/10/Serialization/&#8217;&gt;&#8221;+ContactID+&#8221;&lt;/b:value&gt;&#8221;+" rel="nofollow">http://schemas.microsoft.com/2003/10/Serialization/&#8217;&gt;&#8221;+ContactID+&#8221;&lt;/b:value&gt;&#8221;+</a><br />
&#8220;&lt;/a:KeyValuePairOfstringanyType&gt;&#8221;+<br />
&#8220;&lt;/a:Attributes&gt;&#8221;+<br />
&#8220;&lt;a:EntityState i:nil=&#8217;true&#8217; /&gt;&#8221;+<br />
&#8220;&lt;a:FormattedValues xmlns:b=&#8217;<a href="http://schemas.datacontract.org/2004/07/System.Collections.Generic&#038;#8217" rel="nofollow">http://schemas.datacontract.org/2004/07/System.Collections.Generic&#038;#8217</a>; /&gt;&#8221;+<br />
&#8220;&lt;a:Id&gt;00000000-0000-0000-0000-000000000000&lt;/a:Id&gt;&#8221;+<br />
&#8220;&lt;a:LogicalName&gt;contact&lt;/a:LogicalName&gt;&#8221;+<br />
&#8220;&lt;a:RelatedEntities xmlns:b=&#8217;<a href="http://schemas.datacontract.org/2004/07/System.Collections.Generic&#038;#8217" rel="nofollow">http://schemas.datacontract.org/2004/07/System.Collections.Generic&#038;#8217</a>; /&gt;&#8221;+<br />
&#8220;&lt;/entity&gt;&lt;/Update&gt;&lt;/s:Body&gt;&lt;/s:Envelope&gt;&#8221;;<br />
var req = new XMLHttpRequest();<br />
req.open(&#8220;POST&#8221;, _ServerURL, true)<br />
req.setRequestHeader(&#8220;Accept&#8221;, &#8220;application/xml, text/xml, */*&#8221;);<br />
req.setRequestHeader(&#8220;Content-Type&#8221;, &#8220;text/xml; charset=utf-8&#8243;);<br />
req.setRequestHeader(&#8220;SOAPAction&#8221;, &#8220;<a href="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Update&#038;#8221" rel="nofollow">http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Update&#038;#8221</a>;);<br />
req.onreadystatechange = function () { Soap_Callback(req); };<br />
req.send(SoapRequest);<br />
}<br />
function Soap_Callback(req)<br />
{<br />
if (req.readyState == 4) {<br />
if (req.status == 200) {<br />
alert(&#8220;Updated record successfully&#8221;);  }<br />
else {var resultXml = req.responseXML;<br />
var bodyNode = resultXml.firstChild.firstChild;<br />
//Retrieve error message<br />
for (var i = 0; i &lt; bodyNode.childNodes.length; i++) {<br />
var node = bodyNode.childNodes[i];<br />
if (&#8220;s:Fault&#8221; == node.nodeName) {<br />
for (var j = 0; j &lt; node.childNodes.length; j++) {<br />
var faultStringNode = node.childNodes[j];<br />
if (&#8220;faultcode&#8221; == faultStringNode.nodeName) {<br />
alert(faultStringNode.textContent);<br />
break;<br />
}<br />
}<br />
break;<br />
}<br />
}<br />
}<br />
}<br />
}<br />
Hope it will help someone !!!</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahenderpal.wordpress.com/968/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahenderpal.wordpress.com/968/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahenderpal.wordpress.com&#038;blog=7352951&#038;post=968&#038;subd=mahenderpal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahenderpal.wordpress.com/2013/04/06/update-parent-customerid-in-contact-using-soap-request/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6f06ce6674b62045e19a3a1097f9bc95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahain</media:title>
		</media:content>
	</item>
	</channel>
</rss>
