|
POST
|
My first impression is that this appears to be a software bug or a data issue. I would be interested to know: Are you are able to run the Synchronize Changes GP tool outside of python? Are you able to run the SynchronizeChanges_management function in a python script if your hardcode all your parameters? Are you able to sync using the replica manager tools? There does not appear to be anything in the script that should cause this type of failure.
... View more
08-13-2014
04:38 PM
|
2
|
2
|
1286
|
|
POST
|
Daniel, Have you installed the SQL Server native client on your server machine? This might be the reason you are not able to connect to the database. Try installing the native client and then rerunning the script.
... View more
07-30-2014
11:39 AM
|
0
|
1
|
2151
|
|
POST
|
James, Yes, you need to ensure that SQL Server native client is available on the client machine. We use this to connect to the database instance to create your geodatabase. Russell
... View more
07-30-2014
11:35 AM
|
0
|
0
|
618
|
|
POST
|
Erik, If you enable attachments prior to creating the replica the attachments will sync up when you perform your synchronization. If you enable attachments after the replica is created the best option is likely to unregister your replica and then register using the 'register existing data only' option. The register existing option would look something like this: a) Copy delete the feature class on the relative replica and copy the class (with attachments) to the relative replica. Ensure you have globalIDs before copying). b) Sync the existing replica to make sure each side has all pending changes. c) Create a new replica that includes the changed class with attachments enabled using the “Register Existing data only” option. This will take only a few seconds to complete as the data already exists on both sides. d) Assuming no additional edits had been done b/w steps b & c, unregister the old replica. (if edits had been done, just make sure to sync the old replica before unregistering) e) Now move forward with the new replica.
... View more
07-30-2014
10:44 AM
|
0
|
1
|
660
|
|
POST
|
Syed, The tool should work against all spatial types. Is this occurring with all your feature classes? Are you connected as the data owner? When you rebuild indexes with Oracle PL/SQL are you connected as the data owner? What options are you using when you run the tool? Does the tool stop responding immediately? How long are you waiting? How many tables are owned by the same data owner?
... View more
07-29-2014
04:56 PM
|
0
|
0
|
633
|
|
POST
|
Mar, Take a look at this topic, it describes how to perform the validation you are looking for. Customizing Script tool behavior The first example on this page shows you what you need to do in the updateParameters method: def updateParameters(self):
# If the option to use a weights file is selected (the user chose
# "Get Spatial Weights From File"), enable the parameter for specifying
# the file, otherwise disable it
#
if self.params[3].value == "Get Spatial Weights From File":
self.params[8].enabled = 1
else:
self.params[8].enabled = 0
You will want to change this slightly for your workflow.
... View more
07-29-2014
12:37 PM
|
1
|
1
|
849
|
|
POST
|
Antonio, You should be able to export to shapefile. The error you are getting may indicate that you have attachments on your data, but even if that is the case it *should* work. I was able to successfully export on my feature services with attachments directly to shapefile without issue. I right clicked on my layer in my TOC and chose data -> export data. I would suggest contacting Esri Technical Support to get it sorted out if that does not work for you.
... View more
07-21-2014
02:55 PM
|
0
|
0
|
1635
|
|
POST
|
Hani, If you connect using an 'admin' connection in ArcMap/ArcCatalog you will only see the map service. If you connect using a 'user' connection you will see both the feature service and map service. Take a look at the 3 links at the top of this page for more info: http://resources.arcgis.com/en/help/main/10.1/index.html#//006600000450000000
... View more
07-21-2014
01:55 PM
|
2
|
1
|
463
|
|
POST
|
David, The functionality you are describing is available through editor tracking (no scripting necessary). Check out this link for more information: Editor Tracking You can either enable it manually: Enable Editor Tracking Or use GP tools to do this: using GP In your case you could just enable Editor and Edit Date, you don't need to enable everything. The bonus of doing this vs a script is that it will also work in ArcGIS Server and if you are in an enterprise geodatabase it will not cause conflicts. Hope this helps, Russell
... View more
07-14-2014
05:31 PM
|
0
|
1
|
1171
|
|
DOC
|
This is the same tool that was found in the OLD geoprocessing gallery. TableToFields | ArcGIS Resource Center
... View more
07-14-2014
12:33 PM
|
0
|
0
|
1573
|
|
DOC
|
Geoprocessing script tool to add multiple fields to a feature class or table. This tool uses a field definition table to define the parameters needed to run the 'Add field' tool and then runs that tool for each row in the field definition table. Included in the zip file is a file geodatabase with an example field definition table. Domains are set up on this table to make it easy to enter in parameters. The script tool makes use of the geoprocessing framework to do validation. The validation will take place after the field definition table has been specified and will generate the output schema based on the field definition table. This means that fields that this tool creates can be consumed 'downstream' in model bulder (eg delete field or calculate field). The field definition table can be any ArcGIS supported table (Info, DBF, Geodatabase, Microsoft Excel).
... View more
07-14-2014
12:32 PM
|
0
|
1
|
3341
|
|
POST
|
There is no doc specific to 10.2.1 so it has to go into the 10.2 online help. You should not see it in the installed help for 10.2. But you will see it in the installed help when you install 10.2.1. There is a mention in the what's new in 10.2.1 topic right at the top! http://resources.arcgis.com/en/help/main/10.2/index.html#/What_s_new_in_ArcGIS_10_2_1/016w0000005v000000/
... View more
01-09-2014
10:49 AM
|
0
|
0
|
1304
|
|
POST
|
There is a tool available to sort coded value domains named 'Sort Coded Value Domain' it can be used to sort on either the code or the description in either ascending or descending order. http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000016t000000
... View more
12-09-2013
09:08 AM
|
0
|
0
|
1384
|
|
POST
|
You are not doing anything wrong. The tool dialog filters out the OBJECTID field from the list of available fields because it is indexed by default. If you wish to create a composite index using OBJECTID and another field you can use python to execute the tool. When executed via python the tool will allow you to specify this field. For example:
arcpy.AddIndex_management("Database Connections/testDB.sde/russell.TEST.TestPoints","OBJECTID;FIELD1","compositeTest","NON_UNIQUE","NON_ASCENDING")
Hope this helps
... View more
11-21-2013
08:48 AM
|
0
|
0
|
1236
|
|
POST
|
On a semi-related note, in the upcoming 10.2.1 there will be a GP tool (alter field properties) that will allow you to rename a field as well as change the field alias. So if you can wait until the 10.2.1 release and are willing to use geoprocessing this should help you out.
... View more
11-06-2013
06:38 AM
|
0
|
0
|
2965
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-10-2025 06:48 AM | |
| 4 | 05-21-2025 08:31 AM | |
| 3 | 05-20-2025 12:14 PM | |
| 1 | 08-29-2013 08:26 AM | |
| 1 | 08-20-2014 11:38 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|