How to: Create a Layout or Style Template [AX 2012]

Updated: December 16, 2011

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

This topic explains how to create layout and style templates. A layout template defines the general layout and style settings for a report. A style template contains the layout and style settings for a data region that displays in the body of a report. Each style template is specific to a data region type. For example, if you define a style template for a table data region, it can only be applied to table data regions. Layout and style templates are used in auto design reports and not accessed for precision design reports.

NoteNote

If you want your reports to have the same look and feel as existing reports included with Microsoft Dynamics AX, be sure to use the predefined layout and style templates for Microsoft Dynamics AX. For more information, see Predefined Layout and Style Templates.

To create a layout template for a report

  1. In Solution Explorer, right-click the reporting project that you want to add a layout template to, point to Add, and then click New Item. The Add New Item dialog box displays.

  2. In the Templates pane, click Report Layout Template. This is a model that contains a single layout template.

  3. Type a name for the layout template.

  4. Click Add.

    A node for the layout template displays along with several subnodes for the various sections within the report. The layout template contains default settings for each section.

  5. To change the settings for a particular section, select the node for the section and edit the properties in the Properties window.

To create a style template for a data region

  1. In Solution Explorer, right-click the reporting project that you want to add a style template to, point to Add, and then click New Item. The Add New Item dialog box displays.

  2. In the Templates pane, select the type of style template that you want to create. For information about each style template, see Predefined Layout and Style Templates.

  3. Type a name for the style template.

  4. Click Add.

    A node for the style template displays along with several subnodes for the various sections within the data region. The style template contains default settings for each section.

  5. To change the settings for a particular section, select the node for the section and edit the properties in the Properties window.

Community Additions

ADD
Show: