How can we get selected Record value using button click in D365 Ribbon

0
57
Forum Post: Change the Filter On option on Opportunity Associated View for Account form


Hello Team,

How can we get selected Record value using button click in D365 Ribbon 

I write Below Code but only GUID is alert other filed value is not dispaly

I passed  selectedEntityRefs is a parameter in Ribbon

function approvalHardbookWarningHome(selectedEntityRefs)
{

var notificationTime = 5000;
var WARNING = “WARNING”;

alert(“Id: ” + selectedEntityRefs[0].Id);
alert(“Message: ” + selectedEntityRefs[0].ispl_warningmessage);

}



Source link

Leave a reply

Please enter your comment!
Please enter your name here