Hi,
I am following the JSON guide -
https://openspecimen.atlassian.net/wiki/spaces/CAT/pages/141885618/Configuring+fields+in+specimen+tree
However when I call the custom forms custom field, it is not returning the fields data. It is returning ‘Not Specified’ when a value of ‘Greiner Tube G 1ml’ exists for the sample.
The following guide states format should be: - “expr”:“Specimen.customFields.uMMSMicrobiomeExtension.isolateNumber” But this does not seem to work.
https://openspecimen.atlassian.net/wiki/spaces/CAT/pages/53051395/Participant+Specimen+List+View+Configuration
Could you tell me if this is the correct formatting to pull the data for the custom field ‘containerTubeType’ please?
[{
“name”: “specimenTree”,
“data”: {
“fields”: [
{
“name”: “specimen”,
“caption”: “Description”,
“type”: “specimen-description”,
“width”: “200px”
},
{
“name”: “specimen.label”,
“caption”: “Label”,
“type”: “specimen.Label”,
“width”: “150px”
},
{
“name”: “Specimen.customFields.SpecimenAdditionalFields.containerTubeType”,
“baseField”: “customFields.SpecimenAdditionalFields.containerTubeType”,
“caption”: “Container Tube Type”,
“width”: “20%”
}
]
}
}]
Thanks,
John