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.
Solved! Go to Solution.
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);
};
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.
Power Apps Portals Super User
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);
};
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.
Power Apps Portals Super User
I am glad to help 😉 😉 😉
Power Apps Portals Super User
Is it possible to have "like" button in the grid and make it "count the likes" from users ?
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:
Power Apps Portals Super User
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?
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...
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
Power Apps Portals Super User
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.