Author Archives: admin
How to read XML file in Dynamics CRM 2011 using Javascript.
In Dynamics CRM 2011, we could maintain the XML files using web resource utility, which is a very good feature. It could be read using Javascript which is also maintained in the web resources of Dyanmics CRM 2011.You could make … Continue reading
How to retrieve the Selected Record Ids of a subgrid in Dynamics CRM 2011 using Javascript.
To retrieve the selected records of a subgrid in dynamics crm 2011 just write down below code in your javascript function. var accountContactsGrid= document.getElementById(“accountContactsGrid”).control; var selectedids = gridControl.get_selectedIds();
How to retrieve current User Id in Dynamics CRM 2011 using Javascript.
Only you need to write below code in your javascript function to get current user Id: var currentUserId = Xrm.Page.context.getUserId();
How to decide IFD deployment of Dynamics CRM 2011 Environment?
When Dynamics CRM 2011 was released, most deployments were strictly on-premise deployments with access restricted to users on the company network or VPN. However, with the changing landscape of how people work, the consumerization of IT, and the upcoming changes … Continue reading
How to pass parameters and get return values for Multithreaded Procedures using C#
Supplying and returning values in a multithreaded application is complicated because the constructor for the thread class must be passed a reference to a procedure that takes no arguments and returns no value. Parameters for Multithreaded Procedure The best way … Continue reading
How to configure mobile express in Dynamics CRM 2011
Mobile Express is installed by default at no extra cost. In Dynamics CRM 2011 the Mobile Express configuration exists within each entity. For example, if you want to enable Accounts for Mobile Express, go to Settings –> Customization –> Customize … Continue reading
How to write basic Plugin in Microsoft Dynamics CRM 2011.
A plug-in is custom business logic that you can integrate with Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online to modify or augment the standard behavior of the platform. Plug-ins are event handlers since they are registered to execute … Continue reading
How to create a sample account in Salesforce using Salesforce API
Step 1: First create the salesforce API. Please refer to my my previous post. Step 2: Try this sample code: //Verify that we are already authenticated, if not //call the login function to do so try { Account account; sObject[] … Continue reading
How to use Early Binding and LINQ to query entity details in Dynamics CRM 2011
Early Binding The CRMSvcUtil can generate the LINQ Service Context by providing the optional tag: /serviceContextName:CrmDataContext The LINQ Service Context that is produced by taking this approach is a gateway to the work with the LINQ provider. When the CRMDataContext … Continue reading