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

    View Inheritance

    View inheritance allows Primo sites that have multiple views with similar characteristics to update a single view and propagate the changes to common areas in the other views. This is accomplished by defining a parent view and one or more child views, which inherit elements from the parent view.
    Parent views are regular views and in principle can be used by the Front End. From a management perspective, it may be easier to use them only as templates for the creation and update of other views.
    The child views can inherit the following elements from the parent view:
    • Layout (from General Attributes)
    • CSS (from General Attributes)
    • List of search scopes
    • Tabs (except for the specific search scopes that are defined per tile. Note that these tabs often differ between views.)
    • Tiles – every tile as a separate and complete element
    Since a lot of tile functionality is defined per tab, child views must have the same tab structure as the parent view to inherit tiles. If they differ, the child view cannot inherit the tiles.

    Defining Parent and Child Views

    The Edit View Attributes page (see Edit View Attributes (Parent View)) allows users to define parent and child views.
    A view that is copied from a parent view is automatically a child view.
    To define a view as a parent view, set the Is Template field to Yes. Note that a child view cannot be a parent view, too.
    To define a view as a child view, set the Inherits field to Yes.
    The view from which the child view was copied must be a parent view.
    Edit View Attributes (Parent View)

    Propagating Views

    Parent views can propagate certain parts of their setup to their child views. To do this, a user must select the Propagate button on the Views List page (see Views List - Propagate Button). The child views appear under the parent view in the list.
    Views List - Propagate Button
    During propagation, the system displays the following pages:
    • Inheritance elements – This view allows you to select elements to update in the child views. After you have selected one or more items, click Continue to display the next page.
      View Inheritance Elements
    • View Inheritance Selection – This page opens each child view and each element you selected on the previous page. It allows you to update specific views and elements for each. To update the views, select Propagate Elements.
      View Inheritance Selection
    Child views must be deployed before the changes will appear in the Front End user interface.
    • Was this article helpful?