Skip to main content

Notifications

Community site session details

Community site session details

Session Id : T+Tq/nK1FcG/Phj7Suz5PL
Power Apps - Microsoft Dataverse
Answered

How to add custom button in subgrid?

Like (0) ShareShare
ReportReport
Posted on 16 Jun 2021 16:59:40 by

Hello everyone,

 

I have a custom entity Documents. 

We have documents subgrid in account entity. I want to add a button in subgrid and download the file from storage location on click of this button. 

 

Can i have custom button in subgrid as shown in below screenshots

a2387003-e229-4878-b8d4-96c48a146f5b.png

 

80d4e4be-2969-446d-a317-a0d3d11ce54f.png

And on click of this download button, the javascript should run and download the file to local machine. 

 

Is this achievable with standard subgrid? 

 

Thank you.. 

 

  • Verified answer
    EricRegnier Profile Picture
    8,714 Most Valuable Professional on 17 Jun 2021 at 09:26:27
    Re: How to add custom button in subgrid?

    Hi @Anonymous,

    Yes it's achievable based on you first screenshot, that is, to have the button on top of the subgrid. You can leverage the Ribbon Workbench from XrmToolbox: https://www.develop1.net/public/rwb/ribbonworkbench.aspx to perform the ribbon/button changes.

    To have the button placed in a column is not supported. If you absolutely want that then you'll need to revert to PCF to build a custom control: https://docs.microsoft.com/powerapps/developer/component-framework/overview 

    Hope this helps!

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 28

#2
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#3
LA-30040116-0 Profile Picture

LA-30040116-0 21

Overall leaderboard

Featured topics

Loading started