We have rolled out an new Developer Center for Microsoft Dynamics CRM: http://crmdevelopercenter.com

With this site we have:

  • Responsive design so it displays well on mobile devices
  • CRM Product branding that extends to our MSDN Library content
  • Search that is filtered so that it delivers results for our CRM content rather than all of MSDN
  • A much more modern look and feel

We are looking forward to expanding the content you can find on this site so you can find everything you need to write code for Microsoft Dynamics CRM.

6. CRM 2015 – Javascript – Opening an Entity Form from Javascript

Here is a link to the MSDN topic: https://msdn.microsoft.com/en-us/library/jj602956.aspx#BKMK_OpenEntityForm

7.  CRM Developer Toolkit Alternatives

Have you ever tried to use the current CRM Developer toolkit with Visual Studio 2013? No way, it doesn’t work! To handle this issue you have some workaround:

Getting the CRM Developer toolkit working with Visual Studio 2013

Or have some alternatives… please read the full article.

8) New Open Source Project Aims to Fill Microsoft Dynamics CRM 2015 Developer Toolkit Gap

With the release of Dynamics CRM 2015, Microsoft has stalled on providing an updated version of its CRM developer toolkit for Visual Studio. While developers can carry on with CRM 2015 projects, they do so with fewer tools to help in creating plug-ins, custom workflows, and other add-ons.

To fill the gap, Dynamics CRM MVP and Senior Technical Architect at PowerObjects Jason Lattimer has created a new set of templates for Visual Studio that could potentially replace the old developer toolkit.

Lattimer told MSDynamicsWorld.com a bit about the problem as well as his project, which he has just published to Github as Dynamics CRM Developer Extensions.

“Prior to CRM 2015 Microsoft shipped the CRM developer toolkit with the SDK documentation, which provided developers some templates to help them get started coding against CRM,” he says. “Unfortunately they stopped including this with CRM 2015 and the previous versions weren’t designed to work with the latest versions of Visual Studio.”

9) https://msdn.microsoft.com/en-us/library/gg327828.aspx#BKMK_getFormType – MSDN

10)  How to Open Quick Create form in Dynamics CRM 2015 Online Update 1

You might be aware of how to open CRM entity form using javascript function that was introduced in Dynamics CRM 2013 i.e. Xrm.Utility.openEntityForm()

If you are not then you can refer our blog about this feature here. We use openEntityForm function to open blank entity form or entity form with pre populated values.

In CRM 2013 there was new feature introduced called Quick Create Form, using quick create form user can quickly create new record by staying on the same page.

The quick create form opens as below,

form

And there was no function or an option to open such quick creates form programmatically.

Sometimes we may need to open Quick create form programmatically. Microsoft has introduced new function in Dynamics CRM 2015 Online Update 1 to open quick create form same as open entity form.

This blog will illustrate how to open Quick create form.

Now there is one function available under Xrm.Utitlity called ‘openQuickCreate’ that open entity open form as shown in above screen shot.

Syntax,

Xrm.Utility.openQuickCreate(entityLogicalName,createFromEntity,parameters).then(successCallback, errorCallback);

Here,

entityLogicalName: Accept string value. Pass logical name of entity for which we need to open quick create form,

createFromEntity: Accept a lookup object, Pass lookup object that will provide default values based on mapped attributes values.

parameters: Accept a object, pass extra querystring parameters. We can pass field values as a parameter to set field values on the quick create form.

successCallback: This is a function that will call when record is created. It returns a lookup object of created record.

errorCallback: This is a function that will be called when error occurred. It returns errorCode and message.

From all above parameter only entityLogicalName is required and others are optional.

Below is an example where we will open Quick Create form to create a new child account from account entity form with some pre populated values.

//lookup object of current account record

var parrentAccount = {

entityType: “account”,

id: Xrm.Page.data.entity.getId()

};

var parameters = { name: “Child account of ” + Xrm.Page.getAttribute(“name”).getValue(), address1_postalcode: Xrm.Page.getAttribute(“address1_postalcode”).getValue() };

Xrm.Utility.openQuickCreate(“account”, parrentAccount,parameters ).then(function (lookup) { successCallback(lookup); }, function (error) { errorCallback(error); });

function successCallback(lookup)

{

window.console.log(“lookup: ” + lookup.savedEntityReference.id);

}

function errorCallback(e){

window.console.log(“Error: ” + e.errorCode +” “+e.message);

}

Above code opens a quick create form with auto populating name and postal code from parent account.

form1

The successCallback() calls when you save the record.

11) Compatibility with Microsoft Dynamics CRM MS CRM 2011, 2013, 2015

12)   Plugin Running Async

…  Register plugins to run sychronously, if you need the transaction to rollback on plugin exception and need to validate certain criteria for the core operation to succeed. If you don’t need these features, use a workflow.

13) Fix Filtered Related Lookup Not Working in CRM Mobile Apps

14) Do You Speak FetchXML

15) CRM 2015 Performance Toolkit Released – https://github.com/Microsoft/CRM-Performance-Toolkit

16) ExecuteTransactionRequest: Creating Atomicity of a Transaction in Dynamics CRM 2015

17) Identify the trigger for an On-load event for Sub-grid in Dynamics CRM

18)  How to Load Data from External Web Services to Dynamics CRM Using CData SSIS Components

18.1) Migrate Data from Salesforce to Dynamics CRM Using CData SSIS Components

19) Filtering PartyList Fields with JavaScript: The addPreSearch Method Joins the Party