|
POST
|
I haven't analyzed the entire code snippet, but this line: var dispData = removalStandAloneTables.First().GetTable().GetDatastore().GetPath().AbsolutePath;
} Is going to create a Table and a Geodatabase object that are not disposed. They could keep a lock until .NET garbage collection runs.
... View more
01-16-2020
09:52 AM
|
0
|
4
|
3039
|
|
POST
|
Than is on the right track. The Geodatabase constructor and the call to Geodatabase.OpenDataset<Table> at the end of the snippet should also be inside a QueuedTask.Run block. The call to OpenTablePane should not. Try the following: if (!ProcessingReuslt.IsFailed)
{
Trace.WriteLine("Success");
var insTbl;
await QueuedTask.Run(()=>
{
using (Geodatabase geodatabase = new Geodatabase(new FileGeodatabaseConnectionPath(new Uri(gPath))))
{
using (Table table = geodatabase.OpenDataset<Table>(inTbl))
{
IStandAloneTableFactory tableFactory = StandaloneTableFactory.Instance;
insTbl = tableFactory.CreateStandaloneTable(table, MapView.Active.Map, inTbl);
}
}
}
FrameworkApplication.Panes.OpenTablePane(insTbl);
}
This will open the table on the MCT (geodatabase thread) and open the table pane on a UI thread. I hope this helps, --Rich
... View more
01-16-2020
09:45 AM
|
1
|
2
|
3140
|
|
POST
|
Hi Star, Yes, this is included with the Export Subnetwork geoprocessing tool. You can call it from a geoprocessing model, Python, or by using the geoprocessing API in the Pro SDK. --Rich
... View more
01-16-2020
09:18 AM
|
0
|
1
|
3747
|
|
POST
|
Hi Bob, It's buried in a utility network sample, but check out this C# file: arcgis-pro-sdk-community-samples/CategoriesComboBox.cs at master · Esri/arcgis-pro-sdk-community-samples · GitHub Starting at line 192 is some code to create a table in the geodatabase using the geoprocessing APIs. Starting at line 282, the code shows how to create a `StandaloneTable` from a geodatabase table. Starting at line 292, the code shows how to open a table view of that standalone table. I hope this helps some. We are actively working on adding some simple DDL operations directly in the Pro C# SDK for a future release. --Rich
... View more
01-13-2020
09:09 PM
|
0
|
1
|
5489
|
|
POST
|
We don't currently provide Pro SDK support for generating offline maps, although it's something we are considering for the future. The only work-around at the moment would be to directly call the REST endpoint. Sorry I can't provide a more helpful answer, --Rich
... View more
01-07-2020
04:43 PM
|
2
|
0
|
841
|
|
POST
|
Thanks, Jimmy. I'll dig into this over the next few days.
... View more
01-06-2020
05:32 PM
|
0
|
1
|
6147
|
|
POST
|
Hi Jimmy, Could you please share a code snippet showing how you are getting version differences? Thanks, --Rich
... View more
01-06-2020
08:43 AM
|
0
|
6
|
6147
|
|
POST
|
Hi David, If you are using traditional versioning, the feature service does not support versioning functionality, as you have pointed out. You can connect to a particular version by passing that into the connection properties, but there is no way to iterate through what versions are available. If you set up your enterprise geodatabase to use branch versioning, and enable the Version Management Service when you publish to a feature service, this story changes. IsVersioningSupported() returns true, GetVersionManager() returns an object, and all of the routines on that class work as you would expect. I hope this helps, --Rich
... View more
12-17-2019
08:35 AM
|
2
|
0
|
2748
|
|
POST
|
A colleague pointed this post out to me and made the excellent suggestion that I add another reply. We added plugin datasources in the Pro 2.3 release. More information can be found in the conceptual doc. We've also provided a guide that shows step-by-step how to create one.
... View more
12-04-2019
04:50 PM
|
1
|
0
|
2360
|
|
POST
|
This is outside of my area of expertise, but I'm trying to track down someone who can help. --Rich
... View more
11-05-2019
10:37 AM
|
0
|
1
|
2017
|
|
POST
|
There’s no shortcut. If you’re calling this against a feature service, only one REST call is made.
... View more
10-29-2019
07:38 PM
|
0
|
1
|
3046
|
|
POST
|
Kevin- It’s not that simple. Send me your cell phone at [email protected] and let’s try to hook up tomorrow —Rich
... View more
10-29-2019
07:36 PM
|
1
|
0
|
2583
|
|
POST
|
The expo is open today, but not tomorrow. Stop by when you can.
... View more
10-29-2019
06:24 AM
|
1
|
2
|
2583
|
|
POST
|
Hi Manoj, Apply Edits is documented here. Unfortunately, I'm not much of a web developer, so I'm not the right person to provide a JavaScript code sample beyond what is included in the API reference. I would recommend doing a similar edit in ArcGIS Pro, and use Fiddler to see the REST call that is generated for that edit. I hope this helps, --Rich
... View more
10-24-2019
10:45 PM
|
1
|
1
|
3137
|
| 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
|