I’ve tried to search for an answer to this but can’t find one in the forums.
In a data-checking script that I am creating, I would like to generate a link for someone to be able to edit a particular entry in a Kobo form - for example if an issue is found, I would like to be able to send the data-entry staff member a link to the response with the error so that they can amend it.
For context, data is pulled from Kobo via the API, and we will run the script. This link should be generated away from an internet browser, and lets assume that the person opening the link is signed already and has the permissions to edit forms.
When editing a submission online, by clicking the pencil/edit icon, a page opens up that seems to be in the following format: https://ee.kobotoolbox.org/edit/<random string>?instance_id=<_uuid>&return_url=false
Each time I click to edit responses, the <random string> seems to change - can’t see any pattern there.
After opening one submission for editing, I’ve tried replacing the <_uuid> in the URL to that of another response. This doesn’t work and the following error comes up:
You can see that they are the same format. I have copy-pasted and double-checked the [uid] and [id] so there’s no typo.
In the sharing settings I have ticked the boxes that say:
Anyone can view this form
Anyone can view submissions made to this form
I have tried this link with the following:
When logged in as the project owner (i.e. with all permissions)
When logged in to an account to which the project has been shared, with all row permissions allowed
Incognito window, i.e. with nothing logged in, and therefore no permissions
In all cases the same message is returned: {“detail”:“Not found.”}
This is becoming fairly critical on our end - @Kal_Lam@nartabaza kindly are you able to suggest a solution, or if I am doing this wrong somehow? The ideal is that anyone can edit a submitted form when clicking a link, without the need to sign in - @ayitey7000 has the same need I understand.
If it would be helpful for you to look into the account/project yourselves, would be very happy to share the credentials and link in a private message.
Exactly point; this issue seemed ignored but is critical for some projects. I also get the same error; {“detail”:“Not found.”. Maybe somebody has been successful at it. Please share as edit link is problematic.
We have found the above discussion around respondents being able to edit an existing submission very interesting. However, we are having the same problem as outlined above:
When we follow the instructions, we receive an error message saying {“detail”:“Not found.”}.