EnableExternalImages Property

Sets whether external images are allowed on a report.

Applies To

Client report definition (RDLC) report layouts

Property Value

Yes if external images are allowed; otherwise, No. The default is No.


When you use the Visual Studio Report Designer for creating reports for the RoleTailored client, you can add images such as your company logo to a report. You can add either embedded or external images.

  • With an embedded image, the source file is compiled as part of the report. If a report only uses embedded images, then you can set the EnableExternalImages property to No. For an example of using embedded images, see How to add a Company Picture to a Report.

  • With an external image, the source file is stored outside of the report in a location that must be accessible from the RoleTailored client, such as on a file server or local computer. The image is referenced from the report and loads when the report opens. To use external images on a report, the EnableExternalImages property must be set to Yes.


    The EnableExternalImages property exposes the LocalReport.EnableExternalImages property of the Microsoft.ReportViewer.WebForms.LocalReport object, which is embedded in Microsoft Dynamics NAV 2009. The Microsoft.ReportViewer.WebForms.LocalReport object is part of the ReportViewer controls that are available in Visual Studio for adding reports to your application.

For information about adding images using Visual Studio Report Designer, see Adding Images to a Report (Visual Studio Report Designer).

Security Considerations

Microsoft Dynamics NAV 2009 cannot verify image sources and protect against malicious images or sources that may be harmful to your computer. You should set the EnableExternalImages property to Yes only if you can ensure that images on the report come from a trusted source.

See Also


Designing Reports for the RoleTailored Client
Redesigning Classic Reports with Visual Studio Report Designer