POST
|
Hi John, If you have a row and want to get the asset type, you can always call UtilityNetwork.CreateElement(), followed by Element.AssetType. That's certainly guaranteed. But if you're trying to create a row and want to fill in the asset type, the best answer for now is to use the field called ASSETTYPE. I'm not aware of a case where this would not work. I agree that the API should provide a more formal mechanism for getting the asset type field name. I'll put it in the backlog for a future release. --Rich
... View more
06-08-2018
10:31 PM
|
0
|
0
|
390
|
POST
|
Hi Devon, No, you cannot change the spatial reference of a feature class with the C# SDK. All DDL (data definition language) takes place through Python or geoprocessing. The QueryDescription class is used for exposing spatial data as a temporary in-memory table, not for changing what is stored in the geodatabase. --Rich
... View more
06-07-2018
12:40 PM
|
0
|
1
|
1862
|
POST
|
Luke, If you publish a table as part of a feature service, you can use another layer on that service to get a Geodatabase pointer. Once you have that, you can use gdb.OpenDataset<Table>(name) as you would expect. The only thing to look out for is the feature service will change the name of the table that is exposed. --Rich
... View more
06-05-2018
03:28 PM
|
1
|
8
|
1573
|
POST
|
It's in our roadmap to be sure, but unfortunately no plans for the short-term.
... View more
05-31-2018
08:45 AM
|
0
|
2
|
1267
|
POST
|
The best practice is definitely to call Dispose on Row and Feature objects. Keeping these objects around in memory can cause the system to hold onto file handles or database connections.
... View more
05-31-2018
08:42 AM
|
0
|
0
|
1124
|
POST
|
No, we haven't yet added support for metadata to the ArcGIS Pro API.
... View more
05-30-2018
04:21 PM
|
0
|
4
|
1267
|
POST
|
As an aside, the FeatureClass, RowCursor, and Row classes all implement System.IDisposable. For correct object lifetime management, you should wrap usage of those variables in a using block. You may have simply removed that code to simplify the sample, but I wasn't sure. (This does not have any impact on the actual delete bug). We're planning on clarifying this in the geodatabase conceptual documentation in the next release.
... View more
05-30-2018
10:01 AM
|
0
|
2
|
1124
|
POST
|
As a workaround, you should be able to use the EditOperation.Delete(MapMember, Int64) override, using the layer and ObjectID.
... View more
05-30-2018
09:52 AM
|
0
|
1
|
1124
|
POST
|
Hello Berend, We've confirmed that this is a bug in the Pro SDK. The workaround for now would be to refetch the features using the object IDs from the rows. It is too late in the Pro 2.2 development cycle for us to fix it in that release, but we will target a fix for 2.3. --Rich
... View more
05-25-2018
12:04 PM
|
0
|
0
|
405
|
POST
|
Just to confirm, this method will be available in Pro 2.2.
... View more
05-18-2018
10:26 AM
|
0
|
0
|
3600
|
POST
|
Bart Van Hoecke and I have spoken offline. We believe that the new returnServiceEditsOption available in the feature service at ArcGIS Pro 2.0/ArcGIS Server 10.6 will solve his problem.
... View more
04-25-2018
03:47 PM
|
2
|
0
|
951
|
POST
|
Hi Taner, ArcGIS Pro does not currently support plug-in datasources. This is an active R & D project that we've been working on. It won't be ready for the summer 2.2 release, but we hope to make it available in a subsequent release. --Rich
... View more
04-23-2018
08:41 AM
|
0
|
0
|
1183
|
POST
|
Hi Bart, We have additional questions on what you are trying to do. 1. Does your feature service refer to an enterprise geodatabase that uses versioning? If so, which kind- traditional or branch? 2. How are you making these edits? Are you intercepting and adding to the payload to ApplyEdits()? Or directly editing with ArcObjects? Are you making these edits before, during, or after the edit operation from the client? 3. What version of ArcGIS Enterprise are you using? If you'd rather not answer these questions in this public forum, please feel free to e-mail me directly at rruh@esri.com. Thanks!
... View more
04-18-2018
09:13 AM
|
0
|
1
|
951
|
POST
|
The following code should allow you to reset the URL of a feature service layer. The `newConnectionString` variable is your new url: private static void FixDataConnectionLayer(Layer dataConnectionLayer, string newConnectionString)
{
CIMStandardDataConnection dataConnection = dataConnectionLayer.GetDataConnection() as CIMStandardDataConnection;
dataConnection.WorkspaceConnectionString = newConnectionString;
dataConnectionLayer.SetDataConnection(dataConnection);
}
... View more
04-16-2018
09:33 AM
|
0
|
1
|
880
|
POST
|
Hi Bart, We're taking a look at this now. Could you please provide more information about why you want to disable the feature cache? What workflows or functionality are you trying to enable? We have no objection in principle to providing access for this, but if you are trying to work around a problem we want to be sure to fix the underlying issue instead. Thanks, --Rich
... View more
04-10-2018
12:59 PM
|
0
|
3
|
951
|
Title | Kudos | Posted |
---|---|---|
1 | 07-19-2019 03:10 PM | |
1 | 05-29-2024 12:07 PM | |
1 | 03-29-2024 07:54 AM | |
1 | 08-04-2023 12:01 PM | |
1 | 05-25-2023 07:53 AM |
Online Status |
Offline
|
Date Last Visited |
08-09-2024
04:34 PM
|