- 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
yesterday
Hi @Ankur Bawiskar ,
I have tried the method you mentioned, and it works well in the native view. However, it is not working in the workspaces. My requirement is to display an info message in the workspace (CSM Workspace and SOW Workspace) when the attachment icon is clicked.
I would appreciate your assistance with this.
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Ankur Bawiskar ,
I have tried the method you mentioned, and it works well in the native view. However, it is not working in the workspaces. My requirement is to display an info message in the workspace (CSM Workspace and SOW Workspace) when the attachment icon is clicked.
I would appreciate your assistance with this.
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
it's not going to work in workspace as workspace don't use UI page etc for attachment popup.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Ankur Bawiskar ,
Thank you for your reply. Could you please assist me in making it work in the workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Not feasible or you will have to explore how the attachment popup works in workspace or identify the component behind that.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader