Crea sito

Tag Archives: CRM Javascript

CRM Javascript – Get current record ID

Javascript allows to customize the behaviour of an entity form. Sometimes you  need to know the id of the current record. In Microsodt Dynamics CRM 2011/2013/2015 you can get the current record id (Guid) using the following code:

CRM Javascript – Save an entity form

Sometimes is useful to save an entity form using Javascript. To save the entity form in Microsoft Dynamics CRM 2013/2015 you have to use the following code:;

CRM Javascript – Get and set a lookup field

In Microsoft Dynamics CRM it’s possible to link records together using relashionships. You can see an example of lookup field creating a 1:N relashionship between two entities. In the forms you are able to put a grid (of the related records) on the first entity and a lookup field (a reference to the first entity) read more »