Setting metadata on default fields in module based-assay

LabKey Support Forum (Inactive)
Setting metadata on default fields in module based-assay Will Holtz  2015-01-21 13:37
Status: Closed
 
Hi,

In a module-based assay I define assay domains via batch/run/result.xml. For the fields I define in these files, I can set metadata. However, I am unable to set metadata for default fields (Comments, Flag, etc) because Labkey gives an error if I try to list these in the domain xml files. Is there a way to automatically apply metadata to such fields in a module-based assay? In particular I am trying to set the Hidden, ShowInInsertView, ShowInUpdateView, and ShowInDetailsView fields.

thanks!
-Will
 
 
Jon (LabKey DevOps) responded:  2015-01-21 16:44
Hi Will,

You can define those values, but you would be defining them under the queries directory rather than the domains one.

So in this case, you would go to <module-name>/assay/ASSAY_NAME/queries and then edit the Data.query.xml, Run.query.xml, and Batches.query.xml files respectively instead of editing those XML files under the /domains directory.

For more information, please review the document here on the Assay Type development modules - https://www.labkey.org/wiki/home/Documentation/page.view?name=moduleassay

Let us know if you have any further questions!

Regards,

Jon
 
Will Holtz responded:  2015-01-26 08:49
Thanks Jon, that worked.

-Will