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.

Excluding media sub-element of a container when creating displays

Is it possible to exclude a sub-element of a container metadata when creating displays?

As a background, I have a container metadata for "Condition Reports" and one of its sub-elements is a media data type where we could upload and view a a complete softcopy of the condition report. As I was creating its display, I noticed that the media sub-element is still being seen in the display, even if I unchecked the 'Can be used in display' setting for it.

So far my display template goes something like this:

<unit><ifdef code="ca_objects.condition_incoming.condition_status"><b>Condition status:</b> ^ca_objects.condition_incoming.condition_status<br/></ifdef><ifdef code="ca_objects.condition_incoming.conservation_priority"><b>Conservation priority:</b> ^ca_objects.condition_incoming.conservation_priority<br/></ifdef></unit>

Is there something I could code so that the media sub-element won't be in the display anymore?

Thank you
775 x 452 - 61K

Comments

  • Are you making the whole display relativeTo the condition_incoming container?
Sign In or Register to comment.