Module with Script Include for URL (URL from arguments) returns an "Unparseable number"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2019 10:40 AM
I have a module that starts a request form. The request has a "Year" field that is a Choice list. The module link type is URL (from arguments). When the year is "hard-coded" in the module arguments, it works fine.
I created a Script Include that can get the Current Year from a Properties table. The script works fine when I run it as a Background script.
However, when I try to use a javascript call in the Module arguments, the request form opens but the Year does not get set and returns an error message: "Unparseable number".
====================================
Any suggestions on what I might be doing wrong? Am I not calling the script correctly?
Thanks for any help you can provide.
- Labels:
-
Best Practices
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2019 10:44 AM
try using javascript:new getXXX();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2019 12:17 PM