Reply To: How to show Collecting Trip inside Collection Object form

Home Forums User Forum How to show Collecting Trip inside Collection Object form Reply To: How to show Collecting Trip inside Collection Object form

#3177
AvatarNielsKlazenga

Hi,
Sorry that took so long. I only discovered the User Forum today.

In case you haven’t already resolved this, Collecting Trip is linked to Collection Object through Collecting Event, so in order to get it into your Collection Object form, you need to use a Collecting Event subform.

Here is what it looks like for us:

Screenshot of MEL Collecting Event subform showing Collecting Trip query box.

You’ll find the code in our botany.views.discipline.xml views on GitHub. The code for the Collecting Trip query box is the bit that starts at line 1037:

<row>
    <cell type="label" labelfor="43"/>
    <cell type="field" id="43" 
            name="collectingTrip" 
            uitype="querycbx" 
            initialize="name=CollectingTrip;title=Collecting trip" 
            colspan="12"
    /> 
</row>
  • This reply was modified 1 year ago by AvatarNielsKlazenga.