Skip to main content
  • Subscribe by RSS
  • ExLibris Dev

    Adding Links to the PNX

    Links that relate to a specific record are always stored in the links section in the PNX. As noted above, the links can be static and transferred with no change from the source record, or they can be a template as shown below:
        <linktorsrc>$$U$$DOn campus access only</linktorsrc>
    Static links should be prefixed by $$U, as shown in the following example:
    <linktorsrc>$$U$$Don campus access only</linktorsrc>
    Template codes should be prefixed with $$T, as shown in the following example:
    In addition to the URL and template codes, the link fields can include the following prefixes:
    • $$D/$$E – allows you to display text for links. Links that display in the Details tab can display text in place of the link. The text is added to the field in the PNX either as simple text (which must be prefixed with $$D) or a code (which must be prefixed with $$E). The code is translated to text via the Full Display Labels code table in the Front End subsystem.
    • $$I – allows you to add an institution code to links. This will ensure that the link is visible and used only by users who belong to the institution in $$I. Only one institution can be defined.
      For example, there is a dedup record to an online e-book that requires a subscription to access it and the Primo installation is a consortium. You can add $$I to the link so that it only displays in the Details tab and is only used by the delivery manager for users belonging to INST1 and INST3. These links may appears as follows in the PNX record:
      Links/linktorsrc $$U$$DElectronic version$$IINST1
      Links/linktorsrc $$U$$Delectronic version$$IINST3
    • $$A - $$Z/$$a - $$z/$$0 - $$9 – allows you to include data required for the link. In most cases, the data that is required for the link is present in the PNX (such as the source system number or ISBN). If this is not the case, it is possible to add this data to the link field using the prefix $$, followed by any digit or English letter. The digit or letter can then be used in the template as a placeholder. This option does not apply to static links.
      For example, if the template is defined as follows:
      And the PNX record contains the following link information:
      The system will display the URL in the FE as follows:
    // feedback widged