|
POST
|
Hello everyone, Anyone can share a source code in C# or VB.Net about how to connect to ArcGIs Server. I have a code that was working in 10.0 but it does not work anymore. Thank you.
... View more
02-04-2016
01:28 PM
|
1
|
8
|
7532
|
|
POST
|
Hello everyone, how do I write this code in 10.2? This library works i 10.2 but in 10.2 it is Obsolete. Dim agsServerConnection As ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection = Nothing
Dim featuresCount As Integer
Try
Dim username As String = ConfigurationManager.AppSettings("username")
Dim password As String = ConfigurationManager.AppSettings("password")
Dim domain As String = ConfigurationManager.AppSettings("domain")
Dim hostname As String = ConfigurationManager.AppSettings("hostname")
Dim mapservice As String = ConfigurationManager.AppSettings("mapservice")
' Connect to ArcGIS Server
Dim adfIdentity As New ESRI.ArcGIS.ADF.Identity(username, password, domain)
agsServerConnection = New ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection(hostname, adfIdentity)
agsServerConnection.Connect()
... View more
02-04-2016
11:36 AM
|
0
|
1
|
2908
|
|
POST
|
Hi Jake, I tried to use the feature " Change Version" with a feature class and I had a issue with that because the feature class has a GLOBALID field so when I try to save it to a file geodatabase the column GLOBALID does not get created. The easiest solution for me is to create in ArcCatalog 2 connections to the same SDE instance one pointing to Transactional Version DEFAULT and another pointing to Transactional Version PREPRODUCTION. I am wondering if there is a way to specify the Transactional Version, or change the Transactional Version in a connection in Python. Thanks
... View more
01-25-2016
06:13 AM
|
0
|
0
|
974
|
|
POST
|
Hello everyone, How can I change in Python the current Geodatabase Connection Properties from a SDE connection to point to a specific version instead of DEFAULT one. What I need to do in Python is the same thing we do in ArcMap "Change SDE Version". Ideally I would like to create 2 connections in my script to the same SDE instance one pointing to DEFAULT and another to PREPRODUCTION. Thanks
... View more
01-22-2016
11:43 AM
|
0
|
2
|
3284
|
|
POST
|
Can you create spatial views with ArcCatalog in 10.3?
... View more
01-20-2016
04:41 AM
|
0
|
1
|
1065
|
|
POST
|
Hello everyone, How can I create an sde view or modify an existing sde view created in 10.0 witn 10.3? Thanks
... View more
01-19-2016
03:51 PM
|
0
|
2
|
3754
|
|
POST
|
Hi Jake, No particular reason. I would like to know if this feature is available in ArcCatalog. Thanks
... View more
12-21-2015
12:09 PM
|
0
|
1
|
746
|
|
POST
|
Hello everyone, Is there a way to show the hyperlink tool available in ArcMap in ArcCatalog 10.2 Thanks
... View more
12-21-2015
09:44 AM
|
0
|
3
|
3052
|
|
BLOG
|
Hello everyone, The following source code shows how to copy features from one feature class (Source) to another feature class (Destination) when both features are versioned.And then remove features copied from the Source The steps: create a new SDE version a WorkingVersion select Source Feature Class with features to be copied and make a Feature Layer select Destination Feature Class make a Feature layer ChangeVersion of both feature layers to the WorkingVersion append features to destination Feature Class delete features from Source Feature Class that were appended versions = arcpy.ListVersions(database)
# Print the versions available to the user
for version in versions:
print(version)
if version == WorkingVersion:
# Execute DeleteVersion
arcpy.DeleteVersion_management(database, WorkingVersion)
# Execute CreateVersion
arcpy.CreateVersion_management(database, ParentVersion, WorkingVersion, "PUBLIC")
# Select records with STATUS = 'Completed' and Historical records
arcpy.MakeFeatureLayer_management(SourceFeatureCalss, SourceLayer, "STATUS = 'Completed'", "", " .....")
# Process: Make Feature Layer (2)
arcpy.MakeFeatureLayer_management(EditableFeatureClass, AppendedLayer, "", "", "......")
#
# Change Both layers SourceLayer and AppendedLayer To OWNER.WORKINGVERSION version
#
arcpy.ChangeVersion_management('SourceLayer','TRANSACTIONAL', WorkingVersion,'')
# Change to HISTORICALAASIS version
arcpy.ChangeVersion_management('AppendedLayer','TRANSACTIONAL', WorkingVersion,'')
# Process: Append...
arcpy.Append_management("SourceLayer", AppendedLayer, "TEST", "", "")
# Process: Delete Features...
arcpy.DeleteFeatures_management(SourceLayer)
arcpy.ReconcileVersions_management(database,
"ALL_VERSIONS",
"OWNER.ParentVersion",
"OWNER.WORKINGVERSION",
"LOCK_ACQUIRED",
"NO_ABORT",
"BY_OBJECT",
"FAVOR_TARGET_VERSION",
"POST",
"KEEP_VERSION",
scratchFolder + "RecLog.txt")
... View more
12-18-2015
05:18 AM
|
0
|
0
|
4173
|
|
POST
|
We ran the following Oracle SQL code of the table: update [table] set [datefield] = to_date(TO_CHAR([datefield],'dd-mm-yyyy') ||' 06:00:00', 'dd-mm-yyyy hh24:mi:ss') where [datefield] is not null;
... View more
12-07-2015
06:10 AM
|
1
|
0
|
871
|
|
POST
|
We fixed the problem running an Update query directly in Oracle and adding the time update tableT set FieldWithDate = to_date(TO_CHAR(FieldWithDate,'dd-mm-yyyy') ||' 06:00:00', 'dd-mm-yyyy hh24:mi:ss') where FieldWithDate is not null;
... View more
11-23-2015
09:56 AM
|
1
|
0
|
4378
|
|
POST
|
Hi, I am using the same functionality that comes on this project. Please feel free to download it to take a closer look. ArcObjects Help for .NET developers it does not need to be registered.
... View more
11-20-2015
04:38 AM
|
0
|
1
|
1993
|
|
POST
|
Hello everyone, I am working on an AddIn in Vb.net using the sample "AddInEditorExtension" as a template and now that I finished it I do into see in ArcMap in the toolbar or in ArcMap Extensions list the name of the Add-In. ArcObjects Help for .NET developers I would like to know how a user can enable or disable the AddInextension. Where can I find the name of this AddIn other than in the Add-In list. Thank you
... View more
11-19-2015
12:10 PM
|
0
|
4
|
6432
|
|
POST
|
Hello, we have the same problem here. how can we initialize only the hour part of a date, for example at 8:00 a.m. Are there other solutions? Thanks
... View more
11-13-2015
12:43 PM
|
0
|
3
|
4378
|
|
POST
|
Hello everyone, We have a web application developed with WebApp Builder and for all records with dates the display shows a date that increases or decreases by one the value that is stored in the feature class, The format of the fields date are stored in an Oracle 11G database. The data is stored in a SDE 10.2. instance. Is there any configuration or set up to avoid displaying the wrong date. Please advise. Thanks .
... View more
11-13-2015
11:50 AM
|
0
|
2
|
3483
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 05-01-2026 12:34 PM | |
| 1 | 12-02-2022 08:17 AM | |
| 1 | 12-26-2025 05:02 AM | |
| 1 | 08-05-2025 04:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|