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

In RTC, Inside a validator function, how can I access other element value?

 

I am running a validator function, receiving 3 parameters (attribute, workitem, configuration)
I want to check other item value, but, from Developer Tool, i see that this other element has no id, and no name, so i can not get it through document.getElementById or document.getElementsByName.

Is there a way to get the sibling element of the workitem received in function?



 
 

0 votes



One answer

Permanent link

Also consider to perform https://jazz.net/library/article/1093 or at least look at the last two labs.

In the provided supported Java Script API you have only access to the data of the work item the customization runs in. E.g. you can access the attributes of the work item using workitem.getValue("attribute ID").

0 votes

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,495
× 1,325
× 1,220
× 152
× 16

Question asked: Apr 19 '21, 8:07 a.m.

Question was seen: 1,543 times

Last updated: Apr 19 '21, 9:43 a.m.

Confirmation Cancel Confirm