|Problem with Maximo getHtmlString [message #990105]
||Mon, 10 December 2012 16:55
| Brian McMahon
Registered: July 2012
Location: University of Delaware
I have a maximo birt problem.
I have a work order that is causing an error in a the BIRT report woprint.rptdesign.
The problem has been narrowed down to the getHtmlString method. If I remark out the line everything works fine but no long description. If I replace the getHtmlString with getString it works but formating is not perfect. I have looked at the data and do not see anything worse than CRLF (0D0A) in the long description. I would like to go further, but I can not find where the getHtmlString method is located.
This is problem is ocurring where it is getting the long description.
// Long Description
longDescDataSet = MXReportDataSetProvider.create(this.getDataSource().getName(), "longDescDataSet");
longDescSQL = "select longdescription.ldtext "
+ "from longdescription "
+ "where longdescription.ldownertable='WORKORDER' and longdescription.ldownercol='DESCRIPTION' "
+ "and longdescription.ldkey=" + row["workorderid"];
row["longdesc"] = longDescDataSet.getHtmlString("ldtext");
// End Long Description