Create Equipment and Herd assets question types, add them to FarmOS ID question
We have several questions where we should be referencing or creating Equipment and animal Group, but we don't have the ability to list and select available items from a farmOS instance. I would like to have separate Equipment and Group questions, structured exactly like the Field question types.
-
Create an question (matrix and non-matrix) that works exactly like the Field question in terms of it's form and organization, but references Equipment assets only -
Create an question (matrix and non-matrix) that works exactly like the Field question in terms of it's form and organization, but references Group assets only (Group assets are used as Herds) -
Add options for Equipment and Group in the FarmOS ID type question, and ensure that any items show up the Equipment and Group question types later in the survey (same behavior as Plant and Field now).
How to store the data -- Group
// "farmName": "austic-farms-test.farmos.net", // <-- this isn't needed anyway, could be removed from Land asset
"url": "austic-farms-test.farmos.net",
"name": "Field on Arden Rd.", // group name now
"id": "d50dcee3-9e40-4d7a-a7e1-b27ea3759e9f"
How to store the data -- Equipment
// "farmName": "austic-farms-test.farmos.net", // <-- this isn't needed anyway, could be removed from Land asset
"url": "austic-farms-test.farmos.net",
"name": "Field on Arden Rd.", // equipment name now
"id": "d50dcee3-9e40-4d7a-a7e1-b27ea3759e9f"