How to: Display Images in a Precision Design [AX 2012]

Updated: October 14, 2011

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

The following procedure explains how to display an image in a precision design report.

To display an image in a precision design

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

  2. Expand the Designs node for the report.

  3. To edit a precision design, do one of the following.

    • If the precision design already exists, right-click the design, and then click Edit Using Designer.

    • If you have not created the precision design, right-click the Designs node, point to Add, and then click Precision Design.

    This opens the SQL Report Designer.

  4. In the Toolbox, select the Image control and drag it to an appropriate location in the report.

    If you want to display image data along with other data in a list, table, or matrix data region, you must first create the data region. If the image is from a database field, be sure to set the DataElementName property for the data region to the dataset that contains the field for the image. After you have done that, drag the image control to the appropriate location within the data region.

    The Image Properties dialog opens.

  5. Set the following properties:




    Provide a name for the image.


    Provide a tool tip for the image.

    Select the image source:

    Use the drop-down to set the source of the image. For example, you can specify External, Embedded, or Database. For more information, see Report Images Overview.

    Use this image:

    The name or path of the image.

    • If the Source property is set to Database, you must specify the field that contains the binary image data and the MIME type.

    • If the Source property is set to External, you must provide a valid URL path to the image.

    • If the Source property is set to Embedded, you must specify the name of the image.


    The MIME type for the image. For example, image/gif or image/bmp.

  6. Save the changes made to the report.

  7. To preview the report with the image, click the Preview tab in SQL Report Designer. Or, in Model Editor, right-click the node for the design, and then click Preview.