- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2019 07:50 AM
Hi All,
Can someone please help me how to display a pop-up message as soon as i clicked in attachment icon in technical view.
Below screenshot is for reference:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2019 08:18 AM
Hi Sri,
Here is the approach:
go to left navigation; search in ui pages with name as attachment
in the script add like this;
<script type="language/javascript">
$j( document ).ready(function() {
alert("Attachment Icon Clicked Disclaimer");
});
</script>
screenshot below:
when icon is clicked it should look like this; but caution that it would be a global change
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
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
05-07-2019 07:53 AM
Hi Sri,
That would require to have global change on attachment ui page.
What is your exact requirement? why you want to show the pop-up?
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
05-07-2019 08:00 AM
Hi Ankur,
Yes, It needs to globally enabled in UI Page.
We need to attach disclaimer(as a pop-up message) once the attachment icon is clicked.
PLease help where i need to add the code.
Thanks,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2019 08:18 AM
Hi Sri,
Here is the approach:
go to left navigation; search in ui pages with name as attachment
in the script add like this;
<script type="language/javascript">
$j( document ).ready(function() {
alert("Attachment Icon Clicked Disclaimer");
});
</script>
screenshot below:
when icon is clicked it should look like this; but caution that it would be a global change
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
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
05-07-2019 10:57 PM
Thanks Ankur!! 🙂