Skip to main content
Community site session details
Power Pages - Power Apps Portals
Answered

how add a new button in entity list

Like (0) ShareShare
ReportReport
Posted on 15 Aug 2020 13:52:16 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.

 

  • Verified answer
    oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 15 Aug 2020 at 15:52:32
    Re: how add a new button in entity list

    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.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Loading complete