Esri / crowdsource-manager

An ArcGIS Online group application template authored by organization and made available to operations staff to review incoming problems or observations; and assign problems or observations to appropriate staff.
Apache License 2.0
13 stars 21 forks source link

Crowdsource Manager Report could not be submitted #357

Open aparveen opened 1 year ago

aparveen commented 1 year ago

Got this issue from user community

I have a permit management application that is run through the crowdsource manager web appbuilder. They would like the past year's worth of submissions filtered out but leave ones with an approved status. I have placed a definition query on the service to accomplish this filter; however, now in crowdsource manager I am unable to make edits on that status field. I am able to make edits on other fields in the same layer.

image

I am able to change the status in the feature layers item description area where the table is viewable.

image

The goal is that when permits from last year are changed to a status of 'Completed' they will disappear from the viewable dataset in Online.

Note: it started happening only after setting the definition query. I applied the definition query in ArcGIS Pro 3.0.

aparveen commented 1 year ago

@sumitzarkar could you please look into this issue? I will try to create a repro case for you.

sumitzarkar commented 1 year ago

@aparveen

we will check and let you know the details.

Do we have any sample app to repro this case?

aparveen commented 1 year ago

@sumitzarkar stood up a simple app but I couldn't repro https://stategovernment.maps.arcgis.com/apps/CrowdsourceManager/index.html?appid=84d5130ede1d41bf9c21d3963b3a2a8b , the user data is not public, so asked her to contact support so that we can have solid repro case. At this time no action needed

aparveen commented 1 year ago

@sumitzarkar the user send me an app https://westfargo.maps.arcgis.com/apps/CrowdsourceManager/index.html?appid=d61e2fb00e7544f7b01754c1c7991064, try to edit permit status field, that field is being used in the definition query, feature layer: https://map.westfargond.gov/arcgis/rest/services/CommercialCivilSitePermitting/FeatureServer

sumitzarkar commented 1 year ago

@aparveen

Here is the data we tried to update: https://map.westfargond.gov/arcgis/rest/services/CommercialCivilSitePermitting/FeatureServer/0/applyEdits

[{
"attributes": {
"Status": "Completed",
"OBJECTID": 1211
}
}]
aparveen commented 1 year ago

@sumitzarkar Thanks so much for looking into this