// How to Get current record id using JavaScript?

var Id = Xrm.Page.data.entity.getId();

**For CRM 2011 Training, please check out our CRM Training page. Please share |Like in Facebook if you feel like this page is useful.
Advertisements