POST
|
Hi there. I saw some activity on the Runtime samples GitHub repo about Runtime possibly not supporting C# 6 language features. What is the official word on this? I'd be interested to learn more about official support for this in 10.2.7, 100.0.0 and 100.1.0. Thanks, -Cory
... View more
11-20-2017
06:09 AM
|
0
|
2
|
766
|
POST
|
Hi Jennifer, Thanks for your reply. I'm using a different method (see code below). This is the signature which shows the (system?) challenge dialog which prompts the user for user/pwd. Also, to clarify, the issue occurs before the user enters any information. Idea: I think that the Esri method is not throwing an exception in situation where url is not accessible (either that, or I'm missing something). Would be nice if an exception were thrown. Question: Anyone else seeing issue where a _deployed_ UWP app cannot access this url when url is internal? Works fine in browser on deployment machine. Also works fine in UWP app on development machine. "https://{0}/arcgis/rest/info?f=json" We are still looking for root cause here. Any ideas appreciated. GenerateTokenOptions tokenOptions = new GenerateTokenOptions() { TokenAuthenticationType = TokenAuthenticationType.ArcGISToken, }; CredentialRequestInfo requestInfo = new CredentialRequestInfo() { AuthenticationType = AuthenticationType.Token, GenerateTokenOptions = tokenOptions, ServiceUri = _syncUri }; Credential credential = await AuthenticationManager.Current.GetCredentialAsync(requestInfo, false); Thanks, -Cory
... View more
08-02-2017
08:41 AM
|
0
|
0
|
1515
|
POST
|
To clarify, the SDK sends the above request as the challenge dialog appears. This is before user has entered their credentials or clicked Ok on the dialog. After user clicks OK -- logically --, a send request is sent to the tokens url (https://{0}/arcgis/tokens/). In my fail scenario, both of these requests are failing, but I wasn't able to catch an exception from either.
... View more
07-17-2017
01:31 PM
|
0
|
1
|
1515
|
POST
|
Hi Joe, Thanks. I added this based on your suggestion. Working so far. The ArcGIS Runtime SDK sends a Get using this url when I call Authentication.GetCredentialAsync, so that's the url template I ended up using for my sniff test. "https://{0}/arcgis/rest/info?f=json" -Cory
... View more
07-17-2017
01:25 PM
|
0
|
2
|
1515
|
POST
|
Hi All, We are using this method to generated a Credential before calling GeodatabaseSyncTask.CreateAsync(). AuthenticationManager.GetCredentialAsync(CredentialRequestInfo credentialRequestInfo, bool retry) The way this works is that the default challenge dialog appears prompting user for userid/pwd. This works fine if the url is accessible, but in situation where the url is not accessible (e.g. internal url and device is outside the firewall), the method does not throw an exception. Is there a way using this method (or similar from the SDK) to know that the url isn't accessible, e.g. via a thrown Exception? Currently, all the user sees is a message in the default challenge dialog: "Previous error: An error occurred while sending the request". In VS if I enable "Compile with .NET Native tool chain" I can get a little bit more information, but I am looking for a clean solution for this. Any guidance appreciated. Thanks! -Cory
... View more
07-14-2017
09:44 AM
|
0
|
6
|
2019
|
POST
|
Awesome. Got it! Based on the doc, I expected to be able to access this from the ArcGIS for Developers site/dashboard. That’s where I got mixed up. Thanks!
... View more
06-06-2017
03:03 PM
|
0
|
0
|
1708
|
POST
|
The doc here says that the Lite License key is "Available for free. Login to your ArcGIS for Developers account and copy the key into your app." https://developers.arcgis.com/arcgis-runtime/licensing/ I'm not seeing this option in my ArcGIS for Developers account. Is this supported? If so, how do I get the key? I'm looking for the key so that I can test my app to confirm my licensing logic is working before I test on the deployment device using customer's license key. Thanks, -Cory
... View more
06-06-2017
02:28 PM
|
0
|
4
|
2513
|
POST
|
Hi Nagma, I've confirmed the source locator in Desktop. Supports Suggestions = true (same as the runtime locator). This appears to be a bug, very least a doc bug. Are suggestions supported in runtime for local locators? We've built a nice type-ahead/auto-suggest address search UWP control, but it doesn't work with our local locator. -Cory
... View more
06-06-2017
01:03 PM
|
0
|
1
|
1628
|
POST
|
I’m seeing this exact behavior with the locator we created… “When I'm typipng "rue jean Jaures, wattre", I get the suggestion "Rue Jean Jaures, Wattrelos", when I'm cliking on hit, I get no results found.” …It is unexpected that Suggestions list includes streets (not addresses), but selecting one of those “street suggestions” gives “no results found” when I tap on it. I happens to be in a Runtime app, and the locator happens to be local, but I’m not sure those are relevant differences to what you’re doing.
... View more
06-06-2017
08:48 AM
|
0
|
0
|
1628
|
POST
|
Hi Nagma, In runtime, based on my local .loc, LocatorTask.LocatorInfo.SupportsSuggestions = true. I am checking with someone on checking similar property for the source locator in ArcGIS Desktop. In same runtime app, I have no problem using suggestions with these online locators: http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer http://sampleserver6.arcgisonline.com/arcgis/rest/services/Locators/SanDiego/GeocodeServer Thanks, -Cory
... View more
06-05-2017
02:09 PM
|
0
|
2
|
1628
|
POST
|
Hi Nagma, Thanks for your reply and for pointing me to the ArcGIS Desktop help topic. Can you confirm whether suggestions are supported in ArcGIS Runtime SDK for .NET based on a _local_ locator? The Desktop topic seems to be referring to use of Locator within ArcGIS Desktop. We are doing something a little different: 1) creating locator, 2) creating runtime locator, 3) using runtime locator from ArcGIS Runtime SDK for .NET app. Here are the doc links for steps 2) and 3): http://desktop.arcgis.com/en/arcmap/latest/map/working-with-arcmap/creating-arcgis-runtime-content.htm https://developers.arcgis.com/net/latest/uwp/guide/search-for-places-geocoding-.htm It would be very helpful if you could confirm this pls. Thanks, -Cory
... View more
06-05-2017
05:58 AM
|
0
|
4
|
1628
|
POST
|
Hi Mickaël, To get a result with this single field text... "rue jean jaures, wattrelos" .... I think you need to change the option in the locator to not require the postal code field. Just to confirm, are you typing these in completely, or are you typing these in partially, then choosing from the suggestions? -Cory
... View more
06-05-2017
05:54 AM
|
0
|
2
|
1628
|
POST
|
We did some testing with this recently. We used an app we have built on the ArcGIS Runtime SDK for .NET v100, UWP flavor. Our underlying feature class is versioned, and we are syncing two way. We tested creating features on 2 different devices and syncing. We also used ArcMap to check the contents in the back-office geodatabase. Findings: If we used same .geodatabase (same replica) on Device 1 and Device 2, sync ran without errors, but it did NOT run as expected. We specifically observed issue where features created on Device 1 and uploaded to server, were not correctly downloaded to Device 2. We changed 2 things (yes, I know this violates scientific best practices)... We changed feature service advanced setting to create version per user (not per replica). We created 2 different replicas (manually via REST endpoint) and sideloaded these replicas to Device 1 and Device 2 ... after making these changes, we re-ran our same tests and things worked well. We did not observe same issue as above. We did not find any other issues. So, basically this supports what you posted. The only difference, which could be useful in some scenarios, is that we were able to create our replicas and sideload. It makes sense that this works as it is basically the same thing as creating using Runtime SDK on device and downloading. -Cory
... View more
05-18-2017
08:57 AM
|
0
|
1
|
371
|
POST
|
Hi Peter, We are trying to get the internal GPS working for a Windows 10 Esri app on a Panasonic FZ-G1. On same device, we have the _external_ (USB) GPS working in a Win 10 app using GPS Complete. Couple quick questions: You wrote that you used these parameters: COM3 and 4800 baud. Was this for the internal GPS (integrated in the Panasonic device), or an external GPS? Does your internal GPS appear in Windows Device Manager? If yes, does it appear under Ports or elsewhere? Thanks, -Cory
... View more
05-18-2017
08:44 AM
|
0
|
0
|
2355
|
Title | Kudos | Posted |
---|---|---|
1 | 04-11-2017 05:54 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|