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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / how add a new button i...
Power Pages
Answered

how add a new button in entity list

(0) ShareShare
ReportReport
Posted on by 62

Hi All,

 

I have a Entity List, on that i need to add a custom button beside of Create button and redirect to a link.

Please suggest. Thank you.

 

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,449 Most Valuable Professional on at

    Hi @SunilR 

     

    You can achieve that by adding a JavaScript code into your Web Page

     

    First you have to define your button, in the below example I am created the variable myCustomButton and kind of copying what the create button looks like, you can always change colors, or do anything here.

    Finally you need to append (to show after) or prepend (to show before) the create button:

     

     

    $(document).ready(function(){
    
     CreateCustomButton();
    });
    
    CreateCustomButton = function(){
     var myCustomButton = '<div class="input-group pull-left"><a href="http://bing.com" class="btn btn-primary pull-right action" title="My Link">My Link</a></div>';
     $(".toolbar-actions").append(myCustomButton);
     $(".toolbar-actions").prepend(myCustomButton);
    };

     

     

    custombutton.PNG

     

    hope this helps


    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • SuneelReddy Profile Picture
    62 on at

    Thank you @OliverRodrigues. You helped me so many times.

  • oliver.rodrigues Profile Picture
    9,449 Most Valuable Professional on at

    I am glad to help 😉 😉 😉

  • Multiz Profile Picture
    16 on at

    @OliverRodrigues 

    Is it possible to have "like" button in the grid and make it "count the likes" from users  ?

     

  • oliver.rodrigues Profile Picture
    9,449 Most Valuable Professional on at

    Hi @Multiz there is no OOB function for that, at least not for regular records from OOB entities or custom entities

     

    there are a few ways to implement this:

     

     

  • yabela Profile Picture
    53 on at

    What if you need to add a custom button within the grid (i.e. it shows for each record not next to the Create button at the top of the list) that when clicked, it calls a Power Automate Flow and passes the record's ID? Any ideas?

  • oliver.rodrigues Profile Picture
    9,449 Most Valuable Professional on at

    Hi @yabela 

    For triggering Power Automate flows you can take a look at this article: How to Trigger Power Automate Flow from Power Apps Portals (alphabold.com)

    You can add links to your list in many different ways, one example you can find here: http://oliverrodrigues365.com/2020/05/24/power-apps-portals-generate-and-download-word-document-from-an-entity-list/

    This seems to be an old thread, if you need any more info, I would recommend creating a new thread in the forum

     

    thanks

    oliver 

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 35 Most Valuable Professional

Last 30 days Overall leaderboard