Skip to main content



      Home
Home » Archived » BIRT » cannot find parameter names in DataSetParameters of ODA data source
cannot find parameter names in DataSetParameters of ODA data source [message #201871] Mon, 20 November 2006 10:25 Go to next message
Eclipse UserFriend
Originally posted by: juergen.schwarz.gefasoft.de

Hi,

in my UI plugin to edit an ODA data source I'm trying to find the names
of the dataset parameters as entered in the BIRT designers data set
wizard. I have already located the DataSetParameters structure in the
DataSetDesign but the name attribute of all parameters is empty. I
urgently need to have access to alle the parameter names but I cannot
find it anywhere.
Any ideas??
Re: cannot find parameter names in DataSetParameters of ODA data source [message #202041 is a reply to message #201871] Mon, 20 November 2006 22:17 Go to previous messageGo to next message
Eclipse UserFriend
Juergen,

The DTP ODA DataSetDesign API does not currently support passing a
host-defined name (i.e. those specified in BIRT Data Set Editor) back to an
ODA designer.
For example, the parameter name attribute is intended for the original
value initially provided by an ODA designer in the last design session. In
your case, it was probably empty. The rationale is that any name defined
outside of an ODA data source designer is not going to be recognized by the
data source anyway.

I'm interested to get more feedback from the community on what to improve
on the oda.design API.
Please elaborate on your use case on how you intend to use such
externally-defined parameter name. And how would your ODA runtime driver
(e.g. your implementation class of IQuery) recognize such names?

Linda

Juergen Schwarz wrote:

> Hi,
>
> in my UI plugin to edit an ODA data source I'm trying to find the names
> of the dataset parameters as entered in the BIRT designers data set
> wizard. I have already located the DataSetParameters structure in the
> DataSetDesign but the name attribute of all parameters is empty. I
> urgently need to have access to alle the parameter names but I cannot
> find it anywhere.
> Any ideas??
Re: cannot find parameter names in DataSetParameters of ODA data source [message #202048 is a reply to message #202041] Tue, 21 November 2006 02:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: juergen.schwarz.gefasoft.de

Linda,

we want to use the dataset parameter definition to be read from a text
file that is specified in the data source definition and to display it
in BIRT's data set parameter edit dialog page. If we have no access from
the data set design plugin to this parameter edit data, we need somehow
access to the report design itself so that we could retrieve and alter
the data there...
Any idea how to do this?



Linda Chan schrieb:
> Juergen,
>
> The DTP ODA DataSetDesign API does not currently support passing a
> host-defined name (i.e. those specified in BIRT Data Set Editor) back to an
> ODA designer.
> For example, the parameter name attribute is intended for the original
> value initially provided by an ODA designer in the last design session. In
> your case, it was probably empty. The rationale is that any name defined
> outside of an ODA data source designer is not going to be recognized by the
> data source anyway.
>
> I'm interested to get more feedback from the community on what to improve
> on the oda.design API.
> Please elaborate on your use case on how you intend to use such
> externally-defined parameter name. And how would your ODA runtime driver
> (e.g. your implementation class of IQuery) recognize such names?
>
> Linda
>
> Juergen Schwarz wrote:
>
>> Hi,
>>
>> in my UI plugin to edit an ODA data source I'm trying to find the names
>> of the dataset parameters as entered in the BIRT designers data set
>> wizard. I have already located the DataSetParameters structure in the
>> DataSetDesign but the name attribute of all parameters is empty. I
>> urgently need to have access to alle the parameter names but I cannot
>> find it anywhere.
>> Any ideas??
>
Re: cannot find parameter names in DataSetParameters of ODA datasource [message #202337 is a reply to message #202048] Tue, 21 November 2006 23:32 Go to previous message
Eclipse UserFriend
Juergen,

Umm, I'm not quite sure what you meant.
Are you saying that your custom data source has a text file, which contains
parameter definitions, and you want your ODA UI plug-in to obtain that info and
pass to BIRT, so the parameter names can be displayed in BIRT's data set editor's
parameters page?
But in your initial posting, you seem to be expecting an user to manually define
the parameter names on BIRT's parameters page, and want that attribute be
accessible to your ODA UI Plugin. That seems to be different things to me.

Can you please elaborate, so I can help address your specific issue. Using some
specific examples would help.

Linda

Juergen Schwarz wrote:

> Linda,
>
> we want to use the dataset parameter definition to be read from a text
> file that is specified in the data source definition and to display it
> in BIRT's data set parameter edit dialog page. If we have no access from
> the data set design plugin to this parameter edit data, we need somehow
> access to the report design itself so that we could retrieve and alter
> the data there...
> Any idea how to do this?
>
Previous Topic:birt2.0.0 vs birt 2.1.1
Next Topic:make the query dynamic???
Goto Forum:
  


Current Time: Fri Apr 25 21:32:44 EDT 2025

Powered by FUDForum. Page generated in 0.02900 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top