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

RPE JavaScript Question

 Hello all,

I am making an RPE template for a DOORS module.
Currently I am trying to get a certain table to print for elements with a certain attribute.  All of the elements are object text but have a different custom attribute.
I can get the text to not print using JS, but the table is still there.

Is there a way to get the whole table to not print on a certain condition?

Currently I am having it go
if(var != "text")
 ???

I tried console.log( "" ) but this did not work.
I tried creating a variable and initializing its value to be " " and this did not work as well.

Has anyone had success with doing this?

0 votes



One answer

Permanent link
Where have you applied the condition? You can have the condition on the container that contains the table element.
There are other ways to do this. If you can share the template, we can suggest changes.

Prasad (subprasad@yahoo.com)

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
× 332
× 198

Question asked: Oct 03 '16, 12:54 p.m.

Question was seen: 2,496 times

Last updated: Oct 03 '16, 2:17 p.m.

Confirmation Cancel Confirm