|
POST
|
I am doing everything with internal services and not using online esri services, so I have more control over how to access them. The solution I have does not seem possible using online esri services
... View more
08-14-2017
01:19 PM
|
0
|
0
|
4055
|
|
POST
|
Something I tried which seems to be working. When doing the replica download I used the internal url of the service instead of the Web Adapter url. So instead of https://machine.domain.com/server/rest/services/MyService/FeatureServer. I used https://machine.domain.com:6443/arcgis/rest/services/MyService/FeatureServer. When I did this the replica was created correctly.
... View more
08-10-2017
08:18 AM
|
0
|
0
|
4055
|
|
POST
|
What do you mean "manually initiate the rest of it." We are stuck in the upgraded to Portal 10.5.1 and now the portaladmin login no longer works. Get a You are not authorized to use this resource. message trying to connect to /portaladmin resource. None of our users are able to connect to /portaladmin anymore. This occurred after we changed the ssl cert After it applied the cert we can no longer log in. Really don't want to go backwards and uninstall 10.5.1 and reinstall 10.4.1.
... View more
08-09-2017
03:27 PM
|
0
|
4
|
7956
|
|
POST
|
It's likely the Layers/Map are not loaded. As a rule you should not run async code in a constructor but as a way to check if the issue is that things need to get loaded something like this should work //this is bad code
var uri = new Uri("https://localhost:6443/arcgis/rest/services/MyMapService/MapServer");
ArcGISMapImageLayer layer = new ArcGISMapImageLayer(uri);
Task t = Task.Run(() => layer.LoadAsync());
t.Wait();
Map map = new Map(SpatialReference.Create(4326));
map.OperationalLayers.Add(layer);
t = Task.Run(() => map.LoadAsync());
t.Wait();
MyMap.Map = map;
... View more
08-08-2017
01:45 PM
|
1
|
1
|
1507
|
|
POST
|
I have come across a number of cases where the Geodatabase object has an empty collection of GeodatabaseFeatureTables. I have gone back and recreated everything from scratch, sometimes I have seen it fix the issues others not. When generating these replicas everything goes fine, I have checked Server logs and these only contain debug/info messages. Nothing indicative of errors. I can open the databases in DB Browser for SQLLite and everything looks fine. After a bunch of research I have found one difference. The databases that work all seem to have a table called GDB_ServiceItems. The databases that show no layers none appear to have this table. So a question, would this table missing cause the API to behave in this manner? Does the initialization of the Geodatabase object look to this table for information about the tables? -Joe
... View more
08-08-2017
10:29 AM
|
2
|
16
|
6995
|
|
POST
|
I may not be describing things clearly. My implementation is completely custom, in principle it is similar to the OfflineMap features in 100.1. This was done prior, and the current approach in 100.1 does not yet meet our requirements so we are not changing to use the these features in the API. The WebMap configuration is extracted as is from Portal and that is saved on the client. Our implementation actually converts it to xml and keeps it in the app.config file. This is all done with some extensions to standard json.net serialization. While the offline replica databases are loaded into the map on the client, this serialized definition is used to hydrate the properties of the feature layers as they are created. This includes the PopupDefintion for the FeatureLayer. Again json.net is used to de-serialize these objects Where we store the IsRequired is really just an implementation detail, right now it is stored separate from the WebMap configuration. When a user wants to edit a feature class the applications uses the PopupField properties to determine if a specific field is editable. My thinking was that if I could inherit from PopupField the IsRequired property could be added and it would be available when my collection of bound FieldItems is built out on our data entry form. We have a solution in place, but I find it a bit clunky. I am unclear about your suggestion. I think I understand how IValueConverter works, but I don't know what you are suggesting when you say binds to the popup definition/layer Thanks. I appreciate your taking that time to respond -Joe
... View more
08-07-2017
11:46 AM
|
0
|
0
|
1684
|
|
IDEA
|
It would be nice for the API to provide a set of events fired when a FeatureTable is modified. Similar to the events fired on a .net DataTable
... View more
08-06-2017
01:02 PM
|
0
|
0
|
820
|
|
POST
|
Our applications reads a WebMap configuration from Portal and stored that file on the client similar to some of the new functionality in the 100.1 release, although, we have requirements that unfortunately could not be solved with these new features. On the client we also can configure a field as being required (although at a db level the field would allow null values). What I think would be an easy and elegant solution is that when the popup definition is hydrated we use an inherited PopupField object that also includes the IsRequired property. The PopupDefinition is already attached to the FeatureLayer so the PopupField is accessible and we can always get to that information. Would just need to cast to the inherited type when the IsRequired property is needed. There are also times when being able to mock up an object in unit testing could be useful. Thanks -Joe
... View more
08-04-2017
07:27 PM
|
0
|
2
|
1684
|
|
POST
|
What is the reasoning driving making what seems like almost every class in the API to be sealed? There have already been a number of times where I could solve a problem so easily with inheritance and it is not possible requiring more complex solutions. I just don't understand why this seems to be the default behavior.
... View more
08-03-2017
03:23 PM
|
1
|
4
|
1974
|
|
POST
|
What about trying to create a CompositeSymbol that has the look of the callout. Then use the same timer to move the symbol through a graphics layer. You could try with a GraphicsOverlay, but I think that might make the application flash if you were adding and removing that quickly
... View more
08-03-2017
03:18 PM
|
0
|
0
|
1050
|
|
POST
|
Sorry I have not done anything with SceneView only 2D. Good luck
... View more
07-24-2017
05:14 PM
|
0
|
2
|
2219
|
|
POST
|
The PopupDefinition just gives you the definition of how the Popup is configured for that feature class. Everything else you have to do yourself. I think the documentation gives the impression that there is more to it. But you will need to create your own control and then with the PopupDefinition can setup how that information is displayed. You still need to add the control as an Item in the MapView.Overlays collection
... View more
07-23-2017
01:21 PM
|
0
|
1
|
1432
|
|
POST
|
Hi, I have noticed that draw performance with offline replicas can be very slow when the user is zoomed out to a more regional scale. We are working on better setup of services zoom scales but is there any other ways to improve the draw performance? There are feature classes the users want to see which draw very slow compared to our existing offline mobile cache (ArcGIS for Windows Mobile) Thoughts? Thanks -joe
... View more
07-19-2017
09:52 AM
|
0
|
0
|
631
|
|
POST
|
You would need to add as an item in the MapView:Overlays collection not in a GraphicsOverlay collection GeoView.SetViewOverlayAnchor(popupView, e.Location);
MapView.Overlays.Items.Add(popupView); Where popupView is a UserControl. Positioning is a little tricky
... View more
07-18-2017
04:21 PM
|
2
|
4
|
2219
|
|
POST
|
One thing I find less than optimal is the way that await/async handles exceptions in regards to sending them back to the calling methods. Perhaps that is just my lack of understanding on how they are meant to work. But I think this might be a general issue because it seems to me that APIs I use don't always throw a meaningful (or any) exception back to the caller. Just my observation. I'll be honest, I have gotten to think the simplicity of async/await often can results in worse code.
... View more
07-18-2017
10:07 AM
|
0
|
0
|
3571
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-11-2026 09:07 AM | |
| 1 | 10-23-2025 12:16 PM | |
| 1 | 10-19-2022 01:08 PM | |
| 1 | 09-03-2025 09:25 AM | |
| 1 | 04-16-2025 12:37 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-23-2026
12:26 PM
|