Hi All,
We are trying to invoke a livereport through CWS in our code to get two string values as the output.
The livereport is working fine in CS UI and returning actual values. But when we're invoking the livereport, we are not getting any output or error msgs.
Below is the snippet of the code:
for (RowValue row : result.getContents()) {
DataValue column = row.getValues())
System.out.print("KEY IS--" + column.getKey());
if (column instanceof StringValue) {
StringValue value = (StringValue) column;
System.out.print("Details:"+column.getDescription());
List myvals = value.getValues();
System.out.print(myvals);
int size = myvals.size();
System.out.println(size);
for (int i = 0; i < size; i++) {
System.out.println(" String -- + myvals.get(i));
} }
if (column instanceof IntegerValue) {
IntegerValue value = (IntegerValue) column;
System.out.print("Details:"+column.getDescription());
List myvals = value.getValues();
System.out.print(myvals);
int size = myvals.size();
System.out.println(size);
for (int i = 0; i < size; i++) {
System.out.println(" Integer -- + myvals.get(i));
} }
Request to help if anyone else faced this issue before.
Thanks & Regards,
Pulkit Bhargava