It's all about the answers!

Ask a question

Access the Javascript API


1
1
Rotem G (1123) | asked Jun 28 '11, 12:21 p.m.
.
How can I access the API for Javascript ?

I want to try implement some attribute customization via the use of Javascript (as in the AttributeCustomization atrical on the wiki).
How can I access the API to know what can I use ?
I am new to the Javascript world.

Thank you.

Accepted answer


permanent link
Filip Wieladek (30413) | answered Nov 27 '12, 3:07 a.m.
 Please look at the following Wiki entry: https://jazz.net/wiki/bin/view/Main/AttributeCustomization

It provides all the details on Attribute Customization including script based attribute customization.
Ralph Schoon selected this answer as the correct answer

Comments
Dastan Ali commented Mar 30 '17, 5:43 a.m. | edited Mar 30 '17, 6:02 a.m.

I think what Rotem wants to know is :

Are there any libraries of java scripts for RTC and documentation to understand how to use functions of java script.
Rotem please post if you got the answer for your question.

For example
I want to fetch current week number and save value on the work item using script based calculated value, but I don't know what functions I need to use to get current week number using java script.


Ralph Schoon commented Mar 30 '17, 6:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

For what RTC supports read that wiki page, please. Note that that is all that is documented. Note the "limited type support". 


If you want to understand JavaScript in general and how to - for example - get the date and how to work with it, find yourself a JavaScript tutorial such as https://www.w3schools.com/js/default.asp and learn there. We don#t document that stuff here.

Also be a ware of the limitations of the RTC JavaScript API as explained in https://jazz.net/library/article/1093 and in https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/
   

Your answer


Register or to post your answer.