[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-report-designer-dev] Fwd: How to add CachedMetaData in BIRT

Hi All,
I am looking for a way to add the following highlighted tags in my report design file using BIRT design Api's.


-------------------------------------------------------------------------
<data-sets>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="ds" id="5">
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">MANUFACTURER</property>
                        <property name="dataType">string</property>
                    </structure>

                    <structure>
                        <property name="position">2</property>
                        <property name="name">MODEL</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">AI_ENABLED</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">BUILDING</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
 -------------------------------------------------------------------------------------



Please let me know how can i do this.If possiable please send a sample code for doing the same

Regards