Excluding a data set
You can exclude a data set in a template from the Select Data dialog in BIRT Studio. For example, you want to display stock quote data from a web service in the report, but you do not want the user to manipulate the data. To exclude a data set from the Select Data dialog, set the data set’s UsageInBRS property to excluded in the template’s XML representation. For example, the following code excludes the Orders data set:
<oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc
.JdbcSelectDataSet" name="Orders" id="8">
  <list-property name="userProperties">
    <structure>
      <property name="name">UsageInBRS</property>
      <property name="type">string</property>
      <property name="isVisible">true</property>
    </structure>
  </list-property>
  <property name="UsageInBRS">excluded</property>

Additional Links:

© Copyright OpenText Corp. All rights reserved. Privacy Policy | Cookie Policy

BIRT iHub 2