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 templates: separator for multiple values?

I've successfully configured some display templates. Yay! :)

How can I configure which separator to use for displaying field-values that appear more than once?
The default seems to be an arrow (➔).
Didn't find this in the "Display Templates" documentation.

For example, this output:

John Smith (Cast➔Director➔Novel)
(has agent)

Is produced by this template code:

^ca_entities.preferred_labels
<ifdef code="ca_objects_x_entities.cws_Activity">
(^ca_objects_x_entities.cws_Activity)
</ifdef>
<br/>

Thank you very much in advance :)

Comments

  • I think I've found it! :smiley:

    In Display > Display List > Related entities > Delimiter/Hierachical Delimiter

  • edited August 2018

    That's right. And in the profile it's <setting name="delimiter">; </setting>

  • Thanks Julia :)

    btw: I'm still checking, but it looks like "ifdef" doesn't work to skip empty values when applying to sub-elements in a container...
    So I currently have "standalone-delimiters" displayed in that case :(

  • If you paste the display template we can help you with this.

Sign In or Register to comment.