- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2021 10:59 PM
Hi,
I want to set tooltip on a field value like when I hover on the field then the entire value inside the field should be displayed outside in the hover .How can I achieve this in the service portal
Thanks,
Phani
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2021 07:29 AM
Hi
You have to use the combination of ng-model and tool tip ,modify the widget like below
HTML
<div>
<br>
<br>
<input type="text" ng-model="greeting" data-toggle="tooltip" data-placement="right" title="{{greeting}}"/>
</div>
Client Script
api.controller=function($scope) {
/* widget controller */
var c = this;
$scope.toolTip2=$scope.greeting;
};
Regards
Pranav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2021 11:39 PM
Hi there,
Have you tried the tooltip field on the Variable form lay-out?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2021 06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2021 01:19 AM
Please share screenshot of how it should be
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2021 06:50 AM