Select to view content in your preferred language

Splitting tool wipes values from AGOL feature service when using ArcGIS Pro 2.9.0

3909
11
01-09-2022 10:03 PM
PaulHarrison
Occasional Contributor

Hi,

I've just upgraded to ArcGIS Pro 2.9.0.  When I try to split a polygon stored in an ArcGIS Online feature service using ArcGIS Pro all the values are cleared from the fields in the resulting polygons.  I am aware of the Split Policy that can be updated for a feature class in a GDB but I can not find anything similar to update for an AGOL feature service.

Can someone please give me a nudge in the right direction if you have experienced before and found a solution.

Cheers.

Paul.

11 Replies
BRENNEJM
Regular Contributor

@willbruce_KarukTribeDNRThanks so much for this! We have a large hosted feature layer and just ran into this issue, and I was worried I was going to have to comb through the json definition to update the merge policy on every field. This script helped me iterate through all 81 layers and 2,931 fields in about 8 minutes, and fixed 354 fields. Such a time saver!

0 Kudos
Woosh_AP
Occasional Contributor

This, with some significant tweaking of the script, was the only method that worked for me. Thank you!

0 Kudos