title: XRMServiceToolkit is not working as Expected after upgrading MS Dynamics CRM 2015 to 2016
body: <p>I have upgraded MS CRM 2015 to 2016 and it is working fine. We are using XRMServiceToolkit(2.2) javascript library to fetch data from server.</p>
  
  <p>The main problem is we are getting logical name in name attribute and logical name is blank, whereas earlier we use to get value of the field in name attribute and field name in logical name. Please refer the screenshot for better understanding.
  Below is the screenshot from MS CRM 2016 :
  <a href="https://i.stack.imgur.com/ctSjX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ctSjX.png" alt="enter image description here"></a></p>
  
  <p>Below is the screenshot from MS CRM 2015 :
  <a href="https://i.stack.imgur.com/rLArS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rLArS.png" alt="enter image description here"></a></p>
  
  <p>I have searched online but couldn't find anything related to this. I tried making change in the library but it lands up into other errors. If I check the XML response from the server in 2015 :</p>
  
  <pre><code>&lt;b:value i:type="a:EntityReference"&gt;
  &lt;a:Id&gt;0698841a-e9cf-e511-9420-fcaa14b7a801&lt;/a:Id&gt;
  &lt;a:LogicalName&gt;ccs_category&lt;/a:LogicalName&gt;
  &lt;a:Name&gt;MORTGAGE&lt;/a:Name&gt;
  &lt;/b:value&gt;
  </code></pre>
  
  <p>in 2016 :</p>
  
  <pre><code>&lt;b:value i:type="a:EntityReference"&gt;
  &lt;a:Id&gt;0698841a-e9cf-e511-9420-fcaa14b7a801&lt;/a:Id&gt;
  &lt;a:KeyAttributes xmlns:c="http://schemas.microsoft.com/xrm/7.1/Contracts" /&gt;
  &lt;a:LogicalName&gt;ccs_category&lt;/a:LogicalName&gt;
  &lt;a:Name&gt;ORGANIZATION&lt;/a:Name&gt;
  &lt;a:RowVersion i:nil="true" /&gt;
  &lt;/b:value&gt;
  </code></pre>
  
  <p>I think this could be a reason for this problem but I don't know how to resolve it.</p>