Skip to main content
Exegesis SDM logo

LibraryLink 5 Documentation

LibraryLink special searches

Sometimes it is desirable to find, view and manage resources by their associations with different types of record in the linked application (e.g. CAMS, CMSi, HBSMR). For example, we might want to find images that have been linked to HBSMR Monuments without also being linked to HBSMR Event record.

Librarylink provides this ability to search by using a special search syntax that can be used in the top navigation panel's search box.

NB Resourcespace also provides a whole host of other 'special searches' and information on those can be found here: https://www.resourcespace.com/knowledge-base/user/special-search-terms

LibraryLink special search

All LibraryLink special searches start with the string !librarylink. The syntax that follows this keyword is best described by example:

Query String

Meaning

!librarylink1 Return all resources that are in any LibraryLink collections
!librarylink0 Return all resources that are not in any LibraryLink collections
!librarylink1mon Return all resources that are in any LibraryLink collections of type 'Mon'
!librarylink1mon:1event Return all resources that are in any LibraryLink collections of type 'Mon' AND also in any LibraryLink collections of type 'Event'
!librarylink1mon:0event Return all resources that are in any LibraryLink collections of type 'Mon' AND not also in any LibraryLink collections of type 'Event'
!librarylink0mon Return all resources that are not in any LibraryLink collections of type 'Mon'
!librarylink0mon:0event Return all resources that are not in any LibraryLink collections of type 'Mon' AND not in any LibraryLink collections of type 'Event'

The query can be as long as needed, each new AND clause is separated by a colon ':' character. In and Not in are defined by the numbers 1 and 0 respectively.

Record types are defined by their LibraryLink type, expressed in lowercase.

If you are unsure of the record types used in your application with LibraryLink 5, please check with your product consultants.