Cannot download files from a proxy server - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
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 HxGN SDx 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 HxGN SDx server. The download fails because the HxGN SDx 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 HxGN SDx 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 HxGN SDx 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.