|
POST
|
Are you asking for a way to hardcode credentials into an application?
... View more
01-21-2021
08:57 AM
|
0
|
2
|
4787
|
|
POST
|
The Pro SDK includes a class called ArcGISPortalManager. It's a singleton, and you can use it to get the list of portals, and the active portal. From ArcGISPortal you can find out if you signed in, sign in, sign out, etc.
... View more
01-21-2021
08:33 AM
|
0
|
1
|
4789
|
|
POST
|
In addition to calling gdb.GetDefinitions<RelationshipClassDefinition>() you should also call gdb.GetDefinitions<AttributedRelationshipClassDefinition>() --Rich
... View more
01-19-2021
03:52 PM
|
1
|
0
|
5249
|
|
POST
|
Hi Kirk, Well you could, but anything in a namespace marked "internal" is undocumented and subject to change, so I wouldn't recommend it. --Rich
... View more
01-11-2021
10:10 AM
|
0
|
0
|
1155
|
|
POST
|
Hi Kirk, We have this working in-house, so it might be something with your environment or your database file. You might want to open a tech support issue so that we can take a closer look. (SpatialLite should be in the 3rd Party Acknowledgement doc) --Rich
... View more
01-11-2021
10:04 AM
|
0
|
0
|
4231
|
|
POST
|
Hi Oguz, You can obtain a Selection object from the feature layer, and create a RowCursor based on that. using (ArcGIS.Core.Data.Selection selectedFeatures = (GNISFLayer as FeatureLayer).GetSelection())
{
using (RowCursor rowCursor = selectedFeatures.Search(null))
{
while (rowCursor.MoveNext())
{
using (ArcGIS.Core.Data.Row row = rowCursor.Current)
//Only selected records will be returned
{
fType = row["FEATURE_CLASS"].ToString();
state = row["STATE_ALPHA"].ToString();
county = row["COUNTY_NAME"].ToString();
quad = row["MAP_NAME"].ToString();
}
}
}
}
... View more
01-04-2021
04:19 PM
|
1
|
0
|
1495
|
|
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
|
1856
|
|
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
|
2055
|
|
POST
|
This is fixed in the just-released ArcGIS Pro 2.7 release.
... View more
12-15-2020
03:52 PM
|
0
|
0
|
3713
|
|
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
|
1732
|
|
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
|
2187
|
|
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
|
1586
|
|
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
|
4115
|
|
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
|
5335
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-13-2024 11:22 AM | |
| 2 | 01-29-2026 09:34 AM | |
| 2 | 01-28-2026 08:20 AM | |
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|