Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Problem with Maximo getHtmlString (Problem with Maximo getHtmlString)
Problem with Maximo getHtmlString [message #990105] Mon, 10 December 2012 16:55 Go to previous message
Brian McMahon is currently offline Brian McMahon
Messages: 8
Registered: July 2012
Location: University of Delaware
Junior Member
Hello:

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.

Question is: Is the method getHtmlString a Maximo method or Birt or Javascript, where is it located, can it be fixed or overwritten?

This is problem is ocurring where it is getting the long description.


// Long Description
longDescDataSet = MXReportDataSetProvider.create(this.getDataSource().getName(), "longDescDataSet");
longDescDataSet.open();

longDescSQL = "select longdescription.ldtext "
+ "from longdescription "
+ "where longdescription.ldownertable='WORKORDER' and longdescription.ldownercol='DESCRIPTION' "
+ "and longdescription.ldkey=" + row["workorderid"];

longDescDataSet.setQuery(longDescSQL);

if(longDescDataSet.fetch()) {
row["longdesc"] = longDescDataSet.getHtmlString("ldtext");
}

longDescDataSet.close();
// End Long Description



Thank you

 
Read Message
Read Message
Previous Topic:Image DPI
Next Topic:Data type characteristics
Goto Forum:
  


Current Time: Thu May 23 08:02:42 EDT 2013

Powered by FUDForum. Page generated in 0.02734 seconds