Use the following example query against the Spotfire database to generate a list of analysis files referencing the data connection:
select
y.TITLE Analysis_File_Name
from LIB_RESOLVED_DEPEND x
join LIB_ITEMS y on x.DEPENDENT_ID = y.ITEM_ID
join LIB_ITEM_TYPES z on z.TYPE_ID = y.ITEM_TYPE
where REQUIRED_ID = '91ba2f17-03b7-44e7-821e-cde6dd56b01a' and z.DISPLAY_NAME='dxp'
Important notes:
- Before executing the query, replace the REQUIRED_ID value ('91ba2f17-03b7-44e7-821e-cde6dd56b01a') in the above query with GUID of the respective data connection saved in library.
- The above query is an example tested on Microsoft SQL Server.
Disclaimer: The content of this article is for informational purposes only. The subject material may change in any new versions with no notice and there is no responsibility by TIBCO to maintain or support future access to this internal application content. Modification of any internal application content is not recommended and can lead to an unsupported configuration. It is not intended to be used "As Is" in a Production environment. Always test in a Development environment.