<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:blog="http://dnn-connect.org/blog/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Blog - Javascript</title>
    <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/term/101/locale/en-US/Blog-Javascript</link>
    <description />
    <managingEditor>sales@xrmlabs.com</managingEditor>
    <pubDate>Tue, 28 Apr 2026 08:34:58 GMT</pubDate>
    <lastBuildDate>Tue, 28 Apr 2026 08:34:58 GMT</lastBuildDate>
    <category>Javascript</category>
    <generator>DotNetNuke Blog RSS Generator Version 6.5.2.0</generator>
    <ttl>30</ttl>
    <atom:link href="https://www.xrmlabs.com/DesktopModules/Blog/API/RSS/Get?moduleid=440&amp;tabid=94&amp;term=101" rel="self" type="application/rss+xml" />
    <item>
      <title>Introduction of web resources in MS Dynamic CRM</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8389/Introduction-of-web-resources-in-MS-Dynamic-CRM</link>
      <description>&lt;p&gt;Web resources are simply web files those are stored in CRM database. Web Resources provides ability to add code in CRM forms/fields to implement or extend features and functionalities&amp;nbsp;in CRM. Web resources are able to handle client side interaction.&amp;nbsp;&lt;/p&gt;
</description>
      <category>ASP.NET</category>
      <category>CSS</category>
      <category>HTML 5</category>
      <category>Javascript</category>
      <category>MS CRM 2016</category>
      <category>MSCRM 2013</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8389/Introduction-of-web-resources-in-MS-Dynamic-CRM</guid>
      <pubDate>Tue, 03 Aug 2021 09:23:00 GMT</pubDate>
      <blog:publishedon>2021-08-03 09:23:00Z</blog:publishedon>
    </item>
    <item>
      <title>Deserialization JSON In C#</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8388/Deserialization-JSON-In-C</link>
      <description>&lt;p&gt;Before understanding Deserialization JSON we should know what Deserialization means, Deserialization is the process of getting back the serialized object and this helps us to reconstruct an object whenever it is required, now to pass the data between the applications JSON format is required, JSON stands for JAVASCRIPT OBJECT NOTATION, it is very light in weight and it can be read and understood by users very easily and also it is easy for system to parse it and generate the output.&lt;/p&gt;
</description>
      <category>ASP.NET</category>
      <category>C#</category>
      <category>Javascript</category>
      <category>JSON</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8388/Deserialization-JSON-In-C</guid>
      <pubDate>Tue, 27 Jul 2021 18:09:00 GMT</pubDate>
      <blog:publishedon>2021-07-27 18:09:00Z</blog:publishedon>
    </item>
    <item>
      <title>Microsoft Dynamics 365</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8387/Microsoft-Dynamics-365</link>
      <description>&lt;p&gt;We all are familiar with the term time is money, that phrase is relevant now more than ever. With several new and old business shifting their business to Digital management of their workflow to achieve a boost in productivity Microsoft Dynamics 365 CRM is a treat hard to resist. To understand the benefits of Microsoft Dynamics 365 we must first be familiar with CRMs&lt;/p&gt;
</description>
      <category>ASP.NET</category>
      <category>C#</category>
      <category>Dynamics 365</category>
      <category>Javascript</category>
      <category>MS CRM 2013</category>
      <category>MS CRM 2016</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8387/Microsoft-Dynamics-365</guid>
      <pubDate>Tue, 20 Jul 2021 08:01:00 GMT</pubDate>
      <blog:publishedon>2021-07-20 08:01:00Z</blog:publishedon>
    </item>
    <item>
      <title>Customizations in Microsoft Dynamics 365</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8386/Customizations-in-Microsoft-Dynamics-365</link>
      <description>&lt;p&gt;As we discussed in our previous article Microsoft Dynamics 365 comes with plethora of options we can use to customize the CRM according to our needs without writing any code.&lt;/p&gt;
</description>
      <category>ASP.NET</category>
      <category>Javascript</category>
      <category>MS CRM 2013</category>
      <category>MS CRM 2016</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8386/Customizations-in-Microsoft-Dynamics-365</guid>
      <pubDate>Tue, 13 Jul 2021 12:00:00 GMT</pubDate>
      <blog:publishedon>2021-07-13 12:00:00Z</blog:publishedon>
    </item>
    <item>
      <title>Use of coding in Dynamics 365 customization</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8385/Use-of-coding-in-Dynamics-365-customization</link>
      <description>&lt;p&gt;Even though we are provided with a lot of freedom when it comes to customizing Microsoft&amp;rsquo;s Dynamics 365 we still run into a scenario now and then where to fine tune our CRM experience we have to take help of Coded customizations&lt;/p&gt;
</description>
      <category>ASP.NET</category>
      <category>Javascript</category>
      <category>MS CRM 2013</category>
      <category>MS CRM 2016</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8385/Use-of-coding-in-Dynamics-365-customization</guid>
      <pubDate>Tue, 06 Jul 2021 09:45:00 GMT</pubDate>
      <blog:publishedon>2021-07-06 09:45:00Z</blog:publishedon>
    </item>
    <item>
      <title>SharePoint Framework (SPFx).</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8356/SharePoint-Framework-SPFx</link>
      <description>&lt;p&gt;When we start working with SharePoint, it does not take a single minute for us to recognize the capabilities of the web app that we use. These web apps are not just for making the UI attractive, but they are full of capabilities which allows you to improve or enhance the efficiency as well as the capabilities of your SharePoint Environment as well.&lt;/p&gt;
</description>
      <category>Javascript</category>
      <category>Share Point</category>
      <category>WebAPI</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8356/SharePoint-Framework-SPFx</guid>
      <pubDate>Tue, 29 Jun 2021 19:58:00 GMT</pubDate>
      <blog:publishedon>2021-06-29 19:58:00Z</blog:publishedon>
    </item>
    <item>
      <title>To debug a PowerApps PCF Control in Dynamics 365</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8358/To-debug-a-PowerApps-PCF-Control-in-Dynamics-365</link>
      <description>&lt;p&gt;We use &lt;strong&gt;DevTools&lt;/strong&gt; (&lt;strong&gt;Developer Tools&lt;/strong&gt;) to debug and inspect PCF Control using breakpoint debugging and with the live console.&lt;/p&gt;
</description>
      <category>CSS</category>
      <category>HTML</category>
      <category>HTML 5</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8358/To-debug-a-PowerApps-PCF-Control-in-Dynamics-365</guid>
      <pubDate>Tue, 29 Jun 2021 17:31:00 GMT</pubDate>
      <blog:publishedon>2021-06-29 17:31:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to auto populate fields in Dynamics 365 form using JavaScript</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8348/How-to-auto-populate-fields-in-Dynamics-365-form-using-JavaScript</link>
      <description>&lt;p&gt;In this blog, we will tell you how you can auto-populate fields in Dynamics 365 form.&lt;/p&gt;

&lt;p&gt;Microsoft Dynamics provide you a feature to &lt;strong&gt;auto populate fields&lt;/strong&gt; means &lt;strong&gt;populating it automatically&lt;/strong&gt;, if you already have entered some data in Dynamics based on your requirement.&lt;/p&gt;
</description>
      <category>ASP.NET</category>
      <category>Dynamics 365</category>
      <category>Dynamics CRM</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8348/How-to-auto-populate-fields-in-Dynamics-365-form-using-JavaScript</guid>
      <pubDate>Thu, 15 Apr 2021 19:02:00 GMT</pubDate>
      <blog:publishedon>2021-04-15 19:02:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to get Records Count for Multiple Entities Through Web API</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8336/How-to-get-Records-Count-for-Multiple-Entities-Through-Web-API</link>
      <description>&lt;p&gt;This can be done&amp;nbsp;fairly easily&amp;nbsp;through Web API even if you are not a developer. Below is the one-line API call which lets you fetch the total records count for multiple entities in one-go:&amp;nbsp;
&lt;/p&gt;</description>
      <category>Dynamics 365</category>
      <category>Javascript</category>
      <category>web-api</category>
      <category>Javascript</category>
      <category>Dynamics CRM</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8336/How-to-get-Records-Count-for-Multiple-Entities-Through-Web-API</guid>
      <pubDate>Mon, 01 Feb 2021 13:14:00 GMT</pubDate>
      <blog:publishedon>2021-02-01 13:14:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to get Record Change History Through Web API</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8335/How-to-get-Record-Change-History-Through-Web-API</link>
      <description>&lt;p&gt;Microsoft Dynamics provides you a feature to see if any record is altered in any way. It also allows you to see what change has happened related to that account such as any field value is changed or status of record has changed, etc.&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description>
      <category>audit-history</category>
      <category>Auditing</category>
      <category>Dynamics 365</category>
      <category>Javascript</category>
      <category>Javascript</category>
      <category>Dynamics CRM</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8335/How-to-get-Record-Change-History-Through-Web-API</guid>
      <pubDate>Thu, 28 Jan 2021 13:05:00 GMT</pubDate>
      <blog:publishedon>2021-01-28 13:05:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to create a File Type Field in CRM</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8326/How-to-create-a-File-Type-Field-in-CRM</link>
      <description>&lt;p&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Creating a File Type Field&lt;/p&gt;</description>
      <category>Dynamics 365</category>
      <category>file-upload</category>
      <category>Javascript</category>
      <category>powerapps</category>
      <category>Javascript</category>
      <category>HTML 5</category>
      <category>Dynamics CRM</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8326/How-to-create-a-File-Type-Field-in-CRM</guid>
      <pubDate>Fri, 01 Jan 2021 05:16:00 GMT</pubDate>
      <blog:publishedon>2021-01-01 05:16:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to Create a PCF control</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8320/How-to-Create-a-PCF-control</link>
      <description>&lt;p&gt;Power Apps component framework empowers the developers to create code components for model-driven apps and canvas apps. With PCF, you can replace a field with some extra features like a rich text editor, a dial, a slider, etc. You can also replace a simple list with an interactive chart or Map.&lt;/p&gt;</description>
      <category>Dynamics 365</category>
      <category>Javascript</category>
      <category>pcf-control</category>
      <category>powerapps</category>
      <category>powerapps-component-framework</category>
      <category>TypeScript</category>
      <category>CSS</category>
      <category>Javascript</category>
      <category>HTML 5</category>
      <category>Dynamics CRM</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8320/How-to-Create-a-PCF-control</guid>
      <pubDate>Mon, 21 Dec 2020 08:29:00 GMT</pubDate>
      <blog:publishedon>2020-12-21 08:29:00Z</blog:publishedon>
    </item>
    <item>
      <title>MS CRM 2011 Retrieving Entity Type Code or ETC</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/232/MS-CRM-2011-Retrieving-Entity-Type-Code-or-ETC</link>
      <description>If you are looking to get the Entity Type Code or ETC (as it is generally known as) dynamically for any entity name in your&amp;nbsp;web resource&amp;nbsp;in MS &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt;, you should use the MetaData service to do so. The MetaData service in MS &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 will retrieve all the Meta&amp;nbsp;information&amp;nbsp;about an entity. This information includes the display name of the entity, the logical name of the entity and all other information about its relationship status etc. However the information that we are interested in here is the "ObjectTypeCode".&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
How to build your MetaData service? For building a MetaData&amp;nbsp;service you can use sample code provided in the &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; SDK itself. (samplecode\js\soapforjscript\soapforjscript\scripts). The name of the file is&amp;nbsp;sdk.metadata.js.&lt;br /&gt;
This javascript file has a function by name&amp;nbsp;RetrieveAllEntitiesAsync. This function fetches all the entities with with their MetaData&amp;nbsp;information. On success this function returns you&amp;nbsp;entityMetadataCollection. Now all you need to do is to loop over entities and get the Object Type Code. Please follow the code below to get the Object Type Code or ETC.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: 1px solid #7f9db9; overflow-y: auto;"&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;function&lt;/code&gt; &lt;code style="color: #000000;"&gt;successRetrieveAllEntities(entityMetadataCollection) {&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;span style="margin-left: 9px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;for&lt;/code&gt; &lt;code style="color: #000000;"&gt;(&lt;/code&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;var&lt;/code&gt; &lt;code style="color: #000000;"&gt;i = 0; i &amp;lt; entityMetadataCollection.length; i++) {&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;span style="margin-left: 18px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;var&lt;/code&gt; &lt;code style="color: #000000;"&gt;entity = entityMetadataCollection[i];&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;span style="margin-left: 18px !important;"&gt;&lt;code style="color: #006699; font-weight: bold;"&gt;var&lt;/code&gt; &lt;code style="color: #000000;"&gt;objTypeCode = entity.objectTypeCode;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;span style="margin-left: 9px !important;"&gt;&lt;code style="color: #000000;"&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000000;"&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This is a supported way of getting etc or ObjectTypeCode of an entity.&amp;nbsp;&lt;br /&gt;
Hope this helps.&amp;nbsp;</description>
      <category>Entity Type Code</category>
      <category>Javascript</category>
      <category>MetaData service</category>
      <category>MS CRM 2011</category>
      <category>ObjectTypeCode</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/232/MS-CRM-2011-Retrieving-Entity-Type-Code-or-ETC</guid>
      <pubDate>Fri, 19 Apr 2013 08:06:00 GMT</pubDate>
      <blog:publishedon>2013-04-19 08:06:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to set background colour and remove border of a field in CRM 2011 using JavaScript?</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/247/How-to-set-background-colour-and-remove-border-of-a-field-in-CRM-2011-using-JavaScript</link>
      <description>&lt;p&gt;How to set background colour and remove border of a field in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 using JavaScript.
The following function can be used to set the background colour and remove border of a field.
function setBgColorandRemoveBorder(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Hide border of field in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById("fieldName").style.border="0px";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Set background colour of text field in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.getElementById("fieldName").style.backgroundColor = "#f6f8fa";
}
How to remove a Picklist Item using javascript?
The following function can be used to remove a picklist item with a particular text from an OptionSet.
function hideItemFromPiclist(fieldName, textValue){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var picklist = document.getElementById("fieldName");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(var i = picklist.options.length - 1; i &amp;gt;= 0; i--){&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/p&gt;</description>
      <category>Javascript</category>
      <category>MS CRM 2011</category>
      <category>CSS</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/247/How-to-set-background-colour-and-remove-border-of-a-field-in-CRM-2011-using-JavaScript</guid>
      <pubDate>Fri, 18 Jan 2013 09:31:00 GMT</pubDate>
      <blog:publishedon>2013-01-18 09:31:00Z</blog:publishedon>
    </item>
    <item>
      <title>Useful Javascript Function in CRM 2011</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/250/Useful-Javascript-Function-in-CRM-2011</link>
      <description>&lt;p&gt;How to Show/Hide field in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 Using Javascript function?
The following code can be helpful to Show/Hide field in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 Using Javascript function.&amp;nbsp;
function HideShowField(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Hide the field.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Xrm.Page.ui.controls.get("fieldName").setVisible(false);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Show the field.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Xrm.Page.ui.controls.get("fieldName").setVisible(true);
&amp;nbsp;}
How to make Disable/Not Disable field in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 using Javascript function?
The following code can be helpful to make Disable/Not Disable field in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 Using Javascript function.
function SetDisableField(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var field = Xrm.Page.getControl("fieldName");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// if field is available on the form then make disable of the field.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(field){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/p&gt;</description>
      <category>Javascript</category>
      <category>MS CRM 2011</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/250/Useful-Javascript-Function-in-CRM-2011</guid>
      <pubDate>Tue, 06 Nov 2012 09:39:00 GMT</pubDate>
      <blog:publishedon>2012-11-06 09:39:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to populate a parent form lookup field value in a child form without using fetch xml in CRM 2011</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/256/How-to-populate-a-parent-form-lookup-field-value-in-a-child-form-without-using-fetch-xml-in-CRM-2011</link>
      <description>&lt;p&gt;If we want to retrieve data of a lookup field of parent form in a child form lookup field then we can use very easy javascript code without fetch xml in &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011.
&amp;nbsp;
Let your parent form entity be Case(Incident) in which we need to retrieve a field name Customer of type&amp;nbsp;&amp;nbsp; lookup (Having two types of values i.e. contact and account) in this lookup field.
&amp;nbsp;
The child&amp;nbsp; entity name casetask&amp;nbsp;&amp;nbsp; having 1:N relationship(Case to Case task) and&amp;nbsp; Casetask entity has a lookup field of&amp;nbsp; Customer Contact in Casetask form so we can retrieve the custtomer data which is filled in Case entity(Customer field)&amp;nbsp; in the Casetask entity (Customer Contact&amp;nbsp; field )
&amp;nbsp;
So we can use&amp;nbsp; following&amp;nbsp; javascript code.
&amp;nbsp;
Define the function SETVALUE()
function SETVALUE()
{
&amp;nbsp;&amp;nbsp;if (Xrm.Page.ui.getFormType() == 1)&amp;nbsp; //Check if&amp;nbsp; form is in create mode
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var oType =&lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;crm&lt;/a&gt;Form.ObjectTypeC ...&lt;/p&gt;</description>
      <category>Javascript</category>
      <category>MS CRM 2011</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/256/How-to-populate-a-parent-form-lookup-field-value-in-a-child-form-without-using-fetch-xml-in-CRM-2011</guid>
      <pubDate>Thu, 25 Oct 2012 09:49:00 GMT</pubDate>
      <blog:publishedon>2012-10-25 09:49:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to call a web service using jquery?</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/255/How-to-call-a-web-service-using-jquery</link>
      <description>&lt;p&gt;JQury is a really powerful library which can be used to do many task. Its moto is do more write less to do more.
In this post I will explain you how to call a Webservice using JQuery. &lt;/p&gt;</description>
      <category>Javascript</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/255/How-to-call-a-web-service-using-jquery</guid>
      <pubDate>Thu, 25 Oct 2012 09:48:00 GMT</pubDate>
      <blog:publishedon>2012-10-25 09:48:00Z</blog:publishedon>
    </item>
    <item>
      <title>How to add JQuery support to CRM 2011?</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/252/How-to-add-JQuery-support-to-CRM-2011</link>
      <description>&lt;p&gt;Last night I spent couple of hours trying to debug a JQuery code in MS &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 which was not working as expected. After debugging I realized that JQuery native support is not available in microsoft &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011. This was the exact reason why the Javascript was unable to recognize &amp;lsquo;$&amp;rsquo; symbol and ribbion stopped showing on &lt;a href="https://www.xrmlabs.com/Services/Custom-Implementation"&gt;CRM&lt;/a&gt; 2011 page. &amp;nbsp;The easiest way to get this working is by creating a web resource and adding Jquery min file to it.&lt;/p&gt;</description>
      <category>Javascript</category>
      <category>JQuery</category>
      <category>MS CRM 2011</category>
      <category>Javascript</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/252/How-to-add-JQuery-support-to-CRM-2011</guid>
      <pubDate>Thu, 25 Oct 2012 09:42:00 GMT</pubDate>
      <blog:publishedon>2012-10-25 09:42:00Z</blog:publishedon>
    </item>
  </channel>
</rss>