Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Add custom button to rows of entity list.

    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

  • Rahul Jangda Profile Picture
    42 on at
    RE: Add custom button to rows of entity list.

    Thanks for the suggestion.

  • Verified answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Add custom button to rows of entity list.

    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
    RE: Add custom button to rows of entity list.

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

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Add custom button to rows of entity list.

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans