|
POST
|
Features and associations are created using the ApplyEdits call on the Feature Service. Associations are just edits to the associations table. After edits are made, you use the Validate Network Topology call on the Utility Network Service to update the network topology.
... View more
10-24-2019
07:46 PM
|
2
|
3
|
3137
|
|
POST
|
Unfortunately, you are correct. There is currently no way to change a version's owner with the Pro SDK. We will try to add this functionality in a future release. --Rich
... View more
10-10-2019
04:08 PM
|
0
|
2
|
1677
|
|
POST
|
I don't have any idea why searching a feature class would have anything to do with network sources. You could try posting a code snippet or file an issue with tech support. Sorry for the delayed response; I was hoping someone else had some better ideas... --Rich
... View more
10-09-2019
10:51 AM
|
0
|
0
|
1437
|
|
POST
|
Hi Manny, The short answer is that you need to call geodatabase routines from a special thread using the QueuedTask class. Your code will look like something like this: await QueuedTask.Run( () =>
{
Geodatabase fileGeodatabase = new Geodatabase(new FileGeodatabaseConnectionPath(new Uri(@"\\dep-gisdev\tidelandsdata\tlprod\Tidelands_Publication.gdb")));
Table table = fileGeodatabase.OpenDataset<Table>("Composite_Table");
}); More details on the Pro threading model can be found in the topic Working with Multithreading in ArcGIS Pro. Some other comments: Make you sure add memory management to your code, to properly release the Geodatabase and Table objects when you are finished using them. Details for how to do this can be found here. Once you have opened your table using the code above, you still need to add a StandAloneTable to your Map. This can be accomplished as follows: IStandaloneTableFactory tableFactory = StandaloneTableFactory.Instance;
tableFactory.CreateStandaloneTable(table, MapView.Active.Map); Again, this needs to be wrapped inside a call to QueuedTask.Run(). I hope this helps, --Rich
... View more
10-09-2019
08:16 AM
|
2
|
1
|
3428
|
|
POST
|
Hi Pascal, From a FeatureLayer you can get a FeatureClass. FeatureClass has a method on it called IsJoinedTable. If this method returns true, the feature class is the actual join. At that point, calling FeatureClass.GetName() will return the name of the join. Unfortunately, there is no Pro SDK routine to remove the join from the layer, but now that you know the name of the join you can use geoprocessing in order to do so. I hope this helps, --Rich
... View more
09-30-2019
03:55 PM
|
0
|
0
|
1397
|
|
POST
|
Currently, we have a property on the Project class called Project.EditedDatastores. This allows you to determine which data stores have been edited. There is currently no way to get a more granular list of edits that have taken place in a data store. This is on the road map for a future release. Until then, your best bet might be to use editor events to track which featues have been changed. --Rich
... View more
09-23-2019
09:12 AM
|
0
|
0
|
1034
|
|
POST
|
If you haven't done so already, I would take a look at toVersion.GetName() prior to calling Map.ChangeVersion() to verify that the value is expected. Outside of that, I don't have any other ideas. I set up an Oracle 12 environment that used classic versioning, and ran the sample code to switch the version from SDE.DEFAULT to the next version in the list (GDB.foo). It all works correctly, and the Map refreshes afterwards. You may need to open an incident with tech support to figure out why this isn't working for you. --Rich
... View more
09-18-2019
12:22 PM
|
0
|
1
|
3794
|
|
POST
|
Steve, Do you what error is being returned and what line is failing? --Rich
... View more
09-17-2019
10:17 AM
|
0
|
1
|
1311
|
|
POST
|
Could you change the code to iterate through the versions on the geodatabase connection and verify that you are seeing all of the expected versions? I'm trying to figure out if the problem is with versioning or with actually switching the map layers. Thanks, --Rich
... View more
09-17-2019
07:59 AM
|
0
|
3
|
3794
|
|
POST
|
Jimmy, At the risk of asking a stupid question, is the first layer in your map a feature layer that points to a versioned feature class? That sample code only works if that is the case. --Rich
... View more
09-13-2019
09:06 AM
|
0
|
5
|
3794
|
|
POST
|
Hi Victor, Deleting versions can be a tricky process. You have to ensure that all outstanding Rows, Tables, Feature Classes, Feature Datasets, etc. have been disposed. Read a description about this here. Note also that Map has a method called ChangeVersion(). You could try using this to switch the layers in the map rather than the geoprocessing tool. I hope this helps, --Rich
... View more
09-11-2019
08:51 AM
|
0
|
0
|
1603
|
|
POST
|
James, I think setting the TableSortDescription.QueryFilter property will provide what you're looking for. --Rich
... View more
08-29-2019
03:34 PM
|
0
|
1
|
2760
|
|
POST
|
Hi James, Check out this section in the Geodatabase concepts document; I think it should answer your questions. Thanks, --Rich
... View more
08-29-2019
12:31 PM
|
0
|
3
|
2760
|
|
POST
|
Hi Scott, Once you fetch an individual feature, you can certainly view and edit the attribute data. Here is an example showing how to modify a row: ProSnippets Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub I hope this helps, --Rich
... View more
08-06-2019
08:18 AM
|
0
|
0
|
3266
|
|
POST
|
Hi Øystein, Ave's issue should have been fixed at Pro 2.4. What version of Pro are you using? Could you post a small code snippet about what you are trying to do? Thanks, --Rich
... View more
08-06-2019
08:12 AM
|
0
|
2
|
3212
|
| 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 |
a month ago
|