Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Display template: How to display occurrence/object subtype?

edited July 2018 in Installation

In EN15907 (filmography), there are different types of events.

Is it possible to define a display that shows the occurrence-subtype of such an event?
Since this is not a metadata element, I couldn't find it in the configuration documentation :(

For example, the event subtypes here are:

  • occurrences
    • Production event
    • Publication event
    • Award
    • IPR Registration
    • Preservation event

And I would like to have an output display like this:

Type: Production event (<- How to do that?)
Date: ^ca_occurrences.cws_Date
Name: ^ca_occurrences.preferred_labels

Any help/hints greatly appreciated :)

Comments

  • If these are configured as occurrence types, the code would be: ^ca_occurrences.type_id

  • @Jonathan: Awesoooome! Thanks :)

    ...one small additional question:
    Which bundle-specifier is to be used for data entered in relationship-UIs?
    (e.g. Object<>Entity relationship)

    The API documentation lists only the main bundle-specifiers, like objects, object lots, entities, etc.

  • Think I've found it! :grin:
    I've made a configuration export (XML) to check the bundle-specifier names in there:
    <userInterface code="cws_ui_hasagent" type="ca_objects_x_entities" typeRestrictions="HasAgent" includeSubtypes="0">

    So, "ca_objects_x_entities" is the bundle-specifier for these relationship-UIs.

  • Yes, that's correct!

Sign In or Register to comment.