Skip to main content

Notifications

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

  • Altaf Haider Taqvi Profile Picture
    95 on at
    RE: How to get home grid selected records by using javascript

    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.  

  • Miguel Lourenco Profile Picture
    on at
    RE: How to get home grid selected records by using javascript

    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

  • Suggested answer
    Miguel Lourenco Profile Picture
    on at
    RE: How to get home grid selected records by using javascript

    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.

  • Altaf Haider Taqvi Profile Picture
    95 on at
    RE: How to get home grid selected records by using javascript

    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
    RE: How to get home grid selected records by using javascript

    Hi Altaf,

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

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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 106

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

Overall leaderboard

Product updates

Dynamics 365 release plans