How can I fix the javascript calculated field error that I receive?
Andrew Trobec (497●13●144●139)
| asked Sep 18 '12, 8:18 a.m.
edited Mar 21 '13, 11:36 a.m. by Ralph Schoon (63.6k●3●36●46)
Hello Everyone,
I have a javascript calculated field that calculates a value based on the values of two other fields. When trying to run it on one RTC instance (3.0.1.1) it works without any problems. When I run it on my production machine (also 3.0.1.1), however, I get an error saying "Unable to load <javascript_file>.js".
Is there some sort of server settings that I need to change to allow the script to run? Please note that the machines have the same RTC installation. I copied the process configuration (based on the same process template) from one server to the other, and I now get the error.
Could it be that I have to physically copy the javascript file somewhere?
Please help!
Thank you and best regards,
Andrew
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Sep 18 '12, 8:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Andrew, you have to enable javascript in the RTC advanced attributes. The property is named "
Andrew Trobec selected this answer as the correct answer
Comments The CCM applications advanced parameters, not the JTS's.
Andrew Trobec
commented Sep 18 '12, 9:05 a.m.
Right on the money Ralph, thanks a lot! You win for today! Have all of my internet points! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.