CRM 4.0 Useful FetchXML Javascript Helper

Hi again,

Although most of you would say CRM 4.0 is outdated, but unfortunately some companies are still using them :) (I know we are in the process of migrating).

However just want to let you know I found a post here that provides useful javascript function to retrieve record through fetchXml. It is useful for let's say based on the lookup id you want to get all the attributes and populate other fields in the form.

I have extended that function so you will be able to get attribute lookup name as well (if you want to populate a lookup field).


To use it you can do something like this:


Hope this helps,
Andreas

Comments

Popular posts from this blog

SharePoint 2013 anonymous access add attachments to list item

CRM Plugin - Parent and Child Pipeline

Sitecore custom publish agent from specific node and at a specific time