Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
dataset and html
samucich
Hi,
I have a dataset that is bound to the report. SUBJECT_NAME is the name of the dataset's column that contains the data i want...I dragged and dropped this into the footer of a table inserted into a report. And then applied the expression:
technologyRows = technologyRows + "<input type=checkbox name=Liked value='" + dataSetRow["SUBJECT_NAME"] + "'>" + dataSetRow["SUBJECT_NAME"] + "</input>";
It works fine and displays a row of checkboxes followed by a name. The problem I have is that when I run the report, the actual source code is displayed in the report above the row of checkboxes...looks like this:
<input type=checkbox name=Liked value='COBOL'>COBOL</input><input type=checkbox name=Liked value='CICS'>CICS</input><input type=checkbox name=Liked value='IMS'>IMS</input><input type=checkbox name=Liked value='DB2'>DB2</input><input type=checkbox name=Liked value='VSAM'>VSAM</input><input type=checkbox name=Liked value='JCL'>JCL</input>
I can't figure out how to hide this? Weirdly, if i delete the bound dataset column (SUBJECT_NAME) from the report...it still works fine (displays the row of named checkboxes) and the source code is gone!
Although this fixes the problem, i'm left with a report that has a bound dataset that can not me modified or viewed (because its been deleted from the report). If I try to add the column back to the report, I get a msg telling me that the dataset already exists.
Wadda ya think?
Thanks, Sam
Find more posts tagged with
Comments
averma
Hi Sam,
Can you attach sample reports to illustrate your issues?
Thanks
AV
Virgil Dodson
To get HTML, you should be using a Text control, then also check that you have selected the HTML choice instead of AUTO.
In a Text control, press the VALUE-OF option to get at your row data.
samucich
attached (i think)...
averma
Hi Sam,
I didn't see any attached files. Can you try posting them again?
AV
samucich
looks like the attachment is there this time...
Thanks, Sam
averma
Hi Sam,
I could not work with your report as it uses DB2 datasource which is not configured in my environment. I have created a new report that uses sample classic models db and you should be able to run this report in your eclipse birt 2.3.2
AV
samucich
AV...where is this report that you speak of?
Sam
samucich
Version 2.2 is the Birt i'm using...
averma
Attaching a similar report for version 2.2
AV