ReferenceError: GlideModal is not defined
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 06:57 PM
Hi, I want to use GlideModal to create a pop up message via a UI page in a Record producer. For testing I put the code in an onLoad catalog client script to display a very simple UI page. When I load the form I can see an error in the browser console as below:
(g_env) [SCRIPT:EXEC] Error while running Client Script "Privacy pop up dialog": ReferenceError: GlideModal is not defined
Anyone has any ideas why I am getting this error? Is GlideModal available on Record Producer by default?
Also as Record Producer provides onLoad, onChange and onSubmit client script functionality, what is the best way technically if I want to trigger the modal dialog with something like onClick ?
Thanks in advance for any help you can provide.