Jennifer Häfner
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
1 year ago
#34255
::
Hi,
Unfortunately, there’s currently no easy way to view where a JS library is used. Libraries can be used in applications, modules and widgets, but also in Client-Side Business Objects and other JS libraries. Have you checked these artifacts yet?
However, if you have access to your Simplifier instance’s SQL database, you can retrieve the app dependencies of the library with the following SQL statements:
SELECT lib.id, lib.name, lib.version, app.name
FROM Lib as lib
JOIN Lib_App_Dependency as libToApp ON libToApp.libraryId = lib.ID
JOIN App as app ON libToApp.applicationId = app.id
WHERE lib.name = "";
Or for other library dependencies:
SELECT lib.id, lib.name, lib.version, depLib.name, depLib.version
FROM Lib as lib
JOIN Lib_Lib_Dependency LLD on lib.ID = LLD.dependingLibraryId
JOIN Lib as depLib ON depLib.ID = LLD.libraryId
WHERE lib.name = "";
Just let me know if you can use these SQL statements or if you need additional statements.
I will add a feature request for the functionality to read a library’s references.