How to customize the tooltip of preview icon in Service Portal .. ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2019 02:24 AM
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.
As in the picture, I need to change the tooltip 'Click to preview Suryamol.s' to a custom message.
Thanks,
Surya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2019 02:29 AM
Hi
Check the below link for reference,
Regards,
Omkar Mone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2019 02:52 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2019 02:44 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2019 02:50 AM
Hi Ashutosh,
Thanks for your reply.
I need to show the tooltip in portal end for a reference variable in catalog item.
Thanks,
Surya