...
Table of Contents |
---|
Introduction-
From 7.0 onwards, if the customer wants to hide any specific field from the query interface, it is possible via the external plugin.
...
Entity | File location in plugin | XML code | |||||
---|---|---|---|---|---|---|---|
Specimen | $OS_PLUGIN_HOME/src/main/resources/query-forms/specimen/ |
Hides specimen type, label, and class from the specimen filter. | |||||
Visit | $OS_PLUGIN_HOME/src/main/resources/query-forms/visit/ |
Hides the site, barcode, and name from the visit filter. | |||||
Participant | $OS_PLUGIN_HOME/src/main/resources/query-forms/cpr/ |
Hides first name, middle name from the participant filter. | |||||
Collection Protocol | $OS_PLUGIN_HOME/src/main/resources/query-forms/cp/ |
Hides short title, title from collection protocol filter. |
Note: user defined name
(udn) for the fields can be retrieved from files present at openspecimen/WEB-INF/resources/query-forms/ location on OpenSpecimen GitHub repository.
Instructions to build the plugin:-
Download the below zip file.
View file | ||
---|---|---|
|
2. Unzip the file.
3. How to build code in eclipse.
File ---> Import ---> Existing gradle project
4. The existing code is for hiding unwanted fields from specimen query fields.
5. Remove the existing XML and directory from the code and create the directory in which type you want to hide the fields.
How to build the jar
A. gradle clean
B. gradle build
After running the above two commands, the new jar will get created into $Jar-Directory/build/libs/