Product:TIBCO Spotfire Server
Versions:All
Summary:
This article describes how to extract a .dxp file from the TIBCO Spotfire Library.
Details:
There may be situations where there is no locally saved .dxp version of an analysis and it only resides in the Library. If the report cannot open then you may need a local .dxp file to make the necessary modifications that allow the file to be opened again (for example: change a data provider connection). If the report does open successfully in Web Player, then you can save a .dxp version of the analysis to your local machine with this function:
Resolution:
Versions:All
Summary:
This article describes how to extract a .dxp file from the TIBCO Spotfire Library.
Details:
There may be situations where there is no locally saved .dxp version of an analysis and it only resides in the Library. If the report cannot open then you may need a local .dxp file to make the necessary modifications that allow the file to be opened again (for example: change a data provider connection). If the report does open successfully in Web Player, then you can save a .dxp version of the analysis to your local machine with this function:
- 'Menu' > 'Open in TIBCO Spotfire'
Resolution:
- Open the TIBCO Spotfire Analyst Client.
- Ensure that you log into Spotfire Server as a Spotfire user who is a member of the 'Library Administrator' group, and that has access to the Library Administration tool.
- Select 'Tools' > 'Library Administration'.
- Select just the analysis file that you need to have as a .dxp and click 'Export'.
- Provide a file name for the library export. For example: 'myExport' and click 'OK'.
- This will save your export to your TIBCO Spotfire Server in the following default location:
<installation directory>/tomcat/application-data/library - This folder location can be verified/modified here: 'TIBCO Spotfire Server Configuration Tool' > 'Configuration' tab > 'Library Directory'
- The file name will end with '.part0.zip'. For example: myExport.part0.zip.
- This will save your export to your TIBCO Spotfire Server in the following default location:
- Recommended: Copy the Library export to your local machine for the next steps.
- Extract (unzip) your library export
- In the extracted folder, you will find several files, such as expectlastfileindicator, lastfileindicator, and meta-data.xml, but the file we are interested in is the one with a name that is a GUID (a string of random letters and numbers).
- Example: 2ba630a5-2f83-477c-b1d8-84f19603429d (Note: your GUID will be different)
- If using Spotfire 12.0 or higher, with Library compression, extract (unzip) the GUID file as well
- If you are using Spotfire 12.0 or higher, the GUID file might also be compressed and require to be extracted (unzipped) as well. If you are not sure, simply try extracting the file one more time. If that could be done, and in the extracted folder you find yet another GUID file and nothing else, use that file in the next step.
- Rename the file with the GUID as a filename by adding a '.dxp' file extension.
- Example: rename '2ba630a5-2f83-477c-b1d8-84f19603429d' to 'myAnalysis.dxp'.