|
POST
|
Maybe this will be helpful: https://community.esri.com/message/703881-where-to-get-a-delta-geodatabase-for-importgeodatabasedeltaasync
... View more
07-27-2017
08:55 AM
|
0
|
0
|
954
|
|
POST
|
In the Runtime .NET API, I found a method named ImportGeodatabaseDeltaAsync. Unfortunately, there is no documentation how to use this method in a full workflow. So I have to try many things. The first parameter is geodatabaseFileName Type: System.String The path and filename of geodatabase where delta is applied to. It seems that it has to be a Runtime geodatabase. I could use my Runtime geodatabase anyway, which I have created with my Runtime client against an sync enabled ArcGIS Server (FeatureServer) service. So, this is no problem, as I could create it with the Runtime SDK method GenerateGeodatabase. The second parameter is deltaGeodatabaseFileName Type: System.String The path and filename of geodatabase where to import the delta from This one could not be a normal Runtime geodatabase file, because you will get an exception in that case: Esri.ArcGISRuntime.ArcGISRuntimeException: 'SQL error or missing database: no such table: GDB_DataChangesDatasets' Obiviously the geodatase has a different structure. I could not find any SDK functionality for creating a delta package, so I tried to create one directly from the REST API: We created a replica first, added a new feature in the service and then called the synchronizeReplica operation. The result was a geodatabase file, which now has different schema as there exists some additional tables in it. When using this geodatabase for the deltaGeodatabaseFileName Parameter, the ImportGeodatabaseDeltaAsync works. My question now is: Is there a way to create the delta geodatabase file with Runtime SDK? As the synchronizeReplica REST operation is also used SyncGeodatabase SDK method, do I have to use some special parameters to generate it? But how? Could I also generate the delta geodatabase with a desktop/python tool? As first parameter (geodatabaseFileName), could I also use a desktop generated geodatabase (ArcGIS runtime content)? And maybe adding a documentation for this workflow would be helpful, as I could not find anything about it.
... View more
07-27-2017
08:54 AM
|
1
|
3
|
2934
|
|
POST
|
I am familiar with using secured content in AGOL with the ArcGIS Runtime. But we also have an ArcGIS Portal installed in our company. And there we are able to log in with an enterprise account, which in fact is an active directory account. So, when I use an AGOL account, I initialize credentials in this way: // use the authentication manager to generate a credential for the portal
var cred = await AuthenticationManager.Current.GenerateCredentialAsync(
new Uri(agolUrl),
"MyAgolUserName",
password);
// add the credential if it was generated successfully
AuthenticationManager.Current.AddCredential(cred);
But how to do when using an enterprise account? // use the authentication manager to generate a credential for the portal
var cred = await AuthenticationManager.Current.GenerateCredentialAsync(
new Uri(agolUrl),
"abc@domain.com",
password);
// add the credential if it was generated successfully
AuthenticationManager.Current.AddCredential(cred);
The same, if I use "domain.com\abc" instead. This way I got an error: You do not have permissions to access this resource or perform this operation.
... View more
06-30-2017
09:09 AM
|
0
|
1
|
1476
|
|
POST
|
There are no further plans to release a new version of ArcGIS for Windows Mobile. And as you already realized, ArcPad will be the only product supporting the Windows Mobile plattform for a few more years. As far as I know there are no plans to bring the ArcGIS Runtime product to Windows Mobile plattform.
... View more
01-12-2017
12:10 AM
|
1
|
2
|
1817
|
|
POST
|
This was a discussion about ArcGIS for Windows Mobile, and this is a complete different product than ArcPad. So maybe you will be more succeeded in the right community.
... View more
11-14-2016
03:51 AM
|
0
|
0
|
910
|
|
POST
|
Hi Jens, thanks a lot. The last action was the solution for me. I readd all my Nuget references and than everything works.
... View more
01-11-2016
04:22 AM
|
0
|
0
|
1355
|
|
POST
|
I get an error in Visual Studio when editing my MainWindow.xaml: InvalidOperationException: Error initializing ArcGISRuntimeEnvironment. Unable to find ArcGISRuntime deployment folder. To create a deployment run the ArcGISRuntime Deployment Tool to create a folder called arcgisruntime10.2.6. Place this in the same folder as your exe, or set the ArcGISRuntimeEnvironment.InstallPath to point to a different location. This deployment folder must contain sub-folders matching your process architecture. For developers you can also install the ArcGIS Runtime .Net SDK, which includes a deployment folder. That is the reason why Visual Studio does not show any esri objects in the Design-Window and marks any esri objects as error in the xaml window. The strange thing is: this has worked for many days now without any problems so far. I could not remember that I have changed anything, I justed opened up my project. But: even if I get error messages in the designer, I could compile and run the programm without any problems! So it seems to be a problem of the designer, but it is annoying. Any one have an idea how to get a solution for this problem?
... View more
01-11-2016
01:34 AM
|
0
|
2
|
4234
|
|
POST
|
The checksum is not calculated by client, it is calculated by the server for each change in the schema. It could not be changed by client.
... View more
09-29-2015
12:28 AM
|
0
|
0
|
464
|
|
BLOG
|
The templates for ArcGIS Pro are only supported and available for Visual Studio 2013 by default. As I wanted to use Visual Studio 2015, I'd like to have the templates also available in Visual Studio 2015. This could be realized with a few steps: download the template vsix-installer: https://visualstudiogallery.msdn.microsoft.com/1dd407cd-bfe7-44d8-9d29-90e0d0db8699 open with 7zip edit the extension.vsixmanifest file in root folder search for <InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[12.0]" /> add an additional line after this: <InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[14.0]" /> save, exit, install
... View more
08-04-2015
03:28 AM
|
1
|
1
|
2160
|
|
POST
|
Ok, I found a solution for myself. The missing method has been moved to SourceDataColumn. I did not get, why, in my opinion it makes more sense where it has been before. That's why I wrote a workaround class for me, which uses the old idea of getting access by FeatureSource instead of each column: using System.Collections.Generic;
using ESRI.ArcGIS.Mobile.FeatureCaching;
public static class FeatureSourceExtensions
{
private static Dictionary<FeatureSource, Dictionary<string, IDomain>> _domains;
/// <summary>
/// Get all coded value domains for a feature source. Stores result after first access for increasing speed.
/// </summary>
/// <param name="featureSource"></param>
/// <param name="subtypeCode">default seems to be 0 and is therefore set, but could be overwritten</param>
/// <returns></returns>
public static Dictionary<string, IDomain> GetDomains(this FeatureSource featureSource, int subtypeCode = 0)
{
if (_domains == null)
{
_domains = new Dictionary<FeatureSource, Dictionary<string, IDomain>>();
}
if (!_domains.ContainsKey(featureSource))
{
var featureDomain = new Dictionary<string, IDomain>();
foreach (var column in featureSource.Columns)
{
var domain = column.GetDomain(subtypeCode);
if (domain != null)
{
featureDomain.Add(column.ColumnName, domain);
}
}
_domains.Add(featureSource, featureDomain);
}
return _domains.ContainsKey(featureSource) ? _domains[featureSource] : null;
}
/// <summary>
/// checks if a feature source has any domain values
/// </summary>
/// <param name="featureSource"></param>
/// <param name="subtypeCode">default seems to be 0 and is therefore set, but could be overwritten</param>
/// <returns></returns>
public static bool HasDomains(this FeatureSource featureSource, int subtypeCode = 0)
{
return GetDomains(featureSource, subtypeCode).Count > 0;
}
/// <summary>
/// returns a coded value domain for a special field
/// </summary>
/// <param name="featureSource"></param>
/// <param name="columnName"></param>
/// <param name="subtypeCode">default seems to be 0 and is therefore set, but could be overwritten</param>
/// <returns></returns>
public static IDomain GetDomain(this FeatureSource featureSource, string columnName, int subtypeCode = 0)
{
var domains = GetDomains(featureSource, subtypeCode);
return domains.ContainsKey(columnName) ? domains[columnName] : null;
}
}
... View more
06-12-2015
03:40 AM
|
0
|
0
|
731
|
|
POST
|
I have to migrate a ArcGIS for Windows Mobile 10.0 solution to version 10.2.1. It was a pain to replace all the new changes so far and now I have to care about a special problem. In 10.0 there was a method named GetDomain() for the FeatureLayer class: object domain = featureDataTable.FeatureSource.GetDomain(
pSubTypeIndex,
featureDataTable.Columns[featureDataTable.DisplayColumnIndex].ColumnName); But this method no longer exists. How could I get these domain information now?
... View more
05-21-2015
07:40 AM
|
0
|
1
|
4593
|
|
BLOG
|
Hallo Fridjof, tatsächlich ist mit dem Dienst was nicht in Ordnung. Wir haben das intern mal weiter geleitet. Derweil haben wir einen weiteren Dienst zur Verfügung gestellt, der funktioniert: Einfach mal nach "Schadensmeldung Freising" suchen, mit dem Dienst geht es. Grüße Max
... View more
04-17-2015
01:48 AM
|
0
|
0
|
780
|
|
POST
|
Andrew: take a look to this workflow description: ArcGIS for Windows Mobile
... View more
02-05-2015
07:47 AM
|
0
|
0
|
221
|
|
POST
|
Finbar, that is not correct. ArcGIS for Windows Mobile does not need any ArcGIS Online account. By the way: What is the problem with ArcGIS Online? Maybe your opinion of pricing? Than have a look here: Plans | ArcGIS for Developers
... View more
02-05-2015
07:40 AM
|
0
|
4
|
1537
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-11-2025 04:40 AM | |
| 2 | 09-20-2019 03:24 AM | |
| 2 | 09-26-2019 04:37 AM | |
| 3 | 01-25-2022 08:44 AM | |
| 1 | 06-22-2021 12:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-28-2025
05:33 AM
|