- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2015 07:36 PM
Hi all,
I'm very new to the system Email functions.
I want to show a send email pop up when client click a button.
So I create an UI Action and research that there is a emailClientOpenPop() function in system.
New my obstacle is I have no idea where emailClientOpenPop() is, what are the parameters needed and how to call it from the UI Action Onclick/script.
Many thanks for any advise!
Winnie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2016 11:10 AM
Within the Onclick field on the UI Action, simply add:
emailClientOpenPop('table_name'); (ie, emailClientOpenPop('incident');)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2016 10:01 AM
Hi
Is there a way to use an email template in emailClientOpenPop?
Thanks
Patricia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2022 05:48 AM
This is working fine from a functional side. However, when using this, I get the following error in my browser console:
> Uncaught SyntaxError: Invalid or unexpected token
Obviously the browser does not like the backslash in the command
> window.emailClientOpenPop(\'incident\'); = emailClientOpenPop(\'incident\');;
I never put in the backslash there, but some escaping seems to be going on behind the scenes.
Anyone experienced the same and knows how to fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2023 11:31 PM
Hi,
Please follow the instructions from the below KB article to fix the console error :
https://support.servicenow.com/kb?id=kb_article_view&sys_kb_id=bdf04183db3cad10fd8d2b69139619af
Thanks,
Geethika G