|
POST
|
We have to perform an operation in Portal/Server using a credential that is not the same as the logged in user credentials on a site that uses IWA. The problem is that even when we try to get credentials for the other user (which succeeds), it still seems that the Runtime is always trying to use the IWA credential. I can see the credential in the credential store, but seems that as long as pass-through is turned on, the windows credentials are used. In my app it will keep looping through the CredentialHandler trying to get a valid credential and eventually fail. Is this possible in IWA. We have a similar process on a SAML secured site and it works as desired, seems the IIS is not letting something go through
... View more
09-13-2024
09:56 AM
|
0
|
0
|
423
|
|
POST
|
Thanks for figuring this out, but seems like a bug to me
... View more
09-05-2024
08:27 AM
|
0
|
0
|
714
|
|
POST
|
I found the WebView2 looks much better with the newer API OAuth dialog sizing (WPF 4.7.2)
... View more
08-28-2024
03:07 PM
|
0
|
0
|
2886
|
|
POST
|
It is difficult to tell from what you posted. But Grid has HorizontalOptions and Margin settings. These work together to line up a grid on a page
... View more
07-08-2024
11:50 AM
|
0
|
0
|
886
|
|
POST
|
If you go to Manage NuGet Packages from your Project in Visual Studio you can see what version of the Runtime you have. You could also look in the project file itself, it shows the version Licensing can be done a different ways. If you are online, you can have users log on. This is the most straight forward This would authenticate and then they could do what their license allows. As example, if a Viewer users logged in, and you wrote code to edit features in a service, it would fail. Because the Viewer cannot edit data. For offline apps it is possible to get an offline key. This is something that needs to be discussed with your esri rep. Yes, it is possible to do things and leave the watermark. This is basically making a conscience decision to use unlicensed software.
... View more
06-04-2024
09:29 AM
|
0
|
0
|
3145
|
|
POST
|
To reiterate, in branch versioning there is only one level. Default can have many children, but no grandchildren. So your projects are created directly off Default, it is not possible to have the PlanRoot. You are not describing how you take work offline (Field Maps, in-house app, etc.). For what you describe, this should be possible. But I have never tried, so this is theory. If you create a branch version for a project you would then generate services that point to that version. Your in-house or web editors would then use those services for editing. You could then go offline with replicas created from that service. The field changes would sync back to the version of the service. For this process you would need a service (or set of services) for each version. Every time you create a new project you will have to generate a set of services for that project. If there are half a dozen projects this seems doable, if you have 100s of ongoing projects, it seems to me it would be difficult to manage.
... View more
05-10-2024
06:51 AM
|
0
|
0
|
1375
|
|
POST
|
It seem the error is because in my Maui startup I was setting a default API key .UseArcGISRuntime(config => config.UseApiKey("API KEY")); Replaced with: .UseArcGISRuntime(); And now it works. Not sure why, but remove the default key has resolved the issue
... View more
05-06-2024
02:28 PM
|
0
|
1
|
1534
|
|
POST
|
After some additional research I found a MAUI sign in sample MauiSignin. This includes setting Persistence property on AuthenticationManager AuthenticationManager.Current.Persistence = await CredentialPersistence.CreateDefaultAsync(); Unfortunately, this did not resolve the issue. I still fail trying to query the service layer even though it would seem that everything is set correct and I have permissions
... View more
05-06-2024
01:58 PM
|
0
|
0
|
1537
|
|
POST
|
First thing is that in branch version it is only a single level tree, unlike traditional versioning which could have multiple levels. So in your description 'operational elements' would have to be default. I have never done what you describe, usually when you define the service you indicate that it will either create versions when a offline replica is created, or it will not. We generally use a model that we do not create versions when maps go offline and then sync back to default. Looking at your link I am interested myself to know that if I use that parameter in the Url if I could take a branch that is not default offline. That would be an interesting thing to be able to do in some of our workflows
... View more
05-06-2024
01:52 PM
|
0
|
0
|
1417
|
|
POST
|
I am migrating an app from Xamarin to Maui, currently focused on iOS. I have the Authentication setup and things appear to work, however, when trying to query a service table I get what seems to be authentication issues. I even added an extra authentication specific to the service and while I get a valid credential and add to AuthenticationManager I still get an apparent authentication error. Error: "You do not have permissions to access this resource or perform this operation."
Source: "System.Private.CoreLib"
at Esri.ArcGISRuntime.Http.HttpDispatcher.SendAsync(HttpRequestMessage request, HandlerOptions options, CancellationToken cancellationToken)
at Esri.ArcGISRuntime.Internal.RequestHandler.IssueRequestAndRespond(CoreRequest request) Code //I am already authenticated to AGOL, but added this for testing. It does fire an OAuth window
//The credential is valid, I can even use the token from debugger to access service
var credential = await AuthenticationManager.Current.GenerateCredentialAsync(new Uri(_configuration.AppSettings.ProjectFeatureLayerUrl));
AuthenticationManager.Current.AddCredential(credential);
var table = new ServiceFeatureTable(new Uri(_configuration.AppSettings.ProjectFeatureLayerUrl));
await table.LoadAsync(); //THIS LINE FAILS, was added for testing
var parameters = new QueryParameters { WhereClause = $"{_configuration.AppSettings.FieldNames.TrackingStatus} ='Project Created'", ReturnGeometry = true, MaxFeatures = 1000 };
var results = await table.QueryFeaturesAsync(parameters, QueryFeatureFields.LoadAll); //If does have the LoadAsync this fails As noted: In the debugger I can grab the token and use in a browser to access that service, so it seems I am getting a valid credential. It seems though, that the AuthenticationManager is not being queried for credentials. Thanks -Joe
... View more
05-06-2024
12:25 PM
|
0
|
3
|
1562
|
|
POST
|
Ended up being basically the same. The one 'trick' was that you cannot use the Navigate methods on the WebView2 but need to set the Source property _webView.Source = new Uri(authorizeUri); The WebView2 needs to initialize, and getting the initialization methods to work was giving my fits. But setting Source will also call the initialization methods in the background. Much better look Thanks for the help @dotMorten_esri
... View more
04-19-2024
10:22 AM
|
0
|
0
|
1908
|
|
POST
|
I am using the old WPF one. I started looking into the WebView2 after seeing this and am having a hard time implementing in the pattern of how the OAuthAuthorizeHandler is implemented in it's own class. Do you know of an example using Webview in the OAuthAuthorizeHandler? I will play around with it a little more and see if I can get it to work
... View more
04-19-2024
06:38 AM
|
0
|
2
|
1918
|
|
POST
|
I can shrink my window so there is not as much blank space but it is really small. And very different size from how it renders on a web page.
... View more
04-18-2024
01:18 PM
|
0
|
0
|
1944
|
|
POST
|
I am setting up an app in WPF. In the past all Windows WPF apps I have deployed have used Windows or SAML authentication and so have never had an actual login dialog. Setting this app with standard ArcGIS Enterprise credentials and the dialog looks very poor. The returned login is very small. Is there any way to change this size? I don't see anything that allows that control. But this looks very poor Thanks -Joe
... View more
04-18-2024
12:10 PM
|
0
|
6
|
2000
|
|
POST
|
Don't even get that far, this is just trying to load the template at the very start, before I could even make changes
... View more
04-08-2024
08:35 AM
|
0
|
1
|
1025
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 03-18-2025 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|