I am using following code snippet to access the field value of Tickets on Hand in Ticket Inventory (custom entity) from Ticket Request (another custom entity). I've cross checked But it throws exception that is undefeind. Any help?
function onChangeTicketRequested(){
try{
var ticketsOnHand = Xrm.Page.getControl('TicketEventQuickViewForm_TicketEventQuickViewForm_new_ticketinventory_new_ticketsonhand');
var temp = ticketsOnHand.getAttribute(); //Exception line
}
catch(e){
alert("Error: "+e.Message);
}
}
*This post is locked for comments