|
POST
|
Hi Than, I think you want to take a look at QueryDefs (ProConcepts Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub ). This is another join construct in ArcGIS. It works with datasets that come from the same geodatabase. There are a lot of different query constructs available in the Pro SDK. In addition to just a basic query on a single table using Table.Search, we support QueryDefs, Joins, QueryTables, and QueryLayers. If the document above doesn't clarify the difference enough, my colleagues and I gave a session on the Geodatabase SDK at the (virtual) DevSummit this year: https://www.youtube.com/watch?v=EKx1kzQARlM&list=PLaPDDLTCmy4Ys8vfmC7DbX3FHSsyosvh7&index=151&t=0s The section on Queries starts at 14:40. I hope this helps, --Rich
... View more
05-20-2020
09:16 AM
|
0
|
1
|
1788
|
|
POST
|
Hi, I've been talking to Renato and other Esri staff offline, and wanted to add some information. 1. As you know, we do not provide access to the fine-grained network topology on the client. We've developed a detailed and flexible set of tracing configuration options to address the most common workflows, but we're no under no illusions that we've got them all covered. 2. You can use the Export Subnetwork geoprocessing tool to return the network connectivity for a subnetwork. Depending on the workflows you are trying to accomplish, this might help. 3. Our documentation hints that this capability is available with Trace. As Renato pointed out, this hasn't been implemented yet. In the short term we're in the process of removing this from the doc, but it remains on our long-term roadmap. 4. Starting with ArcGIS Enterprise 10.8.1, the Enterprise SDK will allow access to utility network topology in a Server Object Extension (SOE). You'll also need a way to call this SOE, either via directly calling a REST endpoint, or by writing a Server Object Interceptor (SOI). I hope this helps some. --Rich P.S. If you have more specific information about the business cases you are trying to solve we can investigate whether we could add the necessary options to our core product. Here are some ideas for the cases you described above. * You should be able to use the Nearest Neighbor filter to return the two nearest devices of a particular type. (You might need a second trace to find the nearest device so that you know the order of the devices.) * You might be able to use Functions to find voltage drop along a downstream path
... View more
04-28-2020
01:54 PM
|
1
|
3
|
3360
|
|
POST
|
At Pro 2.6 we will be adding a Version.ChangeOwner routine. This routine will only work with branch versioning, not traditional versioning.
... View more
04-25-2020
11:11 AM
|
2
|
0
|
1175
|
|
POST
|
The bug where the AuthenticationMode property was not returning the correct value will be fixed in Pro 2.6 (summer 2020).
... View more
04-25-2020
10:43 AM
|
0
|
3
|
2475
|
|
POST
|
If you post the schema of tables A and D, along with the geoprocessing command that you're using to create the relationship class, we can try to help you out. You might have better luck however, if you post in the Geoprocessing space rather than here in the SDK space. --Rich
... View more
04-15-2020
07:53 AM
|
1
|
0
|
1279
|
|
BLOG
|
Joins are read-only, although you can edit the underlying tables that make up a join. This is by design. Note that instead of using geoprocessing to create a join, you can also call the low-level geodatabase routines directly, as described here.
... View more
04-07-2020
04:25 PM
|
0
|
0
|
2566
|
|
POST
|
Hi Kenny, Your technique should work fine. In the upcoming Pro 2.6 release (summer 2020), we will be adding a GetPath() method directly to the FeatureLayer class so that you don't have to go through this to get the path. But if you're going through all of this just to find out if you are looking at a shape file, I would do something like this: bool IsShapeFile(FeatureLayer featureLayer)
{
using (FeatureClass featureClass = featureLayer.GetFeatureClass())
using (Datastore datastore = featureClass.GetDatastore())
{
if (datastore is FileSystemDatastore)
{
return true;
}
else
{
return false;
}
}
} I hope this helps, --Rich
... View more
04-07-2020
08:57 AM
|
2
|
2
|
2215
|
|
POST
|
Hi Sreeni, The geodatabase API doesn't allow schema changes (DDL). To programmatically add attribute rules, you will have to either Write a Python script Execute geoprocessing tools using the geoprocessing API Here is an overview of the attribute rules toolset. I hope this helps, --Rich
... View more
04-06-2020
08:17 AM
|
1
|
1
|
1284
|
|
POST
|
Have you compiled this add-in with 2.5? Although we recommend that editing code in a CoreHost app be wrapped with Geodatabase.ApplyEdits, I don't see anything wrong with the code. --Rich
... View more
03-25-2020
10:07 AM
|
0
|
1
|
2446
|
|
POST
|
Hi Michael, The GetOriginalValue method is used while editing to get the pre-edit value of the field. You cannot edit a QueryDef, so this concept doesn't apply. You can just use the Item property. Since this is the default indexer on the Row class, you would change your provided code snippet to look like this: foreach (var field in fields) {
if (field.FieldType == FieldType.Geometry) continue;
// This works
object val = row[field.Name];
// This works too
int index = row.FindField(field.Name);
object val = row[index];
}
I hope this helps, --Rich
... View more
03-10-2020
11:58 AM
|
3
|
1
|
1914
|
|
POST
|
Adding DDL functionality is currently in design and is part of our long-term plan. Unfortunately, I cannot yet provide any release date estimates. --Rich
... View more
03-09-2020
09:18 AM
|
2
|
0
|
817
|
|
POST
|
It's on our road map, but unfortunately we don't have a specific date at this time. I'm sorry, I wish I had more information for you. --Rich
... View more
03-04-2020
08:25 AM
|
0
|
0
|
510
|
|
POST
|
Lars, That error message isn't clear at all. The Geodatabase.Evaluate method uses a QueryDef object to create a virtual table. QueryDefs can reference multiple tables, but the resulting virtual table cannot be edited. Could you create your cursor by calling Table.Search() instead? This uses what is called a QueryFilter, which can only reference a single table, and is editable. This is the typical pattern used for editing data. --Rich
... View more
02-26-2020
02:43 PM
|
2
|
1
|
1985
|
|
POST
|
Hi Lars, When editing with CoreHost, you should create an edit operation using Geodatabase.ApplyEdits(). More details are written up . I hope this helps, --Rich
... View more
02-25-2020
08:41 AM
|
1
|
3
|
1985
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM | |
| 1 | 07-17-2025 08:47 AM | |
| 1 | 08-12-2022 01:35 PM | |
| 1 | 06-28-2018 04:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-12-2025
12:03 PM
|