How to customize the tooltip of preview icon in Service Portal .. ?

suryamol_s
Kilo Guru

Hi All,

I need to customize the tooltip coming on mouse over of preview icon of a reference field in portal end. I am not able to find any workaround in docs, google and community.

find_real_file.png

 

As in the picture, I need to change the tooltip 'Click to preview Suryamol.s' to a custom message.

Thanks,

Surya

 

4 REPLIES 4

Omkar Mone
Mega Sage

Hi Omkar,

Thanks for your reply.

I am not able to use the code mentioned in above link because we are calling all variables in an item as a whole in catalog item widget. So I am not sure how can we add this code for a single variable. Also I need to add the tooltip in portal end.

Thanks,

Surya

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

You can do it using a code in widget. but this is not recommended to use.

 

Code in above link ie.:

var elem = document.getElementById('lookup.u_user_information.u_select_company');

 

elem.children[0].title = 'Custom Help';

 

It is not supported on portal. If has to be done by modifying the widget. This will have implications when upgrading and maintenance will be increased.

Thanks,
Ashutosh

Hi Ashutosh,

Thanks for your reply.

I need to show the tooltip in portal end for a reference variable in catalog item.

Thanks,

Surya