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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to show tooltip on...
Power Pages
Answered

How to show tooltip on text field in the Entity List by retrieving another text field of the record In Power Portal?

(0) ShareShare
ReportReport
Posted on by 9

I am having a case view entity list. In the case record there is a description field. In the view column Issue Summary single line of text field appears in the list. So when we hover on the Issue summary text, need to show the popup with description field value.

Malasri_1-1649141872824.png

 

On hover of this field, I need to retrieve description value and show.

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,471 Most Valuable Professional on at

    Hi, I can think of two options of achieving this, both require JS:

     

    1. Retrieve the description via API/Fetch, and inject the value as tooltip in the summary field (it can slow down the page) - you can see API documentation for more info: Portals read operations using the Web API - Power Apps | Microsoft Docs
    2. Add the description as a new column, and hide it via JS, then use it to inject as tooltip into the summary field (better performance, but just for a millisecond, the users might see the description field in the view) - I wrote an article a while ago on how to hide a list column: Power Apps Portals – JavaScript Tip #01 – Hide & Show Elements – Oliver Rodrigues (oliverrodrigues365.com)

     

    regardless of how you get the value, you will need JS to inject it to the summary column, I have a list with Accounts and will write a simple example retrieving the "Phone" field, and inject as tooltip into the primary contact:

    OliverRodrigues_0-1649153887142.png

     

     

    $(document).ready(function(){
     SetTooltip();
    });
    
    SetTooltip = function () {
     
     var list = $(".entitylist.entity-grid").eq(0);
     
     list.on("loaded", function () {
     list.find("table tbody > tr").each(function (index, tr) {
     var tooltipText = $(tr).find("td[data-attribute=telephone1]").text()
     $(tr).find("td[data-attribute=primarycontactid]").attr("title",tooltipText)
     });
     });
    };
    
  • Malasri Profile Picture
    9 on at

    If we are multiple views, Hiding column and setting tooltip is working in default view. what to be done for other views.

  • oliver.rodrigues Profile Picture
    9,471 Most Valuable Professional on at

    hi @Malasri I just did a test myself and it worked for both views. Can you share your code + snapshots? 

  • Malasri Profile Picture
    9 on at

    Thanks!!!!! It is working fine

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

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 55

#2
11manish Profile Picture

11manish 48

#3
Valantis Profile Picture

Valantis 46

Last 30 days Overall leaderboard