Difference between allowedFilePaths tag in Spotfire.Dxp.Worker.Automation.config and Spotfire.Dxp.Worker.Host.exe.config 

Difference between allowedFilePaths tag in Spotfire.Dxp.Worker.Automation.config and Spotfire.Dxp.Worker.Host.exe.config 

book

Article ID: KB0074903

calendar_today

Updated On:

Products Versions
Spotfire Automation Services 7.5 and higher

Description

Difference between "allowedFilePaths" tag in Spotfire.Dxp.Worker.Automation.config and Spotfire.Dxp.Worker.Host.exe.config 

Issue/Introduction

Difference between allowedFilePaths tag in Spotfire.Dxp.Worker.Automation.config and Spotfire.Dxp.Worker.Host.exe.config 

Resolution

The settings in the Spotfire.Dxp.Worker.Host.exe.config  file are common to both the Automation Services and also the Web Player services.

The allowedFilePaths in the spotfire.dxp.worker.host.exe.config  is used by the analysis file data source e.g to open file from a shared drive, and the one in the Automation configuration is used for exporting the files in txt, pdf, sbdf formats.

Refer to the below KB articles to configure the allowedfilepaths 

Allowedfilepaths to Open File Via WebPlayer
https://support.tibco.com/s/article/How-to-configure-access-to-local-and-shared-network-directories-for-the-TIBCO-Spotfire-Web-Player


Allowedfilepaths to Open File Via Automation Services
https://support.tibco.com/s/article/Automation-task-Open-Analysis-from-Library-fails-with-error-Failed-to-open-data-source---System-UnauthorizedAccessException-Cannot-access-file

Allowedfilepaths to Export PDF/SBDF/CSV
https://support.tibco.com/s/article/Automation-Services-Export-Image-failed-with-System-UnauthorizedAccessException-Access-to-the-path-Servername-SampleFolder-Sampleimage-png-is-denied