Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
How do I access a file from the Web Player that contains linked data not saved in the Spotfire Library?
Solution:
Accessing linked files that are outside the Webplayer Server has to be explicitly enabled in the web.config file. There are two ways of addressing this:
#1) Specifying the individual shared drives in the 'AllowedFilePaths' parameter:
=======
<setting name="AllowedFilePaths" serializeAs="Xml">
<value>
<ArrayOfString>
<string />
</ArrayOfString>
</value>
</setting>
========
The string value in there has to be modified with the UNC patch of the network drive.
Ex:
<string>\\srv1\share\</string>
#2) This would be the easiest alternative. Add the following parameter in the web.config file.
===============
<Spotfire.Dxp.Data.Properties.Settings>
...
<setting name="AllowAllFilePaths" serializeAs="String">
<value>True</value>
</setting>
</Spotfire.Dxp.Data.Properties.Settings>
===============
Once this setting is added in the Web.config file, restart the application pool and then try accessing the files in WebPlayer.
Note: To be able to use the second option, the WebPlayer needs to be at or above the TS_4.0.2.6 HF-004 patch level.
Note: Only use either one of these options.
Note: For any of these options to work, make sure you are running the WebPlayer Application Pool has required access to the shared drive. By default Spotfire WebPlayer application pool runs as 'NETWORK SERVICE' and you don't have access beyond the WebPlayer server machine. You may need to run the application pool as a custom user account, add the user to 'IIS_IUSRS' group and then provide required access to the shared drive for the user.
Note: Restart the WebPlayer after making any changes to the web.config file.
Comments
0 comments
Article is closed for comments.