-
Continue reading →: Fix – Unable to add custom Report to the Solution in CRM 2011
I have a custom SSRS report “ABC Report” in my CRM application. And, I wanted to include this report in my solution “My Reports” and export to another CRM organization But to my surprise, I did not find “ABC Report” when I choose “Solution -> Reports -> Add existing” Fix :-…
-
Continue reading →: Object doesn’t support this property or method XMLHttpRequest error – FIX
Hi, I was getting “object doesn’t support this property or method jquery” error when I was initializing var request = new XMLHttpRequest(); Reason :- This is a problem with Internet Explorer browser (ActiveX to be precise) Fix :- If the browser is detected as Internet Explorer, load ActiveX instead of…
-
Continue reading →: Checking whether user part of team using jscript CRM 2011
Hi, We can verify whether the User is part of particular Team using jscript. Below is the jscript function function isUserPartOfTeam(userId, teamId) { var oDataEndpointUrl = serverUrl + “/XRMServices/2011/OrganizationData.svc/”; oDataEndpointUrl += “TeamMembershipSet?$select=BusinessUnitId&$filter=TeamId eq guid’” + teamId + “‘ SystemUserId eq guid’” + userId + “‘”; var service = GetRequestObject(); if…
-
Continue reading →: Reading WCF client binding configurations from plug-in
In one of my requirement I have to call my custom WCF service method from plug-in. In this scenario my plug-in is WCF client and I have to read client binding configuration from plug-in. Below are the ways you can read the binding configuration details from plug-in Synchronous plug-in In case…
-
Continue reading →: Database ‘Org_MSCRM’ cannot be started in this edition of SQL Server because it contains a partition function ‘AuditPFN’ – Error while restoring organization
Hi, I got below error, when I was trying to restore an organization database from SQL server enterprise edition to SQL server developer / Data center editions Database ‘Org_MSCRM’ cannot be started in this edition of SQL Server because it contains a partition function ‘AuditPFN’. Only Enterprise edition of SQL…
-
Continue reading →: The maximum array length quota has been exceeded – Error in WCF service
Hi, I was getting below exception when I call a WCF service from my plug – in There was an error deserializing the object of type XYZ. The maximum array length quota (16384) has been exceeded while reading XML data Below was my requirement, I have to send emails with…
-
Continue reading →: “Query execution time exceeded the threshold” error in Plugins
Hi, In one of my requirement I was accessing SSRS service API from my plugin to render and read the report When the plugin execute the code, I was neither getting the expected result nor any error. To troubleshoot the problem I open the event viewer and I got a…
-
Continue reading →: Reading sub grid records using jscript in CRM 2011
Hi, In CRM 2011, we can show the related records in parent record form using sub grids. For example below is ‘Contacts’ sub grid on ‘Account’ form We can get the records count and read the cell values of sub grid using below script. function getSubGridDetails() { // Set subgrid…


