Any importable CRM solution holds within the *.zip file a component named solution.xml. In order to edit this, you need a better understanding of the <RootComponent> nodes (type attribute). For a complete list of root component types, you can use the following SQL statement: SELECT AttributeValue as Type, Value as [Root Component] FROM StringMap WHERE… Continue reading Solution Component Types
Tag: 2015
Create New Entity from related entity via Ribbon – CRM 2013 & CRM 2015
The fastest way to create a new child record for the current entity using a custom ribbon button, is the following approach: Pass the following parameters to your custom javascript function called CreateNewCRMEntity (for example), as shown in the below image: The next step is to use the following code: function CreateNewCRMEntity(selectedentitytypecode, primaryentitytypecode, firstprimaritemid, PrimaryControl,… Continue reading Create New Entity from related entity via Ribbon – CRM 2013 & CRM 2015
Microsoft Dynamics CRM 2015 Overview
A quick review about the latest version of Microsoft Dynamics CRM can be found here.
Activity typed Entity – Display in Activity Menus
Upon creating a custom entity as Activity Entity and not checking the “Display in Activity Menus” option, there is no supported way to alter this. However, here is the unsupported approach (in SQL): UPDATE Entity SET ActivityTypeMask = 1 WHERE EntityId = (SELECT EntityId FROM Entity WHERE Name = ‘custom_entity_schema_name’) After this minor adjustment, a… Continue reading Activity typed Entity – Display in Activity Menus
Fixing Ajax “No Transport” error
Sometimes, making an $.ajax request to a web service might return the “No Transport” error, if the web service is hosted in a different domain. To solve this issue, you need to set the CORS support on true: $.support.cors = true; before you make the $.ajax request and the following property on the request level:… Continue reading Fixing Ajax “No Transport” error
WCF Service Bindings – web.config
When creating a web service, the following configured bindings should be taken into consideration, based on the endpoint you are using (soap, rest etc.), to avoid large parameter structures not being processed or timeout issues: Also, the following runtime tag should look like this: Another best practice to avoid potential “System.InvalidOperationException: The JSON request was too large… Continue reading WCF Service Bindings – web.config