Editable Grid – Dynamics 365 – MS CRM

Hi Guys, I have been hearing that Microsoft have introduced  Editable grids in Dynamics 365, Finally i kept hands on to give an attempt and composing this Post. Here are some intriguing things about Editable grid,   Inline editing of records at the entity or sub-grid level Web and mobile clients Navigation using a keyboard or mouseContinue reading “Editable Grid – Dynamics 365 – MS CRM”

Common Error – Bad request when using Web API CRM 2016

Hi, I have come across an error while using web API, I was trying to retrieve and update values from one of entities.   Below is the API request. var id = Xrm.Page.data.entity.getId(); var entity = {}; entity.statecode = 1; entity.statuscode = 2; var req = new XMLHttpRequest(); req.open(“PATCH”, Xrm.Page.context.getClientUrl() + “/api/data/v8.0/quotes(” + id +Continue reading “Common Error – Bad request when using Web API CRM 2016”

Get Entity Type Code by Name from Javascript – CRM 2015/2016

Hi, There is a very easy way to get Entity Type Code by Name like below var entityTypeCode = Mscrm.EntityPropUtil.EntityTypeName2CodeMap[“lead”];   this will be really helpful when you try opening a CRM form or window. I have tested this in both CRM 2015 and 2016 which worked as charm. Credits to : https://blog.hompus.nl/2015/05/28/entity-type-code-using-javascript-only/ Thank you, Sreeni Pavalla