Skip to main content

Notifications

Community site session details

Community site session details

Session Id : JvMnsEYzFDQCDZceOJF6E9
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 15

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics

Loading started
Loading complete