UI Action throws warnings and I can't see system logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 11:15 AM
I'm building a UI action (that appears as a Form button), but when I click it, it throws these warning in the system logs:
(1)
com.glide.script.RhinoEcmaError: Cannot convert null to an object.
<refname> : Line(1) column(0)
==> 1: __ref__.getValue().indexOf(gs.getUserID()) != -1
(2)
com.glide.script.RhinoEcmaError: Cannot convert null to an object.
--------
What I'm trying to do with this UI action is that when the user clicks it, a hyperlink will get copied to its clipboard. If I try to use gs.log to debug the code, I'm not able to see it in the system logs, maybe because of the warnings mentioned above. Even though, if I have an alert("...") I'm able to see it. Not to mention that nothing gets copied in the clipboard.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 11:56 AM
Hi Daniel,
Could you please attach the screenshot of the UI Action?
Best Regards,
Marcin