-
Continue reading →: Filtering partylist entities using jscript in CRM
In CRM, partylist Party List is a data type, using which you can set more than one type of entity records for a single field For example, In the ‘Appointment’ entity, field “requiredattendees” is a ‘Party List’ type We can select multiple records of different type (i.e., Accounts, Users,…
-
Continue reading →: Getting logged in user’s GUID in CRM reports
We can get the logged in user GUID in the custom reports deployed in CRM using “fn_FindUserGuid()” function Below is the sample query for the same DECLARE @currUserId UNIQUEIDENTIFIER SELECT @currUserId=dbo.fn_FindUserGuid() PRINT @currUserId 🙂
-
Continue reading →: Restart remote machine using command prompt
We can restart a remote machine if you are domain administrator. Consider a scenario Machine 1 & Machine 2 are part of Domain “XYZ.com”. Assume “Machine 1” hanged and not even letting you to Shut down or Restart. So to restart the machine 1, Login as administrator to “Machine 2”…
-
Continue reading →: XrmServiceToolkit for CRM 2011
XrmServiceToolkit is a JavaScript library which can be used for JavaScript Development under the platform for CRM 2011 environments. Download from Codeplex link http://xrmservicetoolkit.codeplex.com/ It contains single jscirpt file “XrmServiceToolkit.js” The library contains three major parts regarding functions. Common: General Methods used for various purpose. Rest: Organization Data Service functions…
-
Continue reading →: Plug-ins in CRM 2011 – Useful points
Plug-in stages Pre validation Registered Plug-in run before the form is validated Useful if you want to implement business logic before the actual validation starts. i.e., Changes made in plug-in won’t be saved if the validation of the main system plugins complain because the changes are outside the database transaction.…
-
Continue reading →: Activate or Deactivate record using jscript
Hi, Below is the script to Activate or Deactivate record using jscript. // ‘State’ – Activate 0; InActive 1 // ‘Status’ – Active 1; InActive 2 function ActivateOrDeactivate(entityName, entityId, status, state) { var setStateRequest = ‘<s:Envelope xmlns:s=”http://schemas.xmlsoap.org/soap/envelope/“>’ + ‘<s:Body>’ + ‘<Execute xmlns=”http://schemas.microsoft.com/xrm/2011/Contracts/Services” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance“>’ + ‘<request i:type=”a:UpdateRequest” xmlns:a=”http://schemas.microsoft.com/xrm/2011/Contracts“>’ + ‘<a:Parameters xmlns:b=”http://schemas.datacontract.org/2004/07/System.Collections.Generic“>’…
-
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 :-…


![[Step by Step] Beginner : Create a PCF control and add it to a custom page](https://rajeevpentyala.com/wp-content/uploads/2024/12/image-49.png)