These are chat archives for collectiveaccess/support
We have some trouble in displaying interstitial data by using display templates in pawtucket2.
We have a field ‘Author’ with element code ‘marc700’, which consists of a container with element code ‘marc700_line1’, this container subsequently consists of an element with code ‘marc7009’ of type ‘Text’. This field is bounded to ‘object<=>entity’ relationship. We use ‘Author’ to fill in relationship data on a relationship screen (interstitial). When we access this field on object detail page in Pawtucket2 nothing appears, although data is shown correctly in Collective Access (version 1.6.1).
In Pawtucket2 object detail page (\views\Details\ca_objects_default_html.php) we use the following display :
<unit relativeTo="ca_entities" restrictToRelationshipTypes="aut" delimiter="<br>">
<unit relativeTo="ca_objects.related" delimiter=", ">
Type restriction “aut” (restricting results to a particular author type) is working and preferred labels of entities are displayed correctly. However, the second ‘<unit>’ tag gives no results. With this tag we want to show the ‘Author’ interstitial information. We tried various combinations in ‘relativeTo’ attribute but no success. We used examples given in the documentation, but nothing worked. Any help to solve this problem?