Managing stylesheets in Dynamics NAV
Sending documents to MS Word had always been a challenge in NAV, until the new "export to Excel" and "export to Word" functionality was introduced in NAV version 5 and carried over to version 2009. Automatic "Send to Excel" and "Send to Word" capability uses stylesheets to format the output from almost any page in Dynamics NAV. Just click a button, and the information will be displayed on a Word document or an Excel spreadsheet. The output is nicely formatted using the XML stylesheets, which can be structured into proper rows and columns with row headers, descriptions, field captions, logos, other pictures, and many more.
The initial version of this functionality required XML designing in order to preformat stylesheets, which required programming knowledge. However, with the new stylesheet tool, users can design new or edit existing stylesheet formats with no programming knowledge.
In this chapter, we will learn the use of the stylesheet tool to create...