|
POST
|
Yes, it is possible, although some things might be easier if the layer was added to the map view. If you don't add it to the map, you will probably need to instantiate the feature layer in either snapshot mode, or selection mode. This doc, ArcGIS Feature layer , contains some information about the different modes.(In contrast, the OnDemand mode is better suited for when you add the layer to the map, in which case the layer will retrieve features from the service that fall within the map's view extent.) Without adding the layer to the map, the features won't display, and users won't be able to tap on a feature to begin editing. Your app will need to handle this workflow a different way or write some code to provide this experience. To edit a specific feature, you will first need to query it using [AGSFeatureLayer queryFeatures:]. Once you have a reference to the feature, you can modify its attributes/attachments/geometry, and then send the updates back to the service using [AGSFeatureLayer applyEditsWithFeaturesToAdd:toUpdate:toDelete: ] This sample (RelatedRecordEditingSample) uses this pattern to edit records (incident notes) that are related to a feature layer (incidents). The incident notes are pure tabular data and cannot be visualized on a map, hence the feature layer that is used to edit them is not added to a map. (See NotesViewController.m )
... View more
07-22-2014
11:01 AM
|
0
|
1
|
1159
|
|
POST
|
Make sure you feature layer (agsFeature) is assigned to a strong property on the VC, otherwise it may get deallocated before the operation completes and the delegate won't be notified. Here is a doc that describes how you can simplify the code for performing attachment operations on an AGSFeatureLayer using the AGSAttachmentManager class - https://developers.arcgis.com/ios/guide/working-with-the-attachment-manager.htm
... View more
06-27-2014
09:47 AM
|
0
|
0
|
938
|
|
POST
|
Unfortunately, you cannot do this with the iOS SDK. To get more information about the REST API, try posting the question to the AGOL forum - http://forums.arcgis.com/forums/262-ArcGIS-Online-Developers
... View more
06-27-2014
09:43 AM
|
0
|
0
|
721
|
|
POST
|
To get the data out of a stranded gdb, you could write a python script. Something like this - #. Using ArcGIS Desktop, create a new File Geodatabase (for eg output.gdb) on any location. #. Open the script in an editor and edit the path like the following example: input_gdb = r'C:\temp\input.geodatabase' output_gdb = r'C:\temp\output.gdb' #. Run Script: #!/usr/bin/python # Import sys, getopt, arceditor, arcpy modules import sys, getopt, arcpy def main(argv): input_gdb = r'C:\temp\input.geodatabase' output_gdb = r'C:\temp\output.gdb' try: opts, args = getopt.getopt(argv,"hi:o:",["ifile=","ofile="]) except getopt.GetoptError: print 'test.py -i <input_gdb> -o <input_gdb>' sys.exit(2) for opt, arg in opts: if opt == '-h': print 'test.py -i <input_gdb> -o <output_gdb>' sys.exit() elif opt in ("-i", "--ifile"): input_gdb = arg elif opt in ("-o", "--ofile"): output_gdb = arg print 'Input gdb is: "', input_gdb print 'Output gdb is: "', output_gdb Temp_xml = "temp.xml" # Delete the xml workspace document if it exists. arcpy.Delete_management(Temp_xml) # Export XML Workspace Document arcpy.ExportXMLWorkspaceDocument_management(input_gdb, Temp_xml, "DATA", "BINARY", "METADATA") # Import XML Workspace Document. This assumes that the outputfile geodatabase is EMPTY. arcpy.ImportXMLWorkspaceDocument_management(output_gdb, Temp_xml, "DATA", "") # Delete the xml workspace document if it exists. arcpy.Delete_management(Temp_xml) if __name__ == "__main__": main(sys.argv[1:])
... View more
06-26-2014
09:12 AM
|
0
|
0
|
1149
|
|
POST
|
This is available as of v10.2.2 https://developers.arcgis.com/ios/guide/what-s-new-10-2-2-.htm#ESRI_SECTION1_6D46C5AE6C534B7D9C44558DD3F1A848
... View more
06-23-2014
11:02 AM
|
0
|
0
|
1111
|
|
POST
|
Unfortunately, this is not possible at this time. If you do not include existing attachments while generating a sync-enabled geodatabse, you cannot later add & sync new attachments. I encourage you to log an enhancement request for this functionality if it is critical for your workflow. You can contact Esri Support, or use http://ideas.arcgis.com/
... View more
06-23-2014
10:44 AM
|
0
|
0
|
2423
|
|
POST
|
Can you describe why you are registering the geodatabase? If you generated the gdb from a sync enabled feature service, it is already registered. You can make edits to it and sync with the service, no need to register again. Only if you make copies of that geodatabase file and wish to sync each copy independently do you need to register the copies. The server administrator can clear registered geodatabases. See Unregistering a replica - http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000rs000000#GUID-21969296-A5DB-4D06-8543-87900F68EAA4
... View more
06-23-2014
10:38 AM
|
0
|
0
|
1149
|
|
POST
|
Thanks for reporting that. We plan to fix it in the next release.
... View more
06-11-2014
08:18 AM
|
0
|
0
|
830
|
|
POST
|
Renaming the geodatabase file is fine, but note that once you do that, setting the useExisting parameter on generateGeodatabaseWithParameters:downloadFolderPath:useExisting:status:completion: method to YES will no longer be able to find the local database that matches your parameters. The way it works is that the default name of the gdb file is basically a hash of the parameters provided; this allows the API to easily search for an existing one before requesting the service. If you change the name, that will no longer work.
... View more
06-10-2014
08:23 AM
|
0
|
0
|
1723
|
|
POST
|
Hi, Steve - Thanks for your feedback. We realize that being able to access features even when they are not on display in the map is an important workflow. We are working on this, and hope to add additional capabilities to AGSFeatureServiceTable to allow this.
... View more
06-10-2014
08:13 AM
|
0
|
0
|
616
|
|
POST
|
This appears to be a bug in ArcMap. We've taken note of it and hope to fix it in a future release. Thanks for reporting.
... View more
06-04-2014
07:47 PM
|
0
|
0
|
1822
|
|
POST
|
If you don't have a portal, you can license your app at the standard level through a license code. More info here - https://developers.arcgis.com/ios/guide/license-your-app.htm#ESRI_SECTION2_8F2F5E45D3294F1880F75177B93F02A2 Unfortunately, licensing an app based on a user logins is only available for on-premise ArcGIS portals, or ArcGIS Online Organization subscriptions.
... View more
06-02-2014
01:26 PM
|
0
|
0
|
738
|
|
POST
|
From this doc (http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000) - To enable the Share As Runtime content menu item Open ArcMap. In the ArcMap main menu, click Customize > ArcMap Options. In the ArcMap Options dialog box, click Sharing. Check the Enable ArcGIS Runtime Tools check box and click OK
... View more
06-02-2014
01:23 PM
|
0
|
0
|
1603
|
|
POST
|
Per this document (http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000), tabular data is supported in ArcMap too for creating runtime content. I haven't tried this myself yet though. What version of ArcMap are you using?
... View more
06-02-2014
01:20 PM
|
0
|
0
|
1822
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-09-2026 06:04 PM | |
| 1 | 12-02-2025 12:39 PM | |
| 1 | 10-01-2024 12:36 PM | |
| 1 | 05-10-2024 02:32 PM | |
| 1 | 07-10-2023 11:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-09-2026
06:00 PM
|