Skip to main content
ExLibris
  • Subscribe by RSS
  • ExLibris Dev

    What is the best way to do Primo Advanced Searching with a Deep Link

    • Article Type: General
    • Product: Primo
    • Product Version: 3

    Description:
    We are using Primo 3.1.3 / 3.1.4 and we have been using search.do to perform our custom searches. We were told that perhaps we should use Deep Linking and dlSearch.do. It doesn't appear to support the advanced search features which we need. e.g. search on Author, Title, Material Type. We are also using "StartsWith" and "Contains" to do custom searches.

    We would like to be able to search on any of the fields in the PNX record.

    What is the ExL recommended approach to perform Advanced Searching using a Deep Link or API call (that will still permit us to search on the fields mentioned above or any of the PNX fields).

    Resolution:
    In the literal sense, a Deep Link to the Advanced Search screen does not exist, although I believe Enhancement Requests have been submitted by others for such functionality to be added in future releases.
    Having said that, Deep Links can be constructed using the available parameters (such as using multiple &query parameters) that will perform the same searches used by the Advanced Search screen.

    Deep Links are documented in ElCommons, and this documentation was significantly improved in Spring 2012, and is current with changes introduced in SP4.0.1:
    http://exlibrisgroup.org/display/PrimoOI/Brief+Search+(Deep+Link)

    Please note that the Deep Link Brief Search shares most of its parameters with the Xservices Brief Search, so the page above contains a link to the Xservices Brief Search page where the remainder of the Input Parameters are documented.

    I would also recommend using the &search_scope parameter instead of the &loc parameter for specifying scopes.

    Please review this documentation and let me know if you have any questions.

    If you can provide one or two specific examples of an "Advanced" search you would like to perform, we can help you create a Deep Link for that search.

    Also, fields to be searched must be in the "search" section of PNX. If facet syntax is uesd, <facet> section is used.

    Additional Information

    Deep Link Advanced Deeplink brief dlsearch intro introduction


    • Article last edited: 11/5/2013
    //doorbell.io feedback widged