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.

convertCodesToDisplayText not working on relationship type

I have an object that has a relationship with a "storage location".

Using the API i can get the idno and label of this storage location:
"ca_storage_locations.idno" : {},
"ca_storage_locations.preferred_labels": {}

Now I would like to get the relationship type (in this case "is located at"). I have used:
"ca_objects_x_storage_locations.type_id" : { "convertCodesToDisplayText" : true }

This returns the type_id allright, but the "convertCodesToDisplayText" isnt working. I get the numerical id "181" and not the label value "is located at".

What am I doing wrong here?

Comments

Sign In or Register to comment.