Hi @Marion,
But how can I see these results in my Historical Context collection? If I can’t modify the custom form, how can I see which entries are attached to my Archive?
If you create a relationship (using the CollectionRelOneToManyPlugin) to your ‘Historical Context’ collection from another (e.g. ‘DNA & Tissue’), you can see that relationship in the rightsiderels subview as a read-only row.
So far, as in my example, you created the relationship from the ‘Historical Context’ collection (source) and linked it to the ‘Paleo Collection’ (destination), meaning the rightsiderels subview would only show that link in the Paleo collection.
If you want to see all the links coming from the current ‘Historical Context’ record, you need to add the leftsiderels subview to that form.
Does this mean that I cannot do what I want to do in Specify, i.e. see which entries in the different collections are linked to an Archive? Because it is also and above all in this collection that I want to see the connections appear. Not from the Paleo Collection, but from my Historical Context collection.
You can see all records in different collections that are linked to an Archive. It sounds like the direction of the relationships is reversed, causing that subview not to display the expected links. If you want to treat the Archive as a destination, you need to create the relationships from the source collections (‘DNA & Tissue’, ‘Paleo Collection’) rather than creating them from the Archive.
You’ll just need to decide whether the ‘Archive’ is the destination (right side), where multiple records in a collection can connect to it, or the source (left side), which connects to multiple records in various collections. Once you do, you need to create the relationships (using the CollectionRelOneToManyPlugin system or WorkBench) from the left side collection.
If you want to create the relationships from the ‘Archive’ (where it is the left side), you will want to show the relationships using the leftsiderels subview instead of the rightsiderels one. You would still need to make the connections from a separate CollectionRelOneToManyPlugin for each relationship on the form, but you could preview all relationships at once using that read-only view.
I want this result but in the Historical Context collection (not in Paleo). So far, I haven’t been able to do it. And I want to see them appear directly on the form, not via Query.
That screenshot shows you are moving in the right direction! It seems like you want to see the leftsiderels in the Historical context collection rather than the rightsiderels (since it is the source, not the destination). You can change the form definition name="" field for the subview on the Collection Object to demonstrate this!
And one last question. Does that mean I need the form plus the plugin to be able to add and view the data?
You need to use the form plugin (or WorkBench) to make the relationship between two objects. It expects that the other record already exists.
