Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Adding metadata field order display logic to the viewer's " i " Information

    • Product: Rosetta
    • Product Version: v5
    • Relevant for Installation Type: Local




    This display logic can be added to any metadata field.

    In this example we want the http link to a high resolution jpeg to display at the top of the "Descriptive Data - IE DC" window when you click on the " i " button.



    1. Connect to the Management module and select the appropriate institution


    NOTE: This is an institution-level configuration.


    NOTE: DC element must already exist in the ingest metadata in order to display in the viewer.


    2. Go to: Home > Deposits > Advanced Tools > Delivery XSL Files > Details > ie.xsl


    3. Click "Edit"


    4. Add the following code in the appropriate location in the file:


    NOTE: Asterisk in "xsl:for-each select=" below refers to each DC element (i.e. go through each DC record element)

              <div class="typeC">
                <div class="formDiv">
                  <xsl:apply-templates select="/metadata/ie_metadata/ie-dc/dc:record" />
                  <xsl:for-each select="/metadata/ie_metadata/ie-dc/dc:record/*">
                    <xsl:variable name="dcFieldName" select="local-name()" />
                    <xsl:if test="string(.)">
                        <xsl:when test="contains($dcFieldName,&apos;fulltext&apos;)" />
                          <div class="line clearfix width98">
                            <div title="Title" class="width20 fieldName">


    5. Add the following code in the appropriate location in the file (towards the end):


      <xsl:template match="dc:record">
        <xsl:if test="dcterms:relationHighResolution">
          <div class="line clearfix width98">
            <div title="Title" class="width20 fieldName">High Resolution</div>
            <div class="width50">
              <xsl:element name="a">
                <xsl:attribute name="href">
                  <xsl:value-of select="dcterms:relationHighResolution" />
                <xsl:attribute name="style">color:blue</xsl:attribute>
                <xsl:value-of select="dcterms:relationHighResolution" />


    6. Click "Save"


    7. Clear your browser's cache


    8. Navigate to the IE and click "View", then " i " to confirm that  "dcterms:relationHighResolution" is listed at the top of the metadata display.




    • Article last edited: 20-Feb-2017