Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I fix the javascript calculated field error that I receive?

 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

1

2 votes


Accepted answer

Permanent link
Hi Andrew, you have to enable javascript in the RTC advanced attributes. The property is named "Enable Process Attachment Scripts" you can search for Script in the browser to find it. If it is disabled the script won't load.

If it is enabled, you can try to delete the script in the process attachments and reload it again. I had the impression once I had confused the script engine and after I did this it worked again. I haven't seen that recently, but maybe worth trying.
Andrew Trobec selected this answer as the correct answer

3 votes

Comments

The CCM applications advanced parameters, not the JTS's.

Right on the money Ralph, thanks a lot! You win for today! Have all of my internet points!

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,501

Question asked: Sep 18 '12, 8:18 a.m.

Question was seen: 4,946 times

Last updated: Mar 21 '13, 11:36 a.m.

Related questions
Confirmation Cancel Confirm