Cannot download files from a proxy server - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Web Client Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10

The following problem may occur when you attempt to download files from a Web Client site hosted on a domain that is external to the SmartPlant Foundation server.

Problem

You get an error downloading files when using actions, such as Save Target As or Export Transmittal, when the external file URLs are passed to the SmartPlant Foundation server. The download fails because the SmartPlant Foundation server cannot resolve the file URLs.

Solution

When your system hosts the Web Client on a proxy server, you can download file requests to a SmartPlant Foundation application server using the following configuration item FileDownloadMapping to map the file URLs. The configuration item is located in the web.config file in the SmartPlant Foundation server:

<add key="FileDownloadMapping" value="From|To" />

For example:

<add key="FileDownloadMapping" value="some.external.domain/SPFViewDir|some.internal.domain/SPFViewDir" />

In this system deployment, the mapping is from the external URL http://some.external.domain/SPFViewDir/File1.txt to the internal domain URL http://some.internal.domain/SPFViewDir/File1.txt.

The mapping between the servers must be set using the correct URLs so that files can be downloaded to the client.