|
POST
|
Hi Ted, There is no option for creating OLE DB connections through Python. We do have a create ArcSDE connection file tool at 10. Also, here is a link to an ArcObjects sample that will create an ArcSDE connection file at 9.3/10. With a little bit of tweaking you should be able to get this to work with odc files. http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/09/24/Tips-and-Tricks-_2D00_-Creating-ArcSDE-connection-files-on-the-fly-using-Python-and-ArcObjects.aspx Unfortunately ArcObjects/Java is not my forte so if you do go this route you may want to post in one of the programming forums for assistance.
... View more
02-08-2011
06:14 AM
|
0
|
0
|
291
|
|
POST
|
This is probably the best place to get started. Look at the topics specific to the DBMS you are working with for more information. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_is_ArcSDE/000500000001000000/
... View more
02-07-2011
05:19 AM
|
0
|
0
|
364
|
|
POST
|
Ozan, Based on the description of the issue in this thread it appears as if you are encountering NIM063748. You have correctly identified a workaround in creating attachments before registering as versioned with the ability to move edits to base. We intend to include the resolution for this issue with 10 SP2.
... View more
12-22-2010
06:02 AM
|
0
|
0
|
333
|
|
POST
|
Help on script tools: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001500000006000000.htm Adding a custom tool to a toolbar: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002400000005000000.htm (look under the heading "Adding a custom tool to a menu or toolbar".) Hope this helps,
... View more
12-15-2010
05:10 AM
|
0
|
0
|
389
|
|
POST
|
Attached is a toolbox containing two custom script tools that I wrote a little while ago. The first one will register a spatial table with SDE and then with the geodatabase. The second will register a regular table with SDE and then with the geodatabase. I have hardcoded a number of options either through the script itself or through the tool dialog. You should be able to edit this tool/script to your liking. Hope this helps,
... View more
12-15-2010
05:06 AM
|
0
|
0
|
558
|
|
POST
|
Laura, We are looking at an implementation of this for the next release of the software and are working on user requirements for the new tools. We would be interested in knowing how you would like to see this tool work? Specifically, how would you like to see the association between an individual feature and attachment take place in an automated process?
... View more
12-06-2010
06:47 AM
|
0
|
0
|
1581
|
|
POST
|
Hi Ted, Can you clarify the workflow you are talking about for the upgrade and be a bit more specific about what you 'get' and 'do not get' about the upgrade? Thanks,
... View more
11-12-2010
07:18 AM
|
0
|
0
|
294
|
|
POST
|
What about hiding the ArcSDE schema from other users on the instance? At 9.3.1, write privileges (I,U,D) are granted to PUBLIC for GDB_ tables. Read privs are given to most or all tables in the SDE schema. And execute is granted to PUBLIC for all packages and procedures in the SDE schema. I submitted an idea for hardening the ArcSDE repository to ideas.arcgis.com. Vote on it if you'd like: http://ideas.arcgis.com/ideaView?id=087300000008HY6AAM Is this the information you were looking for? http://resources.arcgis.com/content/kbase?fa=articleShow&d=37824
... View more
11-09-2010
05:17 AM
|
0
|
0
|
897
|
|
POST
|
Glad to hear that helped. Did ESRI do away with the "This post answered my question" thingamajig for these new forums? The thingamajig is gone for now. I *think* there are plans to bring it back at some point but am not 100% sure.
... View more
11-03-2010
08:25 AM
|
0
|
0
|
2056
|
|
POST
|
Dan, Try running this line right before creating the version. arcpy.ClearWorkspaceCache_management() I have seen some cases in my testing where connection properties were cached and caused issues when trying to create new workspaces. Hope this helps,
... View more
11-03-2010
07:16 AM
|
0
|
0
|
2056
|
|
POST
|
Help on Describe is here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Describe/000v00000026000000/ Once on this page you can click on the link to the data element you will be describing to find out what the output type of the describe will be. For example, this is what is returned when describing a feature class: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/FeatureClass_properties/000v0000002p000000/ Also notice in the summary in the help topic for feature classes that there is access to Table Properties and Dataset Properties as well. Most if not all data elements that you describe will inherit properties.
... View more
11-03-2010
07:01 AM
|
0
|
0
|
1963
|
|
POST
|
Holly, ArcObjects will give you a little bit more efficiency in the ability to copy data and map to new fields at the same time. Without going into too much detail a possible geoprocessing workflow would be to use the feature class to feature class tool to set up your field mapping and copy to a new dataset, you could then use delete rows/delete features to 'clean up' the existing dataset, finally you could use copy features/copy rows to copy the data created from the feature class to feature class tool into the geodatabase. Hope this helps.
... View more
10-29-2010
07:22 AM
|
0
|
0
|
851
|
|
POST
|
Yes, if it is required that you must use Windows authentication and are not able to grant DBO privileges to your geodatabase administrators then that method will work. If your requirement for Windows authentication is flexible, a slightly easier option is to use mixed mode authentication with an SDE schema that uses database authentication and have all users other than SDE use Windows authentication.
... View more
10-27-2010
07:22 AM
|
0
|
0
|
816
|
|
POST
|
Jerry, You created a DBO schema geodatabase instead of an SDE schema geodatabase. The main difference between these two options is it determines who is the geodatabase administrator. If you are working with a DBO schema geodatabase you do not need to use mixed authentication as the DBO user is likely authenticated through windows. The DBO user will be able to perform all of the geodatabase administrative tasks that the SDE user would perform in an SDE schema geodatabase. When using the DBO schema geodatabase there is no need create an SDE user. Unless you want to use database authentication there is no need to enable mixed mode authentication. Here are some links to some helpful documentation: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_comparison_of_geodatabase_owners_in_SQL_Server/002q00000004000000/ http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/The_ArcSDE_administrative_account_in_SQL_Server/002q0000002n000000/
... View more
10-27-2010
06:01 AM
|
0
|
0
|
816
|
|
POST
|
Hi Gismoe, This python script should work to set the permissions appropriately. Just swap out the path to your server connection info, FDS name and username.
# Purpose: Change user privileges on a dataset
# Create the Geoprocessor object
import arcgisscripting
gp = arcgisscripting.create(9.3)
try:
# Set the name of the feature dataset, feature class, or table to change privileges on.
objName = 'ADMIN.FDS'
# Set the name of the user or role to grant privileges to.
username= 'FC_EDIT'
# Process: Update user privileges
gp.ChangePrivileges("Database Connections/Connection to Server.sde/" + objName, username, "GRANT", "GRANT")
except:
# If an error occurred while running a tool, print the messages
print gp.GetMessages() Hope this helps, Russell
... View more
10-22-2010
10:00 AM
|
0
|
0
|
1121
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 09-05-2013 09:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
11 hours ago
|