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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Add custom button to rows of entity list.

(0) ShareShare
ReportReport
Posted on by 42

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 have the same question (0)
  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    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:

    docs.microsoft.com/.../add-webpage-render-list-records

  • Rahul Jangda Profile Picture
    42 on at

    we want button to add comments to that entity and another button to show details of that paticular entity.

  • Verified answer
    oliver.rodrigues Profile Picture
    4,052 on at

    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

  • Rahul Jangda Profile Picture
    42 on at

    Thanks for the suggestion.

  • Suggested answer
    Community Member Profile Picture
    on at

    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>");

         });

      });

    });

    pastedimage1596605550060v2.png

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

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans