We are trying to pulldata from a field in a feature layer to find the last value in the table and increase it by 1 to get a unique ID, however we are getting a token error when the survey is accessed by someone without permission to the feature layer. What is the best way to make this field available to the public without exposing the rest of the fields in the feature layer?
You need to make a View layer. Easiest way is:
thank you! We are still getting this error when trying to submit
{"error":{"code":500,"message":"JSONObject[\"objectid\"] not found.","details":["JSONObject[\"objectid\"] not found."]}}.
The FL view we are submitting to has the following settings:
Could this be the problem?