I created a new video on my YouTube channel Hosk CRM Dev and as you can see from the logo I have been a busy CRM bee.
https://www.youtube.com/user/hoskcrmdev
I highly recommend you visit the channel as there are lots of useful and interesting videos on CRM on things like Plugin Development, JavaScript, MB2-703 CRM 2013 Customization and Configuration study material, CRM 2013 Tool Reviews, quick tips and other stuff.
The video shows you how to get the guid from opening an account record and then getting the JavaScript debugger up and then getting the guid in both Chrome and Internet Explorer. Below is the JavaScript I used
Chrome
Xrm.Page.data.entity.getId()
Internet Explorer
frames[0].Xrm.Page.data.entity.getId()
I have the updated version of Sonoma Partners Javascript bookmarklet which shows the record GUID as well as schema name of entity and attributes in textbox for the user to easily copy. Check out the bookmarklet here.
http://madcomputerist.blogspot.com/2014/02/javascript-bookmark-to-show-logical.html
LikeLike