POST
|
You all really should check out this. Have not had a problem with the exporting of pictures with features using this approach. Watch the video and be sure to check out the comment they referenced in the video. (posted comment below for simplicty) Getting Attachments down from ArcGIS Online — Cloudpoint Geographics Inc. Great article! It helped a lot! Fantastic article. To follow up on gisucato's question, here's how I was able to export the attachments with a name that will help me tie it back to the feature class (keep in mind that all my attachments are jpeg's). 1. Add a new unique identifier field to your feature class (for the sake of this example I'll refer to the UniqueID field as GIS_ID). Populate that field with a unique ID (use the field calculator to populate it with the ObjectID, incremental id, etc.) 2. Add the same field (GIS_ID) to your attachment table, but don't populate it yet with any info. 3. Perform a table join on the attachment table back to the feature class using the 'REL_GLOBALID' field from the table and the 'GlobalID' field from the feature class. 4. Use the field calculator to populate the GIS_ID field in the attachment table with the values in the GIS_ID field from the feature class. Remove the join. 5. Add another field to the attachment table called 'FileName'. 6. Use the field calculator to calculate the 'FileName' field in the attachment table with the full file name, including the extension (ie, [GIS_ID] + ".jpg"). There are plenty of ways to populate this info if you have different attachment file types but I won't get into that here. 7. Within the ExportAttachments.py file change the search cursor value of 'ATT_NAME' (found on line 7) to match the name of the field in the table which contains the newly created file name (in this case, 'FileName'). Save the .py file. 8. Run the tool. Voila! Your attachments will have a file name that matches the unique ID in your feature class. 9. If you wanted you could then add another field in your feature class and populate it with the full attachment name (via a table join and field calc) to use as a hyperlink field.
... View more
03-12-2015
08:41 AM
|
1
|
1
|
4573
|
POST
|
Sorry - Yes iPhone 6 and an iPad were both tried during the process. We had a single person with a single credential used. They logged out of each device before switching to the other device and logging into collector. Edit permissions etc. were all at publisher (esri user group level) and editing/syncing enabled for the collection feature.
... View more
03-11-2015
08:38 AM
|
0
|
0
|
256
|
POST
|
Doing a simple point collection in Collector. Few fields in the form to fill out and attache a couple of pics. Using most recent iOS updated 10.3. Tried to collect 50 features and had failure rate of about 60%. This was using connected application (nothing was offline) with sync enabled and single user in the field. Each time we had an error it was com.esri.arcgis.runtime.error error 498. Screen shot posted. Any thoughts on what would be causing this. Very frustrating with 60% success rate. Thanks Zac
... View more
03-11-2015
08:18 AM
|
0
|
2
|
2961
|
Title | Kudos | Posted |
---|---|---|
1 | 03-12-2015 08:41 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|