How to set parameters in Report created through DEAPI
Options
<p>Hi,</p>
<p> </p>
<p>I want to use parameterised query, where I should be able to set values through URL or JavaScript.</p>
<p>I am using the same example code at <a data-ipb='nomediaparse' href='http://www.eclipse.org/birt/resources/documentation/integrating/DeDemo.java'>http://www.eclipse.org/birt/resources/documentation/integrating/DeDemo.java</a>. </p>
<p> </p>
<p>Also is there a way add drop down to this report which can set the parameters for the report.</p>
<p> </p>
<p>Thanks,</p>
<p>Mohit</p>
<p> </p>
<p> </p>
<p>I want to use parameterised query, where I should be able to set values through URL or JavaScript.</p>
<p>I am using the same example code at <a data-ipb='nomediaparse' href='http://www.eclipse.org/birt/resources/documentation/integrating/DeDemo.java'>http://www.eclipse.org/birt/resources/documentation/integrating/DeDemo.java</a>. </p>
<p> </p>
<p>Also is there a way add drop down to this report which can set the parameters for the report.</p>
<p> </p>
<p>Thanks,</p>
<p>Mohit</p>
<p> </p>
0
Comments
-
ScalarParameterHandle sph = designFactory.newScalarParameter("srt"); sph.setIsRequired(true); //sph.setAllowNull(true); //sph.setAllowBlank(true); sph.setValueType(DesignChoiceConstants.PARAM_VALUE_TYPE_STATIC); sph.setDataType(DesignChoiceConstants.PARAM_TYPE_STRING); designHandle.getParameters().add(sph);
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax