How to: Apply a Layout or Style Template

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

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

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. Style templates are specific to a data region type and are applied directly to a data region.

When you define your report designs, you must decide whether to use the predefined layout and style templates for Microsoft Dynamics AX or define your own templates. The predefined layout and style templates are provided by the Visual Studio tools for Microsoft Dynamics AX. For a list of the predefined templates, see Predefined Layout and Style Templates. The following procedures explain how to how to apply layout and style templates.

To apply a layout template to a report

  1. In Model Editor, expand the node for the report that you want to work with, and then expand the Designs node.

  2. Select the auto design that you want to apply the layout template to.

  3. In the Properties window, select a layout template from the drop-down menu for the Layout Template property.

To apply a style template to a data region

  1. In Model Editor, select the data region that you want to apply the style template to.

  2. In the Properties window, select a style template from the drop-down menu for the Style Template property.

See also

Creating Reports Overview

Predefined Layout and Style Templates

How to: Create a Layout or Style Template