By default, the installed Analyst client will use the host name of the TIBCO Spotfire Server when generating absolute URLs. For example:
- http://myServerHostName/spotfire/wp/OpenAnalysis?file=/myFolder/myReport
Version 7.6 and higher:
You can also explicitly provide a public address/endpoint which will be used when generating absolute URLs. It should always be configured and enabled if Spotfire Server is accessed through a load balancer or reverse proxy. To do this use the following commands, depending on the version of the TIBCO Spotfire Server:
- Version 7.9 and higher:set-public-address
- Version 7.8: config-public-address
- Version 7.7 and 7.6: config-public-endpoint
For example:
- Version 7.9 and higher: config set-public-address --enabled=true --url="http://serverAlias"
- Version 7.8: config config-public-address --enabled=true --url="http://serverAlias"
- Version 7.7 and 7.6: config config-public-endpoint --enabled=true --url="http://serverAlias"
This will result in URLs like:
- http://serverAlias/spotfire/wp/OpenAnalysis?file=/myFolder/myReport
To update your server configuration with this new setting, here are the full instructions:
- Launch a command prompt on the Spotfire Server machine as Administrator and browse to \tomcat\bin folder
- Export the current configuration using the following command:
- config export-config --force (this will export the configuration to the default \tomcat\bin folder as configuration.xml
- Run the following command:
- Version 7.9 and higher: config set-public-address --enabled=true --url="http://serverAlias"
- Version 7.8: config config-public-address --enabled=true --url="http://serverAlias"
- Version 7.7 and 7.6: config config-public-endpoint --enabled=true --url="http://serverAlias"
- Import the configuration using the following command:
- config import-config --comment="Add a comment here"
- Restart the Spotfire Server service
Version 7.5:
In Spotfire version 7.5, the Analyst client does not use the public endpoint/address as described above above. In this case, the installed Analyst client will only use the host name of the Spotfire Server when generating absolute URLs.
Version 7.0 and earlier:
In the "Administration Manager", set the "DXPLibraryWebURL" preference with the base Web Player URL as needed. If this preference is not set, the direct URL for the analysis will not be presented when saving analysis files as library items. This is done here:
- Administration Manager > Preferences > Everyone (or other desired group) > Application > ApplicationPreferences > DXPLibraryWebURL: http://myWebPlayer/SpotfireWeb/