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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to get home grid selected records by using javascript

(0) ShareShare
ReportReport
Posted on by 95

I have a requirement in which selected records columns value should be come without using odata or fetch xml

I have the same question (0)
  • Suggested answer
    Miguel Lourenco Profile Picture
    on at

    Hi Altaf,

    Not sure if I understand what you want but have you checked

    docs.microsoft.com/.../dn932126(v=crm.8)

  • Altaf Haider Taqvi Profile Picture
    95 on at

    Hi Miguel,

    i want to say that  got home grid selected records details on a custom button click without using Odata and fetch Xml and every selected row's column's value should be get. can i do this.

  • Suggested answer
    Miguel Lourenco Profile Picture
    on at

    Hi Altaf,

    With the documentation I've sent you, yes I believe you can accomplish that. Just create a button with Ribbon Workbench tool and inside the button's command java script add a function with the documentation provided.

  • Miguel Lourenco Profile Picture
    on at

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

    but instead of getting only one selected record you replace the code to get all selected rows

  • Altaf Haider Taqvi Profile Picture
    95 on at

    Hi Migual,

    Thank for answer, but this documentation will not accomplish my requirement as this documentation would provide me only selected record's GUID and entity name and type but as per my requirement selected all row's value should be get.  

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans