Get Record ID of an entity using javascript inn microsoft dynamics CRM .
SOURCE : JUST2CODE.IN Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012
function Recordid() {
debugger;
var recordID = Xrm.Page.data.entity.getId();
var entityName = “new_entityname” ;
var urlcreation = “http://organizationame/main.aspx?
etn=” +entityName+ “&pagetype=entityrecord&id=” + recordID + “#127104932” ;
etn=” +entityName+ “&pagetype=entityrecord&id=” + recordID + “#127104932” ;
}
SOURCE : JUST2CODE.IN Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012