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.
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.
Fubar
62
Super User 2025 Season 2
Lucas001
48
Super User 2025 Season 2
KevinGador
44
Super User 2025 Season 2