earlier is used to keep it same , but now if i need the update data then i need to update the file name both in form and media section , then it will update
So your concern is that it should work without changing the filename (even when you update the CSV file)? Did I get you correctly?
Yes and this was what used to happened earlier without any issue , other wise think of the situation if a data need to be changed daily what i have to do is daily change in xls form and daily file name change will be required , and after some day redeployment will stop due to number of redeployed restriction.
earlier method was much simpler and easy , now it has become more complicated and problematic
@caneeraj, I did this and observed the following:
- Uploaded the xlsform to the server that had pulldata function.
- Uploaded the CSV file.
- Deployed.
- Observed that I was able to pull data from the CSV normally.
- Now updated the revised CSV file (with some new records) and replaced them from
SETTINGS>Media
. - Redeployed the survey project.
- Observed that it did not pull the information from the updated records (in either
Collect android app
orEnketo
.
Is this the same case you are having? I tested this with the HHI server.
Update: I also removed the CSV file (from the server) and then collected the data with Enketo
and Collect android app
and was still able to pull the data that was loaded in the SETTINGS>Media
previously even when there was no CSV file currently loaded for this project. Test based on what @york_rff has reported here:
Yes , Exactly the same is happening
@caneeraj, @hamayoon_amini2010, the temporary workaround for this is the following workflow:
When you are designing a new project:
- Design survey project (from form builder or upload an xlsform)
- Upload CSV file/media file
- Deploy
In cases where you simply wish to update your CSV file from an ongoing survey project:
- Delete the CSV file that is present in the server from SETTINGS>Media
- Update your CSV file and then upload the same back to the server
- Go to FORM>Edit
- Make no changes but simply press the SAVE button
- Redeploy
HI @Kal_Lam
It worked , Thanks
but as i know there is some limit on number of redeployments , so i afraid i may not be able to use after few days as i will be barred in this.
Cheers !
Neeraj
@caneeraj, this has been fixed. So now once you upload your CSV file or any other media files, you will need to deploy/redeploy.