|
POST
|
Hey Nakul Thanks for the code. Comparing it to my code, I found an error in my code that caused it to lose the path to the local GDB after creation which is what caused GDB.valid to return false. That part is working now. Now on to fix other problems. Thanks again. Ken
... View more
05-12-2017
07:47 AM
|
0
|
1
|
2267
|
|
POST
|
Can you confirm this workflow- generate geodatabase locally for the first time. Then close the app (no edits). Next tim?e open the app and load the local geodatabase (instead of regenerating). And check if the gdd is valid this time? Yes, I generated the gdb locally, made no edits and closed the app. I then opened the app and watched the debug messages as it found the local gdb and gdb.valid returned false. I can see about unregister/register. Is that a standard procedure for an offline editing app?
... View more
05-11-2017
01:44 PM
|
0
|
3
|
2267
|
|
POST
|
?Thanks for the suggestion, Nakul. I am pretty confident my service and geodatabase are configured correctly. Or at least I can download it in an offline map using Collector, edit the layer and synchronize the changes back to AGOL. Furthermore, if I make sure there are no existing local replicas on the device, I can download the layer to my app, which successfully creates a new local version of the data. I can then add features to the layer and sync it back to the service. It only fails on the gdb.valid method when I relaunch the app and it finds the existing local replica. So perhaps there are steps I should be taking when I close down the app in order to close the gdb, or the editing session. Perhaps there is something I am not doing and this corrupts the gdb for future use causing gdb.valid to return false? Just trying to analyze this and figure it out. Thanks for any help. Ken
... View more
05-11-2017
10:47 AM
|
0
|
5
|
2267
|
|
POST
|
Thanks Nakul This makes perfect sense. Now when I implemented it I was able to generate the replica and find it on subsequent executions so it only generates one replica on the service. But on the second and all subsequent executions the line if(gdb.valid) consistently returns false. So my next question is , what causes that and how do I correct it? Thanks, Ken
... View more
05-09-2017
11:46 AM
|
0
|
7
|
2267
|
|
POST
|
I used the samples to create an app that makes a local replica from a hosted feature service. I notice that every time the app starts, it creates a new replica that can be seen in the feature service's REST directory page. After several iterations of editing the code and starting the app to test it, the feature service has a long list of replicas. Other 'official' apps like Collector do not do this so there must be a way to have the app check for an existing and valid replica before creating a new one. What is the correct way to do this?
... View more
05-08-2017
07:27 AM
|
0
|
9
|
2988
|
|
POST
|
When requesting a cloud make, it fails with this message: Build request failed - Error 99 - Network access is disabled. What is it telling me? Is it something within my control to fix, an issue with the network I am currently using or is it a fault on the server? Or is it something else entirely? Thanks, Ken
... View more
05-05-2017
09:29 AM
|
0
|
5
|
3262
|
|
POST
|
I used to be able to install an app on my phone for testing by logging in to http://appstudio.arcgis.com/ota/. Now I get a 404 error. Has the app moved or been replaced? Also I no longer receive emails as before telling me a cloud make has completed. I probably set (or unset) a property somewhere. How can I fix this? Ken
... View more
05-03-2017
10:06 AM
|
0
|
2
|
1514
|
|
POST
|
Thanks Anshuman Yes, I have APPSTUDIO_POSITION_BACKGROUND_MODE set to ON: Let me know if there are any work arounds or solutions you can think of. Best, Ken BTW Where ate the APPSTUDIO environment settings documented? Or are they?
... View more
03-21-2017
05:49 AM
|
0
|
3
|
2159
|
|
POST
|
I have an app I wrote in Qt Creator that for months ran reliably when backgrounded on my iPhone. Just recently I upgraded AppStudio to v 1.4 which also laid down AppFramework 1.4.18, Qt version 5.8.0 and ArcGIS Runtime SDK for Qt version 10.2.6.1628. After re-Making my app and redeploying it, it no longer runs when backgrounded on my device. I may have made some inadvertent change but don't think so. I have verified "backgroundLocation": true, in appinfo.json but have no idea what else to check. What would cause it to no longer function while backgrounded? Any and all help appreciated. Thanks, Ken
... View more
03-20-2017
12:09 PM
|
0
|
5
|
2570
|
|
POST
|
Is there a way to use Arcade (or any other means) to add feature counts to the class value labels of a legend in ArcGIS Online like this:
... View more
01-25-2017
01:15 PM
|
2
|
0
|
1032
|
|
POST
|
I am trying to create a single-machine 10.5 base WebGIS (Portal, Server, DataStore, Spatiotemporal BDS & WebAdaptor) in a VPC on AWS using CloudFormation. It processes for about 30 minutes and fails with the error message 'WaitCondition received failed message: 'Process chef-solo exit code : 1' What is that telling me and how do I correct it? Thanks, Ken
... View more
01-18-2017
12:02 PM
|
0
|
0
|
890
|
|
POST
|
How do I enable directions (routing) in the WAB NearMe widget? I'm helping a client set up a WAB app with the NearMe widget and he needs to including directions (routing) to the items in the results list. The doc for the widget says: Routing is enabled and disabled in the application settings of the ArcGIS Online item page of the map used by the widget. If you see the message To enable directions, ensure that routing is enabled in the ArcGIS Online item on the Directions tab and you want to enable directions, go to Application Settings on the items detail page of the map you are using, recheck the routing application setting, and save the map. The map has routing enabled: and yet directions are still not configurable in the widget: Any suggestions are appreciated.
... View more
11-18-2016
11:38 AM
|
0
|
7
|
3747
|
|
POST
|
Thanks Luke Based on your suggestion I have been researching to try to understand how to utilize IdentityManager. I found a recent (Aug 3, 2016) GeoNet post by you indicating there is a QML sample, but I was only able to find a C++ sample illustrating IdentityManager. I tried to look through the C++ sample but I’ve never learned that language so I didn’t glean much. By any chance do you have any sort of example for QML? Thanks
... View more
10-13-2016
08:23 AM
|
0
|
1
|
1288
|
|
POST
|
I have an app that writes to a secured feature service and once the user signs in I want them to have have the option of staying signed in. There is no obvious property or method on the UserCredentials object that seems to enable this so figured I'd use a timer. The user's first sign-in works. reliably. When I receive the token after the user signs in, I set the timer interval to half the time until tokenExpiry and set the timer's onTriggered signal to try to log in again by calling ServiceInfoTask.fetchFeatureServiceInfo(). . But this doesn't get a new token or change the tokenExpiry. What is a correct method of doing this? Do I need to sign out first? Reinitialize the UserCredentials and/or reassign them to the ServiceInfoTask? Something else? Thanks
... View more
10-12-2016
07:25 AM
|
0
|
3
|
1788
|
|
POST
|
How do I set up a FeatureLayer to only fetch the newest records in the Qt Runtime API. The feature layer has a timestamp field that reflects the moment each feature was created. I am more interested in seeing the newestfeatures rather than the oldest, but by default the feature layer displays in table order which is to say the oldest features to newest. But it runs into the service's feature query limit long before it ever gets to the newest features. Can I set the definitionExpression parameter with something like "ORDER BY Timestamp DESC" or is there a different approach I should take?
... View more
10-07-2016
08:44 AM
|
0
|
1
|
1385
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-11-2026 05:46 AM | |
| 1 | 07-03-2024 07:56 AM | |
| 1 | 02-03-2020 10:53 AM | |
| 1 | 03-18-2020 09:12 AM | |
| 1 | 05-24-2021 09:38 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-11-2026
05:33 AM
|