|
Re: How to set the report version property ? [message #776957 is a reply to message #775882] |
Mon, 09 January 2012 15:34 |
|
This is the BIRT Version of the report. If you look at the xml view it
will be in the second line:
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22"
id="1">
I do not think you can set it, unless you do it manually. The designer
writes this in the report and the viewer checks the version before
running a report. If the version is newer than the version of the
viewer it will not run the report.
Jason
On 1/6/2012 4:30 PM, Alessio Pollero wrote:
> I have noticed that the ReportDesignHandle class has the property
> version that i can retrieve with the method getVersion() , and could be
> useful to give a version to a deployed report.
>
> The code that i use to retrieve the version is like the following :
>
> ReportDesignHandle reportDesign = ...
> String version = reportDesign.getVersion();
>
> The question is : where can i set the version number of the report in
> the report designer ? i Can't find where the property can be set ...
>
>
> Thanks.
|
|
|
|
Re: How to set the report version property ? [message #777163 is a reply to message #777104] |
Tue, 10 January 2012 00:29 |
|
Can you not just put the version in the description or comment field?
You could also use the Title or Display name field. All of these are
accessible with the report design handle and in the designer.
Jason
On 1/9/2012 5:08 PM, Alessio Pollero wrote:
> Is there a way to set a version of my report ? for example i want to tag
> it with a release number, so for example i want to assign a version to a
> report (for example 1.0) and show that version on my own application
> that execute the report, so the user can know what version of the report
> he is running, and if there is an update available. Is it possible ?
>
> I don't want to know the version of the XML file, but the version that i
> got to the report. I want to release a report in the same way that i
> release a standard application, so there should be the chance to set the
> report version to distinguish the report. So when i change something in
> the report definition i will change the version number and the user will
> receive the report as an update ...
>
> Report version it is not a planned feature ?
>
>
> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03204 seconds