CRM 2011 + Using Javascript to get Id of the record open in Form.


In CRM 2011 sometimes we need the id of the record that is opened for doing some manipulation.
This can be achieved in javscript by the following line of code.

Xrm.Page.data.entity.getId()
Advertisements

One thought on “CRM 2011 + Using Javascript to get Id of the record open in Form.

  1. odoo sistemos programavimas

    An impressive share! I’ve just forwarded this onto a coworker who has been conducting a little homework
    on this. And he actually bought me dinner simply because I
    discovered it for him… lol. So allow me to reword this….

    Thank YOU for the meal!! But yeah, thanks for spending the time to talk about this matter here on your site.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s