Creating templates
In all organizations, the reporting suite is required to follow the standard formatting. Similar to other tools and technologies, Cognos Report Studio also allows you to create and use templates in order to maintain the standards, reduce cosmetic errors, and save time.
Getting ready
We will amend the report created in the previous recipe for this.
How to do it...
We have already defined the formatting for crosstab members and hyperlinks. Now go ahead and define standard report header and footer. You might want to put the company logo in the header.
From the menu, Choose File | Convert to Template.
Notice that the Model/Source pane becomes empty and all data items are removed from the report.
- From the menu, choose File | Save As. Give the filename as Template. Notice that the icon created for this is different than other reports.
Now we will prepare the XML specification of this template to be inserted in the server files. For that, select Tools | Copy Report to Clipboard from...