Skip to main content



      Home
Home » Archived » BIRT » Embedding HTML data from db into report
Embedding HTML data from db into report [message #1000505] Mon, 14 January 2013 17:45 Go to next message
Eclipse UserFriend
Hello,

I know that there is a topic on embedding HTML data from db (http://birtworld.blogspot.de/2008/05/embed-html.html), and that is what I was using in order to make it work, but in my case there is literary nothing after I run a preview of the report.

Here is what I am doing. We are having invoices in our db in a form of HTML.
When I test a dataset with a parameter calling for a single row from the db I get it. In order to check it I would copy that string and save it in a text file with .html extension and open it using a web browser. In web browser I would see invoice like it should be, so I am assuming that data coming from db into report is good.
I did exactly what Jason told that guy in blogspot to do, however, when I run the report I get a blank page. There would be only date at the bottom.
All 4 steps have been performed and zillion combinations tried with no luck.

Any other suggestion?

Thanks for your help!
  • Attachment: format.jpg
    (Size: 51.95KB, Downloaded 244 times)
Re: Embedding HTML data from db into report [message #1000512 is a reply to message #1000505] Mon, 14 January 2013 18:09 Go to previous messageGo to next message
Eclipse UserFriend
I had to type in the whole line, not only format="HTML" since there are no rows to chose from. This text element is associated with dataset that brings data that I need, but I don't have a choice of fields to add, so I typed them manually.
Re: Embedding HTML data from db into report [message #1000513 is a reply to message #1000512] Mon, 14 January 2013 18:14 Go to previous messageGo to next message
Eclipse UserFriend
OK, I got it. Text element had to be in a table which I associated to the data set. Then I did those changes and there was a choice of the row that I needed.
Works great.
Re: Embedding HTML data from db into report [message #1000985 is a reply to message #1000513] Tue, 15 January 2013 15:26 Go to previous message
Eclipse UserFriend
If it was just a single row of data, from the dataSet, you could have just bound the text box to the dataSet. If multiple rows, you'd need the table for iterating over the result set.
Previous Topic:Windows Service for BIRT
Next Topic:BIRT Report Prompting for Username/Password
Goto Forum:
  


Current Time: Fri Mar 21 22:08:27 EDT 2025

Powered by FUDForum. Page generated in 0.03372 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top