|
POST
|
Hi Kirk, The Pro SDK doesn't yet support directly opening mobile geodatabases. You can get a feature class or table that comes from a mobile geodatabase by getting it from the map, and you can open a SQLite database as a Database using Database(SQLiteConnectionPath), but that doesn't give you the same capabilities. We're hoping to get this into the next release of Pro. Sorry I cannot help more, --Rich
... View more
12-17-2020
02:48 PM
|
0
|
0
|
1510
|
|
POST
|
Hi Kirk, What workflow are you trying to accomplish? Right now, you cannot access this information with the Pro SDK or with Python. The only way to get to it is by exporting the geodatabase schema to XML. We've also removed it as an input option from geoprocessing. I don't know much about how to use grid sizes, so any information you could offer would be helpful. Thanks, --Rich
... View more
12-17-2020
12:18 PM
|
0
|
0
|
1657
|
|
POST
|
This is fixed in the just-released ArcGIS Pro 2.7 release.
... View more
12-15-2020
03:52 PM
|
0
|
0
|
2661
|
|
POST
|
Hi Mody, Unfortunately, you've found a hole in our programming APIs. As you have discovered, there is no geoprocessing tool and no Pro SDK API. Currently, the only way to programmatically create an annotation feature class is to create an XML file and use the Import XML Workspace Document tool. You can use the Export XML Workspace Document tool on an existing geodatabase with annotation classes to see the format of the XML file. While I hope this helps you in the short-term, we definitely don't consider this an acceptable work-around. We've started the process of adding geodatabase data definition language (DDL) into the Pro SDK. You'll see the first fruits of this effort in a pre-release at the Pro 2.7 release that will allow you to create tables and feature classes. We'll be adding capabilities to this over time, and based on this thread I'm going to increase the priority of creating annotation feature classes. I hope this helps. Sorry it wasn't a better answer. --Rich
... View more
12-01-2020
12:49 PM
|
0
|
1
|
1316
|
|
POST
|
We're planning on adding this capability in a future release. For now, your best bet is probably to use the file geodatabase specified by Project.Current.DefaultGeodatabasePath. I hope this helps, --Rich
... View more
11-19-2020
07:58 AM
|
1
|
2
|
1499
|
|
POST
|
Hi Rajesh, Have you seen this sample: arcgis-pro-sdk-community-samples/UtilityNetwork/LoadReportSample at master · Esri/arcgis-pro-sdk-community-samples · Git… If you have specific questions, I'd recommend posting them in the Pro SDK space. --Rich
... View more
11-05-2020
01:01 PM
|
0
|
0
|
1272
|
|
POST
|
This should be fixed in Pro 2.7. Note that this behavior applies to all editing done inside Geodatabase.ApplyEdits() on services that do not support version management, not just annotation edits. --Rich
... View more
10-28-2020
09:20 AM
|
0
|
0
|
2792
|
|
POST
|
Hi Sung, At this point that's probably the best workaround. We'll add better feature service blob support in a future release. --Rich
... View more
10-17-2020
01:52 PM
|
0
|
0
|
3858
|
|
POST
|
Hi Sung, We've finished our research about this issue. Unfortunately, I determined that this is not an SDK issue after all. It's a deeper issue- we don't support reading and writing blob fields from ArcGIS Server-based feature services. (Technically this isn't true, but the only blob support is within annotation features; generic blob fields are not supported). You cannot read or write blob fields with the Pro user interface, with Python, or with the Pro SDK. Blob fields are supported in hosted feature services, in enterprise geodatabases, file geodatabases, and mobile geodatabases. Sorry- this probably isn't the answer you wanted to hear. --Rich
... View more
10-16-2020
01:28 PM
|
0
|
2
|
3858
|
|
POST
|
Tim, I haven't found a way to do this via the Pro SDK. We'll try to add support for this in a future ArcGIS Pro release. --Rich
... View more
10-03-2020
04:35 PM
|
0
|
1
|
1737
|
|
POST
|
This is going to sound a little random, but what happens if you try to get the TableDefinition from the table using Table.GetDefinition()? I'm talking about the table with the blob field that you are trying to update. Also, are you able to update a feature class in the same non-versioned feature service that contains a blob field? --Rich
... View more
09-30-2020
09:18 PM
|
0
|
1
|
3858
|
|
POST
|
Hi Sung, Your code looks fine. We'll take a look at this one alongside the annotation editing issue you already reported (we haven't reached any conclusions yet). Thanks, --Rich
... View more
09-20-2020
09:07 PM
|
0
|
3
|
3858
|
|
POST
|
Yes, that should work. Sorry, I didn't notice you were searching from the layer rather than the feature class. --Rich
... View more
09-20-2020
08:57 PM
|
0
|
1
|
1962
|
|
POST
|
Hi Barbara, By default, the FeatureClass.Search() method uses what is called a recycling cursor. Recycling cursors will reuse the same Feature object every time MoveNext is called. Obviously that isn't what you want here. Change this line: using (RowCursor rowCursor = featLayer.Search(spatialFilter)) To this line: using (RowCursor rowCursor = featLayer.Search(spatialFilter, false)) I hope this helps, --Rich
... View more
09-18-2020
10:49 AM
|
2
|
0
|
1962
|
| 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
|