How do I use JavaScript with RTC 3.0.1
![]()
Bob Ferguson (89●9●35)
| asked Dec 28 '15, 9:03 a.m.
retagged Jan 20 '16, 9:24 a.m. by Ken Tessier (841●1●7)
I am using RTC 3.0.1 and have a need to enforced work item validation for customized attributes. I have to make 1 field required if another field has a certain value.
I have researched this and found out that it is possible using JavaScript. I do not know Java but I am currently researching about it. The following is the link that I found, it contains example of what I need, I do realize that I will have to modify it.
I have a couple of questions about this.
When I select “Conditions” from “Attribute Customization”, I have to select “Script Based Condition” from the Provider drop-down list.
This will display a form for the Details of the JavaScript.
Name – Is this the name of the file minus .js?
Local File Path – Is this a full path that includes drive letter?
Local File Path – Does this path have to be shared so that all users have access?
Attachment Path – What is this?
Class Name – Do I use “org.example.***”?
|