Skip to main content
Ex Libris Knowledge Center

A Primo Full View Deep Link (dlDisplay.do) with the search_scope parameter does not change the selected Tab or Search Scope

  • Article Type: Known Issue
  • Product: Primo
  • Product Version: April 2015
  • Relevant for Installation Type: Dedicated-Direct; Direct; Local; Total Care

Symptoms

- A Primo Full View Deep Link (dlDisplay.do) with the search_scope parameter does not change the selected Tab or Search Scope
- A permalink record does not default to the search scope specified in the

Defect Status

Development

Replication Steps

1. Go to the Primo Front End
2. Select a different Tab and/or Search Scope from what is currently displayed
3. Do a search for anything that returns results
4. Go to the Details tab and click "Actions > Permalink"
5. Copy the link that is displayed
6. Open a new tab or browser window
7. Paste and go to the copied permalink
8. Note that the Tab and/or Search Scope are not the ones previously selected

Workaround

1. Go to the Primo Front End
2. Select the desired Tab and/or Search Scope
3. Perform any search, even if it returns no results.
4. Examine the URL for "scp.scps="
5. Start copying at, and include, "&scp.scps="
6. Stop copying at, and exclude, the next "&"
7. Add the copied information the end of the dlDisplay.do URL.
8. Examine the URL for "tab="
9. Start copying at, and include, "&tab="
10. Stop copying at, and exclude, the next "&"
11. Add the copied information the end of the dlDisplay.do URL.

Additional Information

The workaround will not work for dlDisplay.do URLs created by the permalinks. The construction of these URLs is hard-coded into Primo.

Workaround Example

Full View Deep Link:
http://<server>:<port>/primo_library/libweb/action/dlDisplay.do?vid=Auto1&institution=VOLCANO&search_scope=MYSCOPE&query=any,contains,bible&docId=TN_oupqrefacref-9780195377378-e-83
 
Front End Search URL:
http://<server>:<port>/primo_library/libweb/action/search.do?fn=search&ct=search&initialSearch=true&mode=Basic&tab=new_tab&indx=1&dum=true&scp.scps=primo_central_multiple_fe&srt=rank&vid=Auto1&frbg=&tb=t&vl%28freeText0%29=
 
The elements needed from the Front End Search URL are marked in bold:
  • &tab=new_tab
  • &scp.scps=primo_central_multiple_fe
Adding them to the end of the Full View Deep Link produces the URL:
http://<server>:<port>/primo_library/libweb/action/dlDisplay.do?vid=Auto1&institution=VOLCANO&search_scope=MYSCOPE&query=any,contains,bible&docId=TN_oupqrefacref-9780195377378-e-83&tab=new_tab&scp.scps=primo_central_multiple_fe
 

Category: API

Subject: Deep Link