Deep Links – New UI

For deep links in the new Primo UI (which is also used for Primo VE), we no longer use the syntax that was used for the classic UI. Instead, we simply use the URL that appears for a specific page in the browser. The easiest way to create a deep link in the new UI, is to perform the action that you want to use as the basis for the deep link (such as basic or advanced search) and then copy the URL that appears for that action in the browser. You can then adjust the URL as needed.

 

Examples

 

Primo:

ActionURL
Basic Searchhttps://<hostname>/primo-explore/search?query=any,contains,history&tab=<tab_code>&search_scope=<scope_name>&vid=<view_code>
Full Displayhttps://<hostname>/primo-explore/fulldisplay?docid=<doc_id>&context=L&vid=<view_code>&search_scope=<scope_name>&tab=<tab_code>&lang=en_US
Advanced Searchhttps://<hostname>/primo-explore/search?query=any,contains,history,AND&query=creator,contains,David,AND&tab=<tab_code>&search_scope=<scope_name>&sortby=rank&vid=<view_code>&lang=en_US&mode=advanced
My Library Cardhttps://<hostname>/primo-explore/account?vid=<view_code>
Loginhttps://<hostname>/primo-explore/login?vid=<view_code>

 

Primo VE:

ActionURL
Basic Searchhttps://<hostname>/discovery/search?query=any,contains,life&tab=<slot_code>&search_scope=<search_profile_code>&vid=<institution_code:view_code>
Full Displayhttps://<hostname>/discovery/fulldisplay?docid=<doc_id>&context=L&vid=<institution_code:view_code>&lang=en&search_scope=<search_profile_code>&tab=<search_slot_code>
Advanced Searchhttps://<hostname>/discovery/search?query=any,contains,history,AND&query=creator,contains,David,AND&pfilter=lang,exact,eng,AND&tab=<search_slot_code>&search_scope=<search_profile_code>&vid=<institution_code:view_code>&mode=advanced
Search with wildcard with conditionsYou can perform a broad search with a wildcard with one or more conditions, for example:

https://<hostname>/discovery/search?query=any,contains,”*”&tab=<slot_code>&search_scope=<search_profile_code>&vid=<institution_code:view_code>&facet=rtype,include,books

Note:

  • This is supported only for local records
  • You can use either ‘pre-filters’ or ‘facets filters’. Note that it is not supported with ‘top level facets’
My Library Cardhttps://<hostname>/discovery/account?vid=<institution_code:view_code>
Loginhttps://<hostname>/discovery/login?vid=<institution_code:view_code>