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 2018. The Microsoft.ReportViewer.WebForms.LocalReport object is part of the ReportViewer controls that are available in Visual Studio for adding reports to your application.


    To display an external image in the Microsoft Dynamics NAV Web client or, if the network uses a proxy, then you have to configure the client to bypass the proxy. To do this, you modify the web.config file of the website that is running the Microsoft Dynamics NAV Web Server components. For more information, see Adding Images to a Report (Visual Studio Report Designer).

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

Security Considerations

Microsoft Dynamics NAV 2018 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
Configuring Microsoft Dynamics NAV Web Client by Modifying the Web.config File