POST
|
@JoeHershman , No worries. So far We are not able to reproduce this on our side; We are using latest Native Maps SDKs version; and have tried with two different versions of ArcGIS Enterprise on our side. Try to narrow down the cause of what you are seeing... Potentially one of two things: - A service/server configuration issue - A code issue with your application. (a specific version, or code issue...?) You can either try your code against a different service (SampleServer 7 comes to mind since we tried that one); or try a simple test application against your service. The code you shared with us does not reproduce this on our side; so if you have a simple application with that code (using latest Native SDKs nuget) and you can reproduce against your service then it is not a code issue, but probably a service/server issue. That would help us narrow down where to look for the cause. Using Fiddler to capture traffic and requests being sent to server will also help determine the call(s) being done from client to server. Another source of information is the server logs; you can configure that with more verbose logging (specifically during testing this request) then try to create a new replica and monitor the logs on the server side.
... View more
11-16-2023
10:00 PM
|
0
|
0
|
378
|
POST
|
@JoeHershman would you be able to share a diagram of your HA configuration showing how you have it set up with server? I would recommend you contact support to help you check the settings on your HA configuration to see if that is the cause of the behavior you are experiencing.
... View more
11-16-2023
06:07 PM
|
0
|
2
|
384
|
POST
|
@JoeHershman , yes Replica tracking is enabled on the data behind the service we are using. Have you had the chance to test with a simpler test code against your service?
... View more
11-16-2023
12:06 AM
|
0
|
1
|
420
|
POST
|
I also tried this will SampleServer7 (ArcGIS Enterprise 11.1) (https://sampleserver7.arcgisonline.com/server/rest/services/UtilityNetwork/NapervilleElectricV5/FeatureServer) var credential = await AuthenticationManager.Current.GenerateCredentialAsync(new Uri("https://sampleserver7.arcgisonline.com/portal/sharing/rest"), "viewer01", "I68VGU^nMurF");
AuthenticationManager.Current.AddCredential(credential); and with Enterprise 11.2 and got the same behavior that @JenniferNery got. Only one replica was created on the server. Could you please try it against SampleServer7 and see what you get? After this would be good to capture the request traffic (using Fiddler) to see what is the request sent to server, and maybe check what service settings are enabled to try to compare.
... View more
11-14-2023
03:18 PM
|
0
|
3
|
446
|
POST
|
@JoeHershman upgrading from 100.x to 200.x should allow you to keep using the full UN capabilities in addition to new ones provided in the 200.x release. Please refer to the Migrate from 100.x to 200.x documentation, as well as to the Release notes for 200.0, 200.1 and 200.2 for improvements in the Utility Network capabilities in the Native Maps SDKs. For more specific UN advancements in recent releases please refer to: Offline utility networks in ArcGIS Maps SDKs for Native Apps Offline Utility Networks in ArcGIS Maps SDKs for Native Apps: Part 2 Offline Utility Networks in ArcGIS Maps SDKs for Native Apps: Part 3 One thing to note: Any deprecated API in the 100.15 release have been removed in the 200.x release. You should have been recieving warnings for any deprecated API in the 100.15 release. For example: UtilityTier.traceConfiguration and UtilityNamedTraceConfiguration.traceConfiguration are now a method GetDefaultTraceConfiguration() on their respective classes.
... View more
09-29-2023
09:59 AM
|
0
|
0
|
764
|
POST
|
@MehdiHakimi The ones needed would be: using Esri.ArcGISRuntime.UI;
using Esri.ArcGISRuntime.Data;
using Esri.ArcGISRuntime.Mapping;
using Esri.ArcGISRuntime.Geometry; In your code just make sure that the mapView is an instance of"Esri.ArcGISRuntime.UI.Controls.MapView"
... View more
03-08-2022
11:14 PM
|
0
|
0
|
661
|
POST
|
@MehdiHakimi , it looks like you are using the ArcGIS Desktop API (mapping) instead of runtime Are you using a blend of desktop and runtime api in your application? If not you can simply comment out the first using line. If you are for some reason, you can try qualifying your class names by their full namespace name.
... View more
03-08-2022
09:22 AM
|
0
|
1
|
682
|
POST
|
You will just need add the proper "using" statements, for example the SketchEditor would need "using Esri.ArcGISRuntime.UI;", QueryParameters would need "using Esri.ArcGISRuntime.Data" and so on. You should be able to find this info from the Doc references at: ArcGIS Runtime Library Reference
... View more
03-07-2022
01:12 PM
|
0
|
1
|
702
|
POST
|
@MehdiHakimi , Here is a helper method that you can use as a reference to help select features from a feature layer. It uses the SketchEditor to draw a rectangle and use that in the selection of the features. Once you have the selected features you can edit them or update their geometries as needed. public static async Task<List<Feature>> SelectFeaturesAsync(MapView mapView, FeatureLayer featureLayer, SelectionMode selectionMode = SelectionMode.New)
{
List<Feature> features = new List<Feature>();
var se = new SketchEditor();
mapView.SketchEditor = se;
Geometry envlope = await se.StartAsync(SketchCreationMode.Rectangle, false);
var query = new QueryParameters();
query.Geometry = envlope;
query.SpatialRelationship = SpatialRelationship.Intersects;
if (selectionMode == SelectionMode.New)
featureLayer.ClearSelection();
var results = await featureLayer.SelectFeaturesAsync(query, selectionMode);
foreach (var result in results)
features.Add(result);
return features;
}
... View more
03-07-2022
08:40 AM
|
0
|
1
|
728
|
POST
|
Jeremy, Could you try setting up the SyncDirection (Property SyncDirection (arcgis.com)) to see if the error is happening on sync "Upload" or "Download"?
... View more
02-01-2022
05:59 PM
|
0
|
1
|
602
|
POST
|
To select features in a layer, you could use: SelectFeaturesAsync() method (Method SelectFeaturesAsync (arcgis.com)). To get selected features from a layer, you could use GetSelectedFeaturesAsync() (Method GetSelectedFeaturesAsync (arcgis.com)). The SelectFeaturesAsync() takes a QueryParameters; passing a WhereClause with "1=1" will select all the features in a layer. After calling the GetSelectedFeaturesAsync(), you could iterate through all the selected features and buffer (Method Buffer (arcgis.com)) their geometries one by one. The buffer geometry could be added to a FeatureLayer FeatureTable(Class FeatureTable (arcgis.com)) (by creating new features using the geometry from each buffer) , or you could create graphics from them and add that to a GraphicsOverlay (Class GraphicsOverlay (arcgis.com)). If you choose to add the buffer feature to the layer/table, it will be like any other feature, and if you want to remove it you will have to query it to find it and delete it (would usually help if there is a unique attribute value you can query for to identify which features are buffers and which are not). If you choose to add to a GraphicsOverlay, then at runtime you can call GraphicsOverlay.Graphics.Clear() to clear all the graphics.
... View more
01-04-2022
12:21 PM
|
1
|
0
|
441
|
POST
|
Calling "poly = GeometryEngine.Simplify(poly);" on your polygon before adding it to the GraphicsOverlay should resolve the issue. private void addPolygon(string polygonJson)
{
var poly = Geometry.FromJson(polygonJson);
poly = GeometryEngine.Simplify(poly);
var graphic = new Graphic
{
Geometry = GeometryEngine.Project((Polygon)poly, new SpatialReference(3006))
};
testLayer.Graphics.Add(graphic);
}
... View more
01-04-2022
11:15 AM
|
0
|
0
|
731
|
POST
|
Could you please provide the MMPK you are testing with?
... View more
01-04-2022
10:24 AM
|
0
|
0
|
399
|
POST
|
Try changing the GraphicsOverlay SceneProperties SurfacePlacement property. Here is a sample on how to do that: Surface placement | ArcGIS Runtime API for .NET | ArcGIS for Developers
... View more
07-12-2021
09:02 AM
|
0
|
0
|
588
|
POST
|
Thanks for the info @zjoerg. I was able to reproduce with ArcGIS Runtime .Net 100.11 as well. It does seem to be the same issue identified in the the ArcGIS Runtime Android SDK: BUG-000117942.
... View more
05-05-2021
06:29 PM
|
0
|
0
|
1050
|
Title | Kudos | Posted |
---|---|---|
1 | 01-04-2022 12:21 PM | |
1 | 04-30-2021 12:27 PM | |
1 | 10-12-2020 01:23 PM | |
1 | 05-26-2017 03:52 PM | |
1 | 03-03-2020 10:15 PM |
Online Status |
Offline
|
Date Last Visited |
03-13-2024
03:40 AM
|