We working on customer portal and using Entity List.
Is there a way to add custom button to each row of the entity list like Item Action in grid configuration.
*This post is locked for comments
We working on customer portal and using Entity List.
Is there a way to add custom button to each row of the entity list like Item Action in grid configuration.
*This post is locked for comments
I had used this code to add custom button and it worked for me, you can make required changes as you need
$(document).ready(function () {
$(".entitylist.entity-grid").on("loaded", function () {
$(this).children(".view-grid").find("tr[data-id]").each(function (i, e){
var id = $(this).attr("data-id");
console.log(id);
$(this).append("<td><a href='/download-transaction-receipt?id=" + id + "'>Download</a></td>");
});
});
});
Thanks for the suggestion.
you will need to create 2 Entity Forms for this
- 1 read-only for viewing the details
- 1 edit (I would suggest leaving just an ID/Name or something and the Comment box)
add the entity forms into the entity list configuration.. the same link that I sent in the previous answer
we want button to add comments to that entity and another button to show details of that paticular entity.
what is the button supposed to do? you can easily setup it to trigger a Workflow in CRM
please refer to Entity List Configuration topic:
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
dkrishna
6