|
POST
|
I use data driven pages to kick out PDFs. It has been working well just a pain to build the layout in ArcMap. See this post for the code https://community.esri.com/message/586285#586285
... View more
05-09-2017
11:44 AM
|
0
|
0
|
5776
|
|
POST
|
In the past when changing the schema I .... Downloaded a copy of the data Published the new form Used ArcRest to add the data back in But now I am getting this error from ArcRest. Guessing its a schema issue So I instead did a Create Local Copy for editing Ran the Append tool Checked back in. This works great EXCEPT I lose the photo attachments. Has anyone come up with a good workflow for this? ArcPro maybe? Any ideas are welcome. Hopefully Survey123 will handle this in the future. Thanks
... View more
05-09-2017
10:26 AM
|
1
|
3
|
1849
|
|
DOC
|
I did notice that there are 3,425 records but the script tries to do 4000 to 5000 for some reason. It is a table.
... View more
05-08-2017
01:35 PM
|
0
|
0
|
19748
|
|
DOC
|
Yep easy to script just call the toolbox. Replaced my path with the word PATH Yes it handles attachments just fine. import arcpy syncToolbox = r"PATH\SyncFeatureService.tbx" arcpy.ImportToolbox(syncToolbox) # sde destination - where the HFS data will be copied TO sdeDest = r"PATH\WorkingGIS.sde" # all FCs from the HFS will get this prefix in the SQL DB sdeTablePrefix = "s123" # URL to the HFS for the survey to sync urlHFS = "http://services2.arcgis.com/PATH/arcgis/rest/services/service_STUFF/FeatureServer" userName = "UN HERE" passWord = "PASS HERE" # Run the toolbox arcpy.SyncFeatureService(sdeDest, sdeTablePrefix, urlHFS, "US/Pacific", "https://www.arcgis.com", userName, passWord) print arcpy.GetMessages() # Clean up memory otherwise it will not run twice in a row arcpy.Delete_management("in_memory") print arcpy.GetMessages()
... View more
05-08-2017
01:21 PM
|
0
|
0
|
19748
|
|
DOC
|
I tried giving a SQL db as the output location. It does add the records but also said it failed with this error Error Copying Features: FILE: PATH\Download Service with Attachments.py, LINE: 260 "arcpy.Append_management(fs, outputFC)": ERROR 000466: C:\Users\hidden\AppData\Local\Temp\arcF24\mx987E9D92D4E54932AA9208308B7A60DC.gdb\ScratchRecordSet does not match the schema of target PATH\WorkingGIS.sde\WorkingGIS.DBO.LaGrandeSurvivalTrees Failed to execute (Append). Also will it wipe and reload all each time? Thanks
... View more
05-08-2017
11:57 AM
|
0
|
0
|
21504
|
|
DOC
|
For Survey123 use their sync script. Sync right to SQL versus the whole thing everytime https://community.esri.com/groups/survey123/blog/2016/12/14/migrating-data-from-the-survey-feature-service-to-an-enterprise-geodatabase
... View more
05-08-2017
11:38 AM
|
0
|
0
|
21504
|
|
DOC
|
Have you thought about having the ability to sync the data over to SQL like the Survey123 guys script does? I tried using that script for other HFS but it fails. A sync to SQL is more handy then just a download. https://community.esri.com/groups/survey123/blog/2016/12/14/migrating-data-from-the-survey-feature-service-to-an-enterprise-geodatabase
... View more
05-08-2017
11:36 AM
|
0
|
0
|
21504
|
|
BLOG
|
I am trying to edit the script to use created_date instead of CreationDate. The HFS has created_date whenever editor tracking is enabled before a publish to AGO. (why the two ways use different names is beyond me). But I can not seem to edit a imported toolbox script. I found some posts that maybe it is a bug. When I right click then edit it does not save the changes and then script fails saying it can not find it. If I do an export then import the changes are there but I get this error? Any hints?
... View more
05-08-2017
11:20 AM
|
0
|
0
|
23269
|
|
POST
|
Just has a user show me this. Open a sent survey - this creates a new copy Save that copy as Draft Delete the Draft and then it also deletes the sent copy. I also see that it gets rid of the copy from sent as soon as you close the draft. I am guess this is a bug? User thinks their sent copy got deleted so it is confusing. Thanks
... View more
04-13-2017
02:42 PM
|
0
|
1
|
1210
|
|
POST
|
Esri support said that they line is referring the normal steps such as Global IDs. They did say though the biggest thing is to make sure ALL replicas are perfectly in sync before creating another one when using the register existing data option. Rec and Post and Compress first is not required but it is a good idea.
... View more
04-13-2017
01:59 PM
|
1
|
0
|
1133
|
|
POST
|
We have been using replication for some time but occasionally have issues when using the Register Existing data only option. The help page here says http://desktop.arcgis.com/en/arcmap/10.3/manage-data/geodatabases/working-with-geodatabase-replication.htm Register existing data: If you are replicating a very large amount of data, you may want to consider using the Register existing data option. The option allows you to bypass the data copying step of replica creation and simply register a new replica. To use this option successfully, a specific set of steps must be taken before replica creation. Note that this option is not available when using the geoprocessing tools. But I can find nowhere in the help that actually lists these specific steps. Anyone have them? We must be missing something, esp when the DB already has 1 replica and we are making a second child (both off the main). Usually we make sure all are in sync, detach, copy, attach both, run the first sync. No issues when just have 1. But this last time we kept getting a error ExecuteError: ERROR 000745: Generation numbers are out of order. Version not found [DBO.XXXXXX_Edits_4982] Need to rec and post first or something maybe? Thanks a lot
... View more
04-10-2017
03:58 PM
|
0
|
1
|
1392
|
|
POST
|
This seems to only support creating from something that is hosted already. It does not seem to be able to tile say internal SQL data. I built 50+ a week all from a dir of maps that link to a SQL db. Does it use the standard Esri cache tools in the background? If so there are 4 bugs open (by me) on the Create tile package, export tiles, and manage tiles tools that have been open for over 2 years now. Most are issues with how the xml file is built. It causes issues in several of our tools. Also a note the 1gb limit is below what almost all of our caches are. That is mostly due to the fact that the tools do not truly respect the AOI parameter due to the xml issues. I have also found last week that Manage tool incorrectly lists all levels in the xml not just the levels asked for. This causes the cache to disappear when zooming past the cache level made when using in ArcMap. I have built 100s of caches the last 2 years and these issues have caused me hours and hours of time. Thanks a lot
... View more
04-06-2017
12:54 PM
|
2
|
0
|
3439
|
|
POST
|
After republishing twice it starting working again. No idea what happened. Thanks
... View more
03-21-2017
12:52 PM
|
0
|
0
|
1969
|
|
POST
|
Yep I turned it off and on again to see if that worked. It did but added the extra fields now. I can not republish this data. The URL is burned into 100+ tablets so it would be a major effort to change. Again 2 of my 3 are fine but the 3rd and a new one i made will not work. I published via ArcMap 10.2.2. The brand new one I tried today has never worked. Why did AGO go off on its own naming convention? This has been causing me issues for years! thanks
... View more
03-20-2017
03:56 PM
|
0
|
2
|
1969
|
|
POST
|
I turned tracing off then back on again. It started working again BUT it now created the other named fields also. So now I have 2 tracking fields for each. I also have 2 other exact same services and are still working just fine. Can someone shed light on to why this all changed and how to fix it back to the way it was. thanks
... View more
03-20-2017
03:23 PM
|
0
|
4
|
1969
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-08-2026 07:34 AM | |
| 1 | 4 weeks ago | |
| 1 | 07-08-2026 03:46 PM | |
| 1 | 07-08-2026 03:08 PM | |
| 1 | 07-08-2026 03:15 PM |
| Online Status |
Offline
|
| Date Last Visited |
14 hours ago
|