Saturday, January 16, 2010

Apply a new template to an existing report in Report Studio

Use the ... and .. tags in the template xml file to replace these two parts in the Report xml file.

Steps:

1.) Open the template in the Studio and click Tools, Copy Report to Clipboard
2.) Open Notepad (or similar text editor) and paste the template xml copied in step #1
3.) Open the existing report in Report Studio and click Tools, Copy Report to Clipboard.
4.) Open another instance of Notepad (etc), and paste the report xml copied in step #3
5.) Click on the notepad instance with the template xml contents (to give it focus).  Find and highlight the section from to , and copy it.
6.) Return to the instance of Notepad with the report xml (from step #4).  Find and highlight the section from to , and paste in the copied XML from the template XML file.
7.) Repeat steps 5 and 6 for to .
8.) Within the modified report XML instance of Notepad, do a "Select all" (Ctrl-A, right-click menu, or from the toolbar menu) and copy the entire contents.
9.) Within Report Studio, click Tools, then Copy Report from Clipboard.

No comments:

Post a Comment