Links to e-resources
Folio can display links to electronic resources on the title details screen:
Create object setting for the e-resource
- Go to OPAC> Configuration Settings.
- Click new record to create a new entry in the tidetails array of g_title_details, called "objn":
Field | Example data | Description |
---|---|---|
Config Block | g_title_details | |
Setting | tidetails | |
Description | [any text] | |
Value | objn | |
Value 2 | "PDF/e-book" | Field label text |
Value 3 | "Click here to display;0;1" | |
Allowable values | ||
Sequence 1 | 4 | |
Sequence 2 | 10 | Sequence of the Object field in relation to other fields in Folio Title details. |
Include? | Yes |
Without any further configuration Folio will now display the links in record details, with the Object's Title as the link text and if this is blank, then the Object's Locator.
Additional configuration
More configuration is possible for the display of objects in Folio record details.
Multiple attachments
If your Title records often have more than one attachment, you may prefer to have the Code field populated in each of your Object Types records. This is optional - if not implemented, the attachments will still display, but in a single continuous line.
- Go to System Administration> Object Types.
- For example, open the PDF file object type in modify mode.
- In the Object Type Code enter a number (0-9):
Short Description | |
---|---|
Long Description | PDF file |
Object Type Code | 1 |
Application | AcroExch.Document |
DB Format | Binary |
Locator | Filename |
Mime Type | application/pdf |
Default file extension |
Link text and field label
Link text: by default, the Title field in the Object record is displayed as the link text:
If blank, the record's Locator is displayed.
Field label and display text: e.g.
PDF/e-book
Click here to display in a new tab
These are set in the objn tidetails settings in Value 2 and Value 3. These determine the text displayed for objects in the Folio details screen:
Field | Example data | Description |
---|---|---|
Value | objn | |
Value 2 | "PDF/e-book" | Field label |
Value 3 | "Click here to display in a new tab; 4;1" |
The text string for for the link text if the object record's Title field is blank. Enter Object code numbers as a comma separated, semi-colon delimited list of numbers, e.g. 0;3;9; 4 is the object code number 1 displays in front of object link. |
- If the object's Title field is empty, the text that you enter in double quotes before the first semi-colon is displayed instead
- If you don't enter anything in the Value 3 field before the first semi-colon, the object's Locator will be displayed as the link text
- If this setting is for specific Object Types, the Code number(s) are entered after the first semi-colon
- Specify whether to display the object type Long or Short Description in front of the link by including a 1 or a 2 after the second semi-colon.
(e.g. Web page: www.oclc.org instead of just www.oclc.org)