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.

how to show list hierarchy of an object's metadata element?

I am having trouble displaying a list hierarchy in Pawtucket. For example, when I navigate to an object record and look at its installation group, I see "SRB walkthrough", when I expect to see "Major projects > SRB walkthrough". Using ".hierarchy.preferred_labels.name" doesn't seem to help, either.

Here's the background:
For objects, I have a metadata element called "install_group_var" that reads data from a hierarchical list called "installation_group".

The "installation_group" list has data like:

Major projects
- 747
- OV-105 shuttle stack
- SRB walkthrough

In Pawtucket, I modified the file ca_objects_default_html.php in my theme to show the installation group for a given object. I added the code:
{{{<ifdef code="ca_objects.install_group_var"><HR><H6>Installation group:</H6>^ca_objects.install_group_var</unit><br/></ifdef>}}}
For one of my objects, this prints out the text "SRB walkthrough".

So, to try to get the entire hierarchy tree, I tried this code instead:
{{{<ifdef
code="ca_objects.install_group_var"><HR><H6>Installation
group:</H6>^ca_objects.install_group_var.hierarchy.preferred_labels.name</unit><br/></ifdef>}}}
For the same object, this doesn't print anything at all.

Am I missing something? Thanks in advance for your help!
Sign In or Register to comment.