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 Property Binding in Custom ODA Driver
RameshS
Hi,<br />
<br />
I am writing the custom oda driver. <br />
I have configured following properties in "DataSet Property Binding"<br />
<br />
<strong class='bbc'>Property 1 : </strong><br />
<br />
Property Name: Delimiter Text<br />
Default Value: ,<br />
<br />
<br />
<strong class='bbc'>Property 2 : </strong><br />
<br />
Property Name: Search Level<br />
Default Value: 0 <br />
I have configured three choices for this parameter. So i am expecting a combo box.<br />
<br />
When i create new dataset, In Property Binding tab,<br />
<br />
I could see two properties.<br />
<br />
Delimiter Text : With empty Text Box<br />
Search Level : With empty Text Box<br />
<br />
If i give any input value to the "Delimiter Text" and "Search Level" properties, <br />
<strong class='bbc'><br />
Problem 1:</strong><br />
<br />
Those values are not coming to setProperty method in IQuery implementation<br />
public void setProperty( String name, String value ) throws OdaException{}<br />
I am always getting the default value.<br />
<br />
<strong class='bbc'>Problem 2:</strong><br />
<br />
Search Level property is type choice, So i expect Combo box in the dataset property binding GUI. But i am getting plain text box.<br />
<br />
<br />
<br />
Thanks,<br />
Ramesh S
Find more posts tagged with
Comments
RameshS
Hope to get some solution for this :-|
CBR
Hi RameshS,
are you able to share your code? Or can you make a screenshot of what you defined in your plugin.xml?
It's hard to say what's wrong without seeing a line of code or configuration.
Linda Chan
The data set editor's Property Binding page is a BIRT host contributed page, which provides text controls only.
The use of a combo box control for the Choice type is supported by the ODA Design UI framework's default data source UI pages. In other words, if it is specified in a data source property definition, and if a custom ODA designer adopts the ODA framework's DefaultDataSource[Wizard/Property]Page implementation.
RE: the issue of not having the user-input value in Property Binding being passed to oda.IQuery#setProperty method, make sure the correct syntax is entered for a literal value, e.g. quoting it, or if without quotes, specify the "constant" input type (by setting the corresponding button next to each text control).
Linda