How do I use JavaScript with RTC 3.0.1
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.***”?
Accepted answer
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.
correct, it is the only choice
This will display a form for the Details of the JavaScript.
Name – Is this the name of the file minus .js?
its the logical name of this condition.. call it anything you like. doesn't have to be related to the filename. this is the name of the available conditions that will be listed in the advisor configuration
Local File Path – Is this a full path that includes drive letter?
yes, this is where to load the script from/save it to, on the local system
Local File Path – Does this path have to be shared so that all users have access?
no, the script will be loaded into the project area, so it can be executed by all users
only used while you are editing the script locally
Attachment Path – What is this?
the path into the project area storage
Class Name – Do I use “org.example.***”?
whatever you want.. but this name MUST match the classname used in the script.
I always tell my customers to use a naming convention that identifies who created the script
I use com.sd.scripts.condition_name