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.

Semicolon in repeating fields

Hi:

I have a personalized display, including a linebreak (<br/> between iterations; but it keeps including a semicolon at the begining of each iteration (see attachment). The "separator" field in the display builder is blank. Is there something I can do to avoid this?

This is the code:

<ifdef code="ca_objects.inscriptionSet.InscriptionAuthorrefid">Autor: ^ca_objects.inscriptionSet.inscriptionAuthorrefid<br/></ifdef>
<ifdef code "ca_objects.inscriptionSet.inscriptionType">Tipo: ^ca_objects.inscriptionSet.inscriptionType<br/></ifdef>
<ifdef code="ca_objects.inscriptionSet.position">^ca_objects.inscriptionSet.position<br/></ifdef>
<ifdef code="ca_objects.inscriptionSet.inscriptionText">^ca_objects.inscriptionSet.inscriptionText <br/></ifdef>
1366 x 768 - 259K

Comments

  • You can set a delimiter on the unit (repeating) tag, such as:

    <unit delimiter="<br/>"><ifdef code="etc">etc</ifdef></unit>
  • Thank you, it worked just fine. Just for other people to look, this is the code in the field info.

    <unit delimiter="<br>">
    <ifdef code="ca_objects.inscriptionSet.InscriptionAuthorrefid">Autor: ^ca_objects.inscriptionSet.inscriptionAuthorrefid<br/></ifdef>
    <ifdef code "ca_objects.inscriptionSet.inscriptionType">Tipo: ^ca_objects.inscriptionSet.inscriptionType<br/></ifdef>
    <ifdef code="ca_objects.inscriptionSet.position">^ca_objects.inscriptionSet.position<br/></ifdef>
    <ifdef code="ca_objects.inscriptionSet.inscriptionText">^ca_objects.inscriptionSet.inscriptionText <br></ifdef>
    </unit>
Sign In or Register to comment.