How to Print NA if a table not printing in RPE
I am blocked to find a logic to write ,where there is a table should print in report if its not printing it should show NA or NIL value.Can anyone help me to get the solution
|
Accepted answer
Hi Sreenath,
Is the table included in template or part of the XML/XHTML data?
sreenath v selected this answer as the correct answer
|
4 other answers
It is inisde the RPE template...i am trying to pull data into a table format .So if data is not present it should print NA. As of now the assignmnet hasformal-true and all done .Not working. SO i think if table not present it should print NA. |
Right. So you need to use the same query twice - once to assign ("true" or "false) value to _hasFormal variable and again for printing the data within the table. Use the condition _hasFormal=="true" on the table element and condition _hasFormal=="false" on the text element (that prints "NA").
Comments
sreenath v
commented May 28 '20, 3:13 a.m.
Here if argument is not there for rhapsody operation that query itself is not working.Suppose the argument for operation is given then it will print true as i gave assignment but if argument not there it is not executing.That query itself will get ignore.
|
i have done that...Here i am trying to print operations from rhapsody classes. So operation argument if not present should print NA and if it is there table will generate with values. So here what i observed that if any of the operation have argument and table print then the condition hasformal != "true" not working.
(Note: I cannt comment on you answer ie i am answering like this)
|
the condition _hasFormal=="true" on the table element and condition _hasFormal=="false" on the text element (that prints "NA").
The above conditon is given. But if formal parameter are empty, NA is not prinitng. Only true condition is working.
|
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.