Select to view content in your preferred language

Copy All (into another layer) not working on iOS

942
9
11-16-2022 08:45 AM
PaulPetersen1
Frequent Contributor

I'm trying to use Copy All to copy both geometry and attributes from one layer to another. Works great on Android, but does not seem to work on iOS...copies the geometry, but none of the attributes. Is this a known limitation on iOS??

Tags (2)
0 Kudos
9 Replies
KevinBurke
Esri Contributor

Hi @PaulPetersen1 

 

Thank you for sharing that information.

 

Which version of Field Maps are you working with? 

Is this a recent issue you've encountered on iOS using this same data due to a recent app update?

If needed, would you be able to share a map/data with us to test with on our end?

 

Thank you.

-Kevin

0 Kudos
RhettZufelt
MVP Notable Contributor

On our iPhones and iPads it seems to be working as expected.  The fields need to be exactly the same in each dataset.

I only have one common field (Notes) for testing, but CopyAll put new feature in that location and copies the info from the only matching field.

R_

 

0 Kudos
PaulPetersen1
Frequent Contributor

@KevinBurke , I'm using v.22.4.0 on both Android and iOS. Both layers have the same fields. It's the first time I've tried using the feature, so can't relate it to an update.

Strangely, the functionality works in iOS if I just copy the attributes and create a new geometry, but fails if I try to copy both geometry and attributes.

Unfortunately I cannot share the app on this board.

0 Kudos
KevinBurke
Esri Contributor

@PaulPetersen1 would it be easier for us to work together via email and potentially share data that way? If so, my email is kburke@esri.com

Even if you cannot share the data, perhaps a video of the issue happening on the iOS device?

Thank you

-Kevin

0 Kudos
RhettZufelt
MVP Notable Contributor

Maybe this is one of those issues resolved by un-installing the App and re-install???

I have 22.4.0 on my iPhone and have a hosted feature layer with two point fc's in it.  I just added several fields so they both have them in common (some with domains in the original, some without).  The CopyAll is snapping me to the copied point, and populating the common fields with the data entered.  Even switch and combo box fields are being populated.

I have some conditional visiblility statements in there but NO calculated expressions if that makes a difference.

R_

0 Kudos
PaulPetersen1
Frequent Contributor

@KevinBurke , I actually got it "fixed". For some reason, the editing template attribute was not copying over from the source to the target on iOS (even though they share the schema field names and domains). That was blowing everything up, as that attribute drove hide/show functionality on the rest of the form groups. I ended up just defaulting/hard-coding that particular attribute in the target layer, and then things started working a bit better. However, it was still not copying over other attributes that were not contained on the smartform. So the last step was to create another group of non-editable attributes at the bottom of the smartform (not-expanded by default)...simply to "receive" these other attributes. Now it working fine.

I will still note that I had to do neither of these steps on Android...everything just copied over perfectly on the first try, without these modifications. I think this is one of those shrug my shoulders and move on kind of things.

KevinBurke
Esri Contributor

Thank you for that explanation @PaulPetersen1 and I am glad you got it working on iOS. That is certainly a strange issue and I am definitely curious why you had to do that. Therefore if at all possible using schema only test data if you are able to share that use-case with me via my email, that would be great so that I could dive into that deeper. 

0 Kudos
NataliyaLys
Frequent Contributor

I know its an older post, but I'm having the same issue. I'm trying to copy features with attributes, and it works as expected on Android device, but it doesn't work on iOS. On iOS only some attributes are being copied over. It seems like attribute with domains are the ones that are not getting copied over. @KevinKevin any suggestions? I should add that my data is in the ArcGIS Enterprise 11.2. I also verified that I'm using the latest version of the Field Maps on all devices. 

0 Kudos
KevinBurke
Esri Contributor

Hi @NataliyaLys 

Sorry for the delayed response. I have a few questions:

- How are you performing the copy? Are you using Copy Attributes or Copy All?

- Are you copying within the same layer or across layers?

- Is the data in Enterprise 11.2 a hosted feature service or from your SDE geodatabase?

- Is this a new workflow or an existing workflow where this used to work previously on iOS?

Thank you

-Kevin

 

0 Kudos