Customising SpecimenDetail

LabKey Support Forum (Inactive)
Customising SpecimenDetail steve harris  2017-09-05 02:38
Status: Closed
 
Hi

(not sure if this is a dev question - happy to repost in the developers forum or for you to move if so)

I'm playing with the advanced specimen repository in 'stand alone LIMS' mode.

Is is possible to hide unused, non-mandatory fields on the SpecimenDetail web page. I can see some of the fields, such as for the freezer location, can be deleted, but there are many more fields that will just confuse my users so it would be great if I could hide them until needed. And how can I ensure that the configuration change survives upgrades to LabKey?

Thanks

Steve
 
 
jeckels responded:  2017-09-06 17:14
Hi Steve,

Can you post a screenshot of the specific page you're referring to?

If it's a grid view of data, you can use Grid Views->Customize Grid to curate the set of columns being shown. You can save it as the new default view, and share it with all users. This will be persisted across upgrades.

https://www.labkey.org/Documentation/wiki-page.view?name=customViews

Thanks,
Josh
 
steve harris responded:  2017-09-07 01:46
Hi Josh

Thanks for the response.

Not the grid views - the edit detail view (study-samples-updateSpecimenQueryRow.view). I suspect it is generated on the fly but I hoped there might be some config file I could edit to hide the fields used for sample request management for instance.

Steve
 
jeckels responded:  2017-09-07 17:14
Hi Steve,

Yes, you can control this, even for the "mandatory" fields. Please try this:

Admin->Developer Tools->Schema Browser
Select the study schema
Select the SpecimenDetails query
Click Edit Metadata
Choose the field you want to hide. Uncheck the Insert and Update boxes on the "Additional Properties" tab.
Save.

Thanks,
Josh
 
steve harris responded:  2017-09-11 06:01
Thanks, Josh. Brilliant!