Survey Integration
Using SurveyJS to create and integrate surveys
SurveyJS is used to create custom surveys that can be smoothly integrated into LiteFarm’s current processes. Current and planned integrations include the FAO TAPE survey, region-specific TAPE surveys, and RegenScore.
Survey creation process
Collaborate with the research group to define the survey requirements and create a custom survey in SurveyJS through projects.
Review the survey structure and ensure the questions, logic, and formatting are correct.
Make sure you add these in the end of the JSON to ensure they are saved correctly in the database (version control - TAPE example)
"calculatedValues": [ { "name": "survey_version", "expression": "'TAPE_Mornington_CAET_STEP1_2026_V1_TEST_REVISED'", "includeIntoResult": true }, { "name": "project_id", "expression": "'Mornington'", "includeIntoResult": true }, { "name": "survey_step", "expression": "'STEP1'", "includeIntoResult": true } ],
Format and download the SurveyJS JSON file.
Share the JSON with the development team so they can integrate it with the LiteFarm app.
Once integrated, the survey data is stored through the LiteFarm application workflow.
Uploading the SurveyJS file
Upload the SurveyJS JSON file to the appropriate storage bucket, starting with Beta and then moving to the app environment.
Create a custom folder if needed for the survey or region-specific version.
Upload the file step by step screenshots of the process is here:
Pick the folder
Press upload
Make sure to press “Public” once file is selected
Press “Replace” if the file is already there. ENSURE YOU NAME IT EXACTLY AS IT IS if you are replacing/updating a survey
You will see 2 surveys; don't worry, just hit refresh
Press on the 3 dots and select “Manage Metadata”
Ensure you write “no-cache” in
Cache-Controland then click “Save”
Once these steps are completed, the survey is ready to be viewed and tested.