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
Friday
|
0
|
0
|
53
|
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
Friday
|
0
|
2
|
63
|
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
Thursday
|
0
|
0
|
89
|
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
Thursday
|
0
|
6
|
145
|
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
2 weeks ago
|
0
|
1
|
61
|
POST
|
I was trying to use CloudFormation and get errors trying to import the esri templates. Using this template: https://arcgisstore.s3.amazonaws.com/1110/templates/arcgis-enterprise-allinone.template.json I get the following errors This makes it impossible to use. Thanks -Joe
... View more
3 weeks ago
|
0
|
3
|
165
|
POST
|
What I do as have a method to log onto the portal. This cannot be done using the ChallangeHandler, you have to do yourself. But this allows having a full portal login to the Portal itself, instead of specific resource protected readonly string ServerUrl = "https://www.arcgis.com/sharing/rest";
//protected readonly string ServerUrl = "https://machine.domain.loc/portal/sharing/rest";
public async Task<ArcGISPortal> OpenPortalAsync(bool refresh = false)
{
try
{
if ( _portal == null )
{
var credential = await AuthenticationManager.Current.GenerateCredentialAsync(new Uri(ServerUrl));
RefreshToken(credential);
AuthenticationManager.Current.AddCredential(credential);
_portal = await ArcGISPortal.CreateAsync(new Uri(ServerUrl));
PortalUser = _portal.User;
ConnectionStatus = ConnectionStatus.Connected;
}
else
{
if ( !refresh ) return _portal;
var token = (TokenCredential)await AuthenticationManager.Current.GetCredentialAsync(
new CredentialRequestInfo { ServiceUri = new Uri(ServerUrl) }, false);
if ( token != null ) await token.RefreshTokenAsync();
}
return _portal;
}
catch (Exception e)
{
_log.Debug(e.Message);
ConnectionStatus = ConnectionStatus.NotConnected;
return null;
}
}
... View more
01-24-2024
10:00 AM
|
1
|
0
|
226
|
POST
|
Curious what version of XCode you have installed on your build mac. This sounds like an XCode 15 issue as opposed to a Mobile API issue. With XCode 15 you will definitely see issues on iOS 16.x
... View more
12-28-2023
08:52 AM
|
0
|
0
|
263
|
POST
|
Are you calling LoadAsync ? You need to explicitly Load tables/layers, etc
... View more
11-30-2023
10:39 AM
|
1
|
2
|
374
|
POST
|
@TonyWakim I deleted that post because I jumped the gun. After the first replica I generated which did not duplicate other replicas have duplicated. So my thought of it having something to do with the single machine env. vs. a multiple machines server farm was incorrect
... View more
11-16-2023
06:18 PM
|
0
|
1
|
380
|
POST
|
@TonyWakim, @JenniferNery I did run against that services using just a user name and password login and I only see one new replica added to the service. Are you using both hosted services in the test cases? I am just trying to think of things different. We are using a HANA database and the services use reference data, not hosted. The way the application works is: User connects to portal using an OAuth Authorization (that uses SAML in this case) An interface is presented that allows the user to select the PortalItem to generate a replica from The user selects an output folder, and the output path is created The code above is used to create the replica. I have looked at the Jobs folder while doing this and only see a single job created so I am not sure what process possibly creates the second replica. But so far this seems to happen on every replica I generate. Looking at other things, last night I ran my tool four times on a service I have (single feature class). I have eight replicas show in the ArcGIS Server UI. The first one in each set named Ags_Fs Another strange thing I notice, if I look in Pro the only ones I see are the ones that have none Ags_Fs names:
... View more
11-16-2023
05:22 AM
|
0
|
0
|
411
|
POST
|
This is integrated into a pretty elaborate offline data management tool, so just pointing to a service is a pretty significant amount of changes. Do you have replica tracking on for these datasets used for the services?
... View more
11-15-2023
06:34 PM
|
0
|
2
|
423
|
POST
|
@MarceloMarques Tudo Ben? It's been ages since I have bumped into you. Hope all is well Best Regards, Joe Hershman
... View more
11-10-2023
12:40 PM
|
1
|
1
|
454
|
POST
|
I have a tool for taking data offline which uses the GeodatabaseSyncTask var gdbSyncTask = await GeodatabaseSyncTask.CreateAsync(serviceItem.ServiceUrl);
string replicaPath = $"{ConfigurationSettings.OutputFolder}\\{serviceItem.Title}.geodatabase";
var envelope = Geometry.FromJson(ConfigurationSettings.FullExtent)?.Extent;
var parameters = await gdbSyncTask.CreateDefaultGenerateGeodatabaseParametersAsync(envelope);
parameters.UtilityNetworkSyncMode = UtilityNetworkSyncMode.None;
job = gdbSyncTask.GenerateGeodatabase(parameters, replicaPath);
await job.GetResultAsync(); What I notice is that when I look at ArcGIS Enterprise at the /replica (https://serverName.domain.loc/server/rest/services/Mobilelayers/OfflineNetwork/FeatureServer/replicas) endpoint on the feature service there are two replicas created When I look at the .geodatabase generated it seems that the file always points to the second one. I am using branch versioning for the first time, is this expected behavior with branch versioned data? With standard archive data only a single replica was ever created (same tool, different ArcGIS Enterprise)
... View more
11-10-2023
06:52 AM
|
0
|
8
|
536
|
POST
|
I have a tool for taking data offline which uses the GeodatabaseSyncTask which uses the Mobile API What I notice is that when I look at ArcGIS Enterprise at the /replica (https://serverName.domain.loc/server/rest/services/Mobilelayers/OfflineNetwork/FeatureServer/replicas) endpoint on the feature service there are two replicas created When I look at the .geodatabase generated it seems that the file always points to the second one. I am using branch versioning for the first time, is this expected behavior with branch versioned data? With standard archive data only a single replica was ever created (same tool, different ArcGIS Enterprise)
... View more
11-10-2023
06:52 AM
|
0
|
0
|
143
|
Title | Kudos | Posted |
---|---|---|
1 | 01-24-2024 10:00 AM | |
1 | 08-03-2023 04:14 AM | |
1 | 11-30-2023 10:39 AM | |
1 | 11-10-2023 12:40 PM | |
1 | 11-07-2023 01:16 PM |
Online Status |
Offline
|
Date Last Visited |
Saturday
|