Contents of this Article
Setting Up Reports
To start setting up a Report, navigate to the Report Library via the "Lab Automation" Toolkit > Reports.
And click the "New Report" button.
Let's break down some of these fields:
"Schema" is the layout for the report-generated table.
[
{
renderAliquotContainerLocation: true,
pathToAliquotContainer: "aliquotContainer"
},
{
displayName: "Strain",
path: "sample.material.strain.name"
}
]
"Query" is a fragment of data that we want to fetch from our GraphQL endpoint.
The "Report Hook Source" is where this report will be accessed. For example, Plate lets us launch this report from the Plate record view.
fragment myCustomFrag on aliquot {
id
sample {
id
material {
id
strain {
id
name
}
}
}
aliquotContainer {
id
rowPosition
columnPosition
}
}
"Report Hook Type" is the primary entity we are querying.
"ID Field Name" is used to filter the query.
After creating the report, we are left with a boring page:
This tells us that the report will not display any information unless launched with an ID of a different record.
Adding Information to a Report
To do so, let's create a microbial material plate and visit its record view.
We now have a selection with a launch report button. We can select the name of our report and click launch report.
Here is the custom report table with our data displayed in the format we chose. We can view/search this table and also export it using the export button in the footer.
This was a simple example but you can deeply customize this table view with lot's of data. Feel free to reach out for help setting up a custom report view!