Category: CRM 2013

CRM Online – Source CRM Version

While Exporting the solution in CRM Online there is a new option that shows “Source CRM Version”. As of now this particular option has two values 6.0 and 6.1.

  • 6.0 Signifies Dynamics CRM 2013
  • 6.1 Signifies Dynamics CRM 2013 Service Pack 1

image

Make sure that you are exporting the correct version as required in the target system otherwise it may lead to solution import failure.

HTML Web Resource in CRM

In Microsoft Dynamics CRM HTML web resource we have Xrm.Page.context parameter from where you can get different information about your CRM/Page etc…

image

This gives an impression that we will have access to all other XRM scripting properties like Xrm.Page.data etc… but that is not the case.

I was having requirement to get the record ID and found given msdn document. Which tells you can pass the records as parameters.

http://msdn.microsoft.com/en-in/library/gg309536.aspx#BKMK_PassingParametersToWebResources

How to Do It:

Go to Web resource Properties in form Editor, Select given check box.

image

You will be able to get the record id in URL.

Pre Check Box Checked

image

Post Check Box Checked (there is a whole lot of stuff as given in msdn)

image

Fetching Data from Query String GetQueryString(“id”) will give you the record id. Similarly you can fetch other values as well.

[code language=”javascript”]
function GetQueryString(key) {
var resourceUrl = document.location.href;
var queryList = resourceUrl.split(/[?&]+/);
for (i = 0; i < queryList.length; i++) {
pair = queryList[i].split("=");
if (pair[0] == key) {
return pair[1];
}
}
}
[/code]

FetchXML Report Record Count Limits Demystified – Reblogged

Having a record limit of 5000 on FetchXML improves performance becomes a pain when you are working with a FetchXML report in online.

Supposedly there in no such limit in when you are working with FetchXML report in online scenario. I tries it with 5000+ records and it worked fine.

Will try it out with 100,000+ records and let you know.

http://blog.customereffective.com/blog/2011/10/fetchxml-report-record-count-limits-demystified.html