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.
On hover of this field, I need to retrieve description value and show.
Solved! Go to Solution.
Hi, I can think of two options of achieving this, both require JS:
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:
$(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)
});
});
};
Power Pages Super User | MVP
Hi, I can think of two options of achieving this, both require JS:
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:
$(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)
});
});
};
Power Pages Super User | MVP
If we are multiple views, Hiding column and setting tooltip is working in default view. what to be done for other views.
hi @Malasri I just did a test myself and it worked for both views. Can you share your code + snapshots?
Power Pages Super User | MVP
Thanks!!!!! It is working fine