Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 176543 - Make it easier to publish a piece of a report to a Library
Summary: Make it easier to publish a piece of a report to a Library
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.1.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 2.3.0   Edit
Assignee: Frank Zhang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 228830 230840
Blocks:
  Show dependency tree
 
Reported: 2007-03-06 19:12 EST by Paul Clenahan CLA
Modified: 2008-06-12 11:46 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Clenahan CLA 2007-03-06 19:12:53 EST
Currently, it is only possible to publish a whole report to a library (using Export to Library... from the top level of a report in Outline view). However, this is not a particularly common scenario. It is much more likely that a developer will want to publish a component of a report to a library.

Example: Report developer is designing 10 different reports. After creating a few reports, the developer realizes it makes sense to standardize the report header (company logo, report title, etc.) into a Library for re-use by all the reports. He'd like to be able to select that element in one of the existing reports (a grid control with subcomponents in this case) and just publish that to a Library. Currently this is not possible -- he has to publish the whole report to a library, then delete all the stuff he does not want in the library.

It is most likely that developers are going to work on a number of reports, see design patterns emerge over time, and choose just to publish the element(s) that have that design pattern.

It is going to be vary rare that a whole report should be in a library. In fact, I can't think of a scenario where this would be useful.

Libraries would be much more usable if it was possible to publish a component of a report to a library.
Comment 1 Paul Clenahan CLA 2007-03-06 19:18:17 EST
By the way, as I struggled to try and figure this out, my natural inclination was to right click on the item that I wanted to publish to the library and then look for a "Publish to Library..." option on the Context menu. I tried this from both the Outline view and the Layout Editor. I'd be OK with this functionality only being available from the Outline view in order to avoid over complicating the Layout Editor.
Comment 2 Aashima Goel CLA 2007-07-11 13:12:56 EDT
As per discussion with Rima, we had this functionality before and needs to be brought back in.
Comment 3 Wenbin He CLA 2008-03-31 19:37:46 EDT
Since this is supported in model layer, reassign it to UI team to add the UI support in 2.3M6.
Comment 4 Wei Yan CLA 2008-04-07 02:58:26 EDT
defer to RC0
Comment 5 Rima Kanguri CLA 2008-04-23 10:26:17 EDT
UI provided.
Comment 6 Paul Clenahan CLA 2008-04-23 14:17:19 EDT
UI provided where? In BIRT or in a spec somewhere?
Comment 7 Zhiqiang Qian CLA 2008-04-24 01:06:42 EDT
We will include this in next milestone
Comment 8 Frank Zhang CLA 2008-05-08 02:28:05 EDT
User can export report design or element now.
The menu item to invoke the action is included in the context menu. 
Fixed.
Comment 9 Maggie Shen CLA 2008-05-18 22:10:02 EDT
verified on build 2.3.0 v20080519-0630.
Comment 10 Krishna Venkatraman CLA 2008-06-11 16:05:38 EDT
I am using build Version: 2.3.0 Build id: 20080529 and no context menu appears on a report item to export to a library. Hence the request to reopen this bug.
Comment 11 Wenfeng Li CLA 2008-06-11 21:19:21 EDT
a regression in latest build?
Comment 12 Frank Zhang CLA 2008-06-11 22:22:56 EDT
Krishna,
I tried the latest code, it worked.
Liping just tried build 2.3.0, it also worked.

Set to FIXED.

Does the element that you're trying to export have a name? If not, it can't be exported.
Comment 13 Frank Zhang CLA 2008-06-11 22:25:37 EDT
The build id of version 2.3.0 in comment #12 is 20080611.
Comment 14 Krishna Venkatraman CLA 2008-06-12 11:46:11 EDT
You are correct. If you name an object then you can export it to a library. I am marking this as verified.