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
|
117
|
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
|
33
|
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
|
33
|
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
|
33
|
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
|
537
|
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
|
33
|
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
|
2
|
838
|
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
|
25
|
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
|
25
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|