Hi here
I am working with a large survey123 form (3000 lines or so) and I am looking to embedd it within an Experience Builder application I am working on. I want my users to be able to open forms and edit them within the survey rather than just always creating a brand new survey. But when I select this it provide the error below.
I might be missing something really obvious but if anyone knows how to fix this it would be great
ATB
-Ed
Solved! Go to Solution.
Location data such as the polygon was exposed, once this was exposed it fixed the issue as it was able to localed a GUID
Hi Ed,
Where are you getting that error? In the Survey123 form? If so, is there a globalId parameter in the URL? (ex. '...?globalId=64830edf-9009-4ba3-82a3-0d9ea42de66b&mode=edit')
In order to view/edit an existing record, the globalId of the record needs to be passed to the survey using a URL parameter.
See below 🙂
As the error says, GID was not provided. Either the survey wasn't set up properly in EB, or your permissions are wrong. Double check both these items.
Where are you seeing the error though? In development, or in the deployed app.
Regarding survey set-up, it should be pretty straight forward (Example below). In this case, simply selecting an item passes along the GID because "Edit an existing record" is selected. Everything else is automated.
Also check that the account accessing the EB site has permission for the survey as well.
See below 🙂
Hi both
I am going to respond to both of you at the same time.
I am getting that error when the survey in embedded within the ExperienceBuilder App. I am a creator so have full rights to both the survey and app. The error appears in both the edit and published
and for Kelly where would I do this if that is the answer, within connect or in the map view of the table feature services in AGOL?
Thanks both
-Ed
How is the survey set up in EB? If it is like my screen shot, and set to "Edit an existing record", then the GID is automatically added when you click on a feature in the web map.
Are you sure that the survey being used and the data displayed no the web map are the same? The data displayed on the web map should be the same data the survey is built on top of.
Hi there
Yes the survey is set up the same way and it is when the "edit an existing record" is chosen that the error screenshot appears. I have been investigating further and this seems like I may be due to data not appearing in the map which is being caused by another issue. Once I hav got this resolve I will come back to this thread to discuss further