![]() ![]() So for example if you want to have a same header layout then you can design the header in the Sub-Template file and import the header, which you just designed in the Sub-Template, from all of your RTF template files. ![]() The Sub-Template can be a RTF template or XSL style sheet, which can contain common formatting and layout information, and can be imported from any reports. With BI Publisher you can use a Sub-Template feature to create the common template where you can design common objects such as the header and footer. ![]() Anything you want to have in a central place and apply to all the reports you can apply this information. I’m writing this using an example of the header and footer, but as you can imagine it doesn’t have to be only for the header and footer. So here comes the post I’m writing today. There are many information about this common template (called Sub Template in BI Publisher) out there but it’s not really clear as a complete picture of how to implement it and deploy to a real environment. I guess that’s because our main focus is how to bring the data into the report and design the layout and formatting for the data when we start the development and we just want to get our report done without taking an account of the long term maintenance perspective.Īlso this is not really well documented as a practical and best practice way. But somehow it can often be slipped out from the reports design until you hit this maintenance concern mentioned above. This is a very common requirement for any reports development with BI Publisher and BI Publisher addresses this type of requirement with its Sub-Template feature. When you need to make such changes for the header and footer only you need to do is to visit only this common header and footer template and make the change. In order to avoid from visiting each of those hundreds of the reports you wish having just one common header and footer template, in which you can design the header and footer and you can import from all the reports you have. Now you have developed a lot of reports with the same header and footer and you need to change the report title font size or need to change the company logo in the header section, what would you do? Imagine if you have 100 reports already developed! Obviously you don’t want to visit every single report and make such changes in each of the RTF templates. And when you develop more reports you probably copy and paste the header and footer section from the first report so that all the reports will have a same look and feel with a company logo, report title, reporting date, copy right, etc. When you develop a report you usually want to have a header and footer section. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |