Bug 372881 - Please add support for replacing a Data Set in the Report Designer
Summary: Please add support for replacing a Data Set in the Report Designer
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.2   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportDesigner CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-29 12:08 EST by Eric B. CLA
Modified: 2012-06-14 03:05 EDT (History)
1 user (show)

See Also:


Attachments
Windows 7 prompt (73.81 KB, image/jpeg)
2012-02-29 12:08 EST, Eric B. CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric B. CLA 2012-02-29 12:08:07 EST
Please add support for replacing a Data Set in the Report Designer.  There is a copy/paste capability, but if a Data Set already exists with the same name, it pastes in as a different data set.  This is not desirable because there may be  many report bindings that are pointing to the original Data Set and the intent, in this case, is for them to point to the pasted-in Data Set.  It seems like this would all be easier (from a report-builder's perspective) if there was a more formal replace concept that maintained all the bindings.

One approach might be to have a dialog presented when attempting to paste a Data Set in where one already exists with the same name. The dialog would prompt with 3 options:
1) 'Paste and Replace', 2) 'Paste, but keep both files', 3) 'Cancel', . The first option would replace and maintain all report bindings that referenced the Data Set. The second option would do as it does today, auto-renaming the Data Set being pasted in. The third choice would cancel the Paste operation altogether. This 3-choice prompt is similar to Windows 7 when moving a file to a directory where one already exists with the same name. I've attached a picture of the Windows 7 prompt. 

For more details, see related discussion in BIRT-Exchange: 
http://www.birt-exchange.org/org/forum/index.php/topic/24802-replace-one-data-set-with-another-in-report-designer/
Comment 1 Eric B. CLA 2012-02-29 12:08:59 EST
Created attachment 211820 [details]
Windows 7 prompt