web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

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

(0) ShareShare
ReportReport
Posted on by 277

Hello Team,

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

TimeShee.png

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);

}

I have the same question (0)
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at

    Hello Ashik,

    Please refer Article which will help you to understand this issue.

    community.dynamics.com/.../get-selected-record-information-from-main-view-or-a-subgrid-in-dynamics-365

    Thank you,

    Amit Katariya

    Please mark it as Verified, if your issue is resolved.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans