|
POST
|
Thank you Gareth, that does help. The Local Runtime GDB and TPK sample already downloads with the GDB and TPK. Now I'm wondering how you'd do that when the app is to download a GDB and TPK separately from the App download - I've got some things to explore now, thank you for pointing me in the right direction.
... View more
04-28-2016
07:37 PM
|
0
|
0
|
660
|
|
POST
|
Specifying file paths in AppStudio Apps like this property string gdbPath: "~/ArcGIS/AppStudio/Apps/" + appItemId + "/Data/gdb.geodatabase" works when I run the app via AppStudio Player, but when I build the app and install it on an Android device the app seems to be unable to read and write files in those locations. What is the recommended way of referencing directories? Thanks!
... View more
04-27-2016
10:37 PM
|
0
|
2
|
2904
|
|
POST
|
Greg, you can log into your ArcGIS Server site's ArcGIS Server Manager Application and set the feature service's properties accordingly.
... View more
04-24-2016
09:46 AM
|
1
|
0
|
1355
|
|
POST
|
Hi Kyle, did you try this: on the pop-up configuration panel for your map layer that has a related table, at the bottom of the panel there's a button "Sort Options". That should let you choose a sort field from the related table. -Tobias
... View more
04-19-2016
11:26 AM
|
4
|
4
|
2004
|
|
POST
|
Regarding your screenshots: One of the prompts asks you to authenticate to ArcGIS Online (in order to access the item). Use your ArcGIS Online username and password there, or else share the item (likely the webmap) publicly . The other one asks you to authenticate to your ArcGIS Server site, use your ArcGIS Server credentials there. If this is already what you are doing then disregard, just wanted to make sure you know this. -Tobias
... View more
04-14-2016
03:00 PM
|
1
|
1
|
1803
|
|
POST
|
Shane, for local geodatabase editing the app needs to be licensed at Standard level (see here). Could this be the issue? One quick test you could try is to run it from the AppStudio Player app (not the dev./Qt Creator edition; instead use the same Player App you test with on iOS and Android) on your Windows computer and see if it works then. Running it through AppStudio's Qt Creator sets your license level automatically at Developer I think.
... View more
04-14-2016
02:24 PM
|
0
|
0
|
899
|
|
POST
|
Thanks for the info Stephen. Great to hear it's on your list.
... View more
03-30-2016
07:56 AM
|
0
|
0
|
1068
|
|
POST
|
Owen Evans, are you by chance able to comment on whether there will likely be any functionality changes between now and the release of this template? Specifically, I am wondering whether you have plans for adding feature Search functionality. Thanks for this great template, it's really nicely done!
... View more
03-30-2016
07:42 AM
|
0
|
2
|
1068
|
|
POST
|
Ken, I have the same issue. When I capture the error it points me to a licensing issue. (I don't have my code with me right now but I think this is how you can capture the error.).
... View more
03-25-2016
12:21 PM
|
0
|
1
|
1316
|
|
POST
|
Paul, I think you are correct that they are not iterator objects. I think so because when I call .hasNext() I get the error "TypeError: Property 'hasNext' of object [object Object] is not a function." (There's probably a better test, not sure.)
... View more
03-20-2016
06:48 PM
|
1
|
0
|
776
|
|
POST
|
Thank you for your reply Hannah. I studied that sample. I was unable to get it to work with data stored in a .geodatabase file. Is this perhaps a bug? I have since moved on and decided to completely skip using the relationship class functionality and instead instantiate my related table as an ordinary GeodatabaseFeatureTable, build the Query with javascript to retrieve the correct records for a selected feature, and then listen for onQueryFeaturesStatusChanged on the table. That works, and I'm not sure whether using the relationship class functionality would actually have any advantages (?). Thanks, Tobias
... View more
03-09-2016
08:24 PM
|
0
|
0
|
548
|
|
POST
|
Answering my own question, maybe it helps somebody else in the future: this is licencing related. As defined here to do offline editing the app needs to be licensed at the Standard level. Whether or not you're signed into the Player App with an account that has a Standard level license for AppStudio seems to be irrelevant (unfortunately). In the case of the Local geodatabase editing sample, one way to make it work is like this: //insert on approx. line 27, after "App {": // Define Portal components Portal { id: portal url: "http://www.arcgis.com" onSignInComplete: { console.log(qsTr("Signed in!")); ArcGISRuntime.license.setLicense(portal.portalInfo.licenseInfo) } onSignInError: { console.log(qsTr("Failed to sign in.")); } } //insert on approx. line 349, after "Component.onCompleted: {": function portalSignIn ( ) { // Supply user credentials to login into online Portal portal.credentials.userName = "<your username>" //the username here portal.credentials.password = "<your password>" //the password here portal.signIn(); } portalSignIn();
... View more
02-28-2016
02:51 PM
|
2
|
0
|
829
|
|
POST
|
Can anyone replicate this or suggest how to troubleshoot? (1)The AppStudio Desktop Edition has an ESRI sample named "Local geodatabase editing". I can download that into AppStudio Dektop, run it from AppStudio Desktop by clicking the Run button in the top left, and everything works great. (2)Then in AppStudio Desktop I "create a new app from Local geodatabae editing". Again I run it from AppStudio Desktop and again everything works great. (3)Now I upload my app that I created in (2) to ArcGIS Online, open it in the AppStudio Player App, and I am unable to update features. Any ideas? Is this a known limitation of AppStudio Player? (I observe the same behavior with other apps that don't just update features but also insert and delete features/records/attachments - editing operations work great in AppStudio Desktop but not in the Player App.) Thanks, Tobias
... View more
02-28-2016
01:14 PM
|
0
|
1
|
2920
|
|
POST
|
When I query a related (non-spatial) table in an offline geodatabase the relatedResults object is not what I would expect. Can somebody help me understand what I'm doing wrong in the below code? Or perhaps post a code sample of how to query related records in an offline geodatabase? Thank you! Here is what I'm doing: //a runtime geodatabase with a points layer an a related table Geodatabase { id: gdb2 path:gdbPath2 } // set up the query parameters. I know that related records exist for a point feature with ObjectID = 2, I verified by converting the runtime gdb to file geodatabase with ArcMap QueryRelatedRecordsParameters { id: relatedQueryParam outFields: ["OBJECTID"] relationshipId: 0 objectIds: ['2'] } // then I execute queryRelated localPointsTable.queryRelated(relatedQueryParam) // then onQueryRelatedStatusChanged I access the relatedResults GeodatabaseFeatureTable { id: localPointsTable geodatabase: gdb2.valid ? gdb2 : null featureServiceLayerId: 0 onQueryRelatedStatusChanged: { console.log(queryRelatedStatus) // returns '1' (QueryRelatedStatusInProgress) , then '2' (QueryRelatedStatusCompleted) console.log(relatedResults) // this returns '[object Object]' console.log(relatedResults.json) // this returns 'undefined' } }
... View more
02-18-2016
08:24 PM
|
0
|
2
|
2643
|
|
POST
|
Here is a link to what the xml endpoint I would like to query periodically looks like: http://webservices.nextbus.com/service/publicXMLFeed?command=vehicleLocations&a=umn-twin&t=0 . (Note they place some limits on how frequently you are allowed to query.) When I use the input connector "Poll an External Website for XML" I get the error "Failed to get a response". Do I need to develop my own input connector to work with this xml format? Can you point me in the right direction? Thanks!
... View more
01-07-2016
09:59 AM
|
0
|
1
|
528
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-20-2015 09:20 AM | |
| 1 | 06-02-2015 10:01 AM | |
| 2 | 03-31-2023 10:37 AM | |
| 1 | 01-22-2015 09:18 PM | |
| 1 | 10-31-2022 08:16 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-03-2024
04:44 PM
|