AnsweredAssumed Answered

Updating an attribute on the Feature Layer tied to a Survey123 Survey

Question asked by mottesen_cityworks on Jun 7, 2018
Latest reply on Dec 19, 2018 by mottesen_cityworks

I have a survey in Survey123, I added a field to the Feature Layer associated with that survey that's not one of the survey questions. I'm trying to update the value of the field using set_value(field_name, value). The method is returning true, yet the new value isn't actually getting updated when I check in AGOL.


lyr = FeatureLayer(url, gis)

rows = lyr.query(where clause)

for row in rows.features:

    status = row.set_value("field name", "field value")




status will be True, yet the new value isn't sticking