- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2019 10:15 PM
Hi I'm trying to use window object in UI Action but getting error: Uncaught TypeError: Cannot read property 'open' of null
please don't ask me to enable this: glide.script.block.client.globals. Let me know if we have any alternate options
function print(){
window.open("https://www.google.com","_blank"); // Uncaught TypeError: Cannot read property 'open' of null
}
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2019 01:27 AM
You can either add it on your list layout of UI Actions by configuring using the gear icon for personalizing list Or Add it on your UI Action form layout by configuring from top of header. Configure -> Form Layout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2019 10:18 PM
Hi,
Are you in London? If Yes you need make Isolate script field to FALSE on your UI action to get a window objects executed. You can do it from a list view and then it will work.
Read more about Isolate Scripts in here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2019 01:25 AM
Hi,
there is no option in UI Action called Isolate script field, can you please let me know where do I need enable that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2019 01:27 AM
You can either add it on your list layout of UI Actions by configuring using the gear icon for personalizing list Or Add it on your UI Action form layout by configuring from top of header. Configure -> Form Layout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2019 09:44 AM
Hi,
I can't seem to get this to work for me.
When I URL to the email client template for the u_client_mail_type=assigned_to all is working fine. However, when I URL to u_client_mail_type=user I get a default template. I've added the u_client_mail_type conditions to both separate templates. Please advise.
What could I be missing?
Template1
&sc_request.u_client_mail_type=user
Template 2
&sc_request.u_client_mail_type=assigned_to