|
POST
|
I have upgraded to the latest AppStudio 4 and I can get my build and run using the AppStudio Player on my phone, and creating an ARM7 build and sideloading my android. However, when performing a local build for iOS, the app builds without errors, but when sideloading it just goes straight to a white screen. I thought it might my app itself, but I downloaded the latest survey123 template in appstudio, did the local iOS build, side loaded the app, and it starts then goes straight to a white screen. I have created hundreds of these builds with this code on the previous version of AppStudio. I have QT 5.12.3 with QT IFW 3.0.6. I do notice however that when using the Advance Configuration Editor, I select the path of my QMake and hit continue and the screen just spins. Has anyone else tried a local make of the Survey 123 template for IOS and sideloaded? Am I missing some step to setting up the development/build tools for the new version? I would expect the make process itself to fail if i had set something up incorrectly? I am unable to perform a cloud build in my company, but wondering if the cloud make would be successful. However, i need to get the local build to work. Please Advise
... View more
09-09-2019
07:24 AM
|
0
|
2
|
1066
|
|
BLOG
|
I have upgraded to the latest AppStudio 4 and I can get my build and run using the AppStudio Player on my phone, and creating an ARM7 build and sideloading my android. However, when performing a local build for iOS, the app builds without errors, but when sideloading it just goes straight to a white screen. I thought it might my app itself, but I downloaded the latest survey123 template in appstudio, did the local iOS build, side loaded the app, and it starts then goes straight to a white screen. I have created hundreds of these builds with this code on the previous version of AppStudio. I have QT 5.12.3 with QT IFW 3.0.6. I do notice however that when using the Advance Configuration Editor, I select the path of my QMake and hit continue and the screen just spins. Has anyone else tried a local make of the Survey 123 template for IOS and sideloaded? Am I missing some step to setting up the development/build tools for the new version? I would expect the make process itself to fail if i had set something up incorrectly? Please Advise
... View more
09-09-2019
07:15 AM
|
1
|
0
|
1287
|
|
BLOG
|
I cannot download my app from appstudio online now with the upgrade. I only see the download image to send to my device I have an AppStudio Developer Edition license and I am assigned that license from the admin of my company. But when I look at my profile on ArcGIS Online it still says "AppStudio for ArcGIS Standard" Is there a reason I cannot download my Executables?
... View more
08-30-2019
08:48 AM
|
0
|
0
|
4011
|
|
POST
|
I am using the AppStudio version from the AppStudio download page and it does have the correct version of ArcGIS Runtime. My portal version is 7.1 I believe we are using the Token security and the Portal/refreshToken saved by the Survey123 code doesn't seem to be able to authenticate me. When I log off and back in, it does authenticate me. My app was built on top of the Survey 123 code that I last updated in April
... View more
08-29-2019
07:30 AM
|
0
|
1
|
1213
|
|
POST
|
I just installed the latest version of app Studio and I am attempting to run my application from QT Creator. The app starts up correctly, but doesn't seem to be able to query a feature table that is based on a map layer on the initial load (if the user has logged in withing the last 24 hours). The query is stuck on waiting for results, and if I try another query, that query returns no results. This all works in AppStudio 3.2. The funny thing is, is that if I logout and reestablish a connection with username/password it works. But if I close the app and reopen (it should remember my toke and info), it fails again and i must reinitiate login. Unless I am able to roll back AppStudio to 3.2, I need to be able to fix code to put in the missing piece that portal needs? I don't know what is missing here?
... View more
08-28-2019
01:58 PM
|
0
|
3
|
1427
|
|
POST
|
I think this might be more of a portal related issue? I am trying to reconnect to the portal and get a new token. I just set up a button to do this, so after I turn airplane mode off then on, i hit the button. I keep getting this error in the messages and i can't reconnect unless I shut down the app and reopen. Which is not an option for me. This is using the NetworkRequest functionality void __cdecl NetworkAccessManagerAuth::invokeNetworkError(const class QUrl &,int,const class QString &) QUrl("https://cccccccccccxxxxx/arcgis/sharing/rest/generateToken") 99 "Network access is disabled." QIODevice::read (QDisabledNetworkReply): device not open ArcGIS.AppFramework.Network: void __cdecl NetworkRequest::setErrorCode(int) 99
... View more
08-28-2019
09:08 AM
|
0
|
0
|
1997
|
|
POST
|
It is simple to reproduce on our end. I just have a map with a number of layers. I set up a ServiceFeatureTable based on the .table of one of those layers. I use that layer to do a queryExpression and get some results. But if I take my phone to AirPlane mode and then back to nonAirPlane mode. I am no longer able to query that ServiceFeatrueTable with anything other than its cached values.
... View more
08-28-2019
07:38 AM
|
0
|
0
|
1997
|
|
POST
|
I am still working on this issue. It seems to happen that when I go offline (airplane mode) on my app, and then come back online, my servicefeaturetable seems to lose the connection and is unable to reestablish that connection. I know this because I can use the same definition query on that table and it works, but if I change the query no results are returned. I can also clear the cache on the table and no results are returned. I need a quick way to reestablish this connection or know that the connection or the table is not updating or syncing up any longer? Is there someway in which I can tell the ServiceFeatureTable to "Reestablish connection"?
... View more
08-27-2019
12:42 PM
|
0
|
2
|
1997
|
|
POST
|
I have am connected to our company portal and I have a serviceFeatureTable (onlineFeatureTable) that I set to one of my maps operationallayers and then regularly query and get results from it onlineQueryID = serviceFeatureTableX.queryFeaturesWithFieldOptions(fieldsQueryParameters, Enums.QueryFeatureFieldsLoadAll); This query normally returns results when its feature status is updated and Does Something with it Connections {
target: onlineFeatureTable
onQueryFeaturesStatusChanged: {
if (onlineFeatureTable.queryFeaturesStatus === Enums.TaskStatusCompleted) {
Do Something
}
else if (onlineFeatureTable.queryFeaturesStatus === Enums.TaskStatusErrored){
ERROR
}
else
{
Enums.TaskStatusInProgress
}
}
} This above normally works. But it seems that after about a half hour or so, my table never returns any results, I get the TaskStatusInProgress back from the Tables FeaturesStatusChanged Property, but never anything else. The only way I can get this to reset is to run the logic to rebuild my ServiceFeatureTable, but I never know when to do this. Is there a timeout or something on the ServiceFeatureTable that I can catch or monitor, or some status that I can get on the table to know if it is "Stagnant" in some way.
... View more
08-22-2019
12:30 PM
|
0
|
4
|
2086
|
|
POST
|
This seems to at least get me the attachements. Doesn't seem to work offline however? I now need to display this attachment to the screen, but that should be easy if I put it in my display model. But I need to do this offline too, or remove this layer from my offline Web Map somehow. while (queryResult.iterator.hasNext) {
var selectedFeature = queryResult.iterator.next()
var attachmentListModel = selectedFeature.attachments;
attachmentListModel.fetchAttachmentsStatusChanged.connect(function() {
if(attachmentListModel.fetchAttachmentsStatus === Enums.TaskStatusCompleted){
console.log("fetchAttachmentsStatus - Loaded");
console.log(attachmentListModel.count);
attachmentListModel.forEach(function(element, index, array) {
element.fetchDataStatusChanged.connect(function(){
if(element.fetchDataStatus===Enums.TaskStatusCompleted){
console.log("fetchAttachmentsStatus - element.attachmentUrl - ", element.attachmentUrl);
console.log(element.attachmentUrl);
}
});
element.fetchData();
});
}
});
... View more
06-27-2019
10:03 AM
|
0
|
0
|
2458
|
|
POST
|
I am using your code from above, but can never get my loadstatuschanged signal to trigger? Am I missing something. I have pretty much used the exact same code you have above, but don't ever see anything happen in the loadchanged area. That is were I want to collect the attachments that should be returning. I can confirm that the queryresult does iterate, but never hits that signal. What am i missing? property var featureList: []
// Process query results the same regardless of online / offline
function processQueryFeaturesResult(queryResult) {
console.log(" - processQueryFeaturesResult - Entered");
if (!queryResult || !queryResult.iterator.hasNext) {
// No features returned
console.log("No features returned")
return
}
while (queryResult.iterator.hasNext) {
var feature = queryResult.iterator.next()
// add feature to array to avoid GC
featureList.push(feature);
var objectID = feature.attributes.attributeValue("OBJECTID");
var surveyGlobalID = String(feature.attributes.attributeValue("SurveyGlobalID"));
console.log(" - processQueryFeaturesResult - objectID - ", objectID);
console.log(" - processQueryFeaturesResult - surveyGlobalID - ", surveyGlobalID);
// connect to loadStatusChanged signal
//THIS NEVER SEEMS TO TRIGGER AND SHOW IN THE CONSOLE
feature.loadStatusChanged.connect(function(){
console.log(" - processQueryFeaturesResult - feature.loadStatus - ", feature.loadStatus);
if (feature.loadStatus === Enums.LoadStatusLoaded) {
console.log(" - processQueryFeaturesResult - Enums.LoadStatusLoaded - ", feature.loadStatus);
}
});
// load the feature
feature.load();
}
return
}
... View more
06-26-2019
11:57 AM
|
0
|
0
|
2458
|
|
POST
|
I either need to figure out how to take this Attachments layer offline, or remove it from my offline download package. I would like to take that layer offline, but over the past day I have ran into problems going offline with it. Is there a way to remove a layer before the download offline package is made, exclued it in code or on my webmap in some way?
... View more
06-25-2019
06:57 AM
|
0
|
1
|
2458
|
|
POST
|
I will give this a shot online. But it seems I have a bigger problem in that when i attempt to include this layer in my offline map package the, package somehow fails. Is there also a trick to getting this attachments layer to be included in the offline package along with my other layers?
... View more
06-24-2019
01:51 PM
|
0
|
0
|
2458
|
|
POST
|
I have this feature service that used the Global ID to like to another table. I am able to get this table using a query and process the results. However I cant figure out how to get the attachments for this feature. The count always returns 0 even though the table hasAttachments property is true? I am missing something. I need to get and show the attachments (Photos) for a queried feature, but cant seem to get to them? This function is a result of a table connection query, Feature status changed event. function processQueryFeaturesResult(queryResult) {
try {
if (!queryResult || !queryResult.iterator.hasNext) {
// No features returned
console.log("No features returned")
return
}
while (queryResult.iterator.hasNext) {
var feature = queryResult.iterator.next()
if (feature.attributes){
var objectID = feature.attributes.attributeValue("OBJECTID");
var GlobalID = String(feature.attributes.attributeValue("GlobalID"));
//THESE values are indeed populated
console.log("EdgeMapPageFieldSelected - processQueryFeaturesResult - objectID", objectID);
console.log("EdgeMapPageFieldSelected - processQueryFeaturesResult - GlobalID", GlobalID);
//THIS Results in - feature.attachments QmlAttachmentListModel(0x1ee425912e0)
console.log("EdgeMapPageFieldSelected - processQueryFeaturesResult - feature.attachments", feature.attachments);
//THIS Results in feature.attachments.count 0
console.log("EdgeMapPageFieldSelected - processQueryFeaturesResult - feature.attachments.count", feature.attachments.count);
}
}
//The table that these results are queryied from HAS Attachmenst
console.log("EdgeMapPageFieldSelected - processQueryFeaturesResult - onlineAttachmentsTable.hasAttachments :", onlineAttachmentsTable.hasAttachments);
}
... View more
06-24-2019
08:15 AM
|
0
|
6
|
3274
|
|
POST
|
Can we confirm that nothing change in the loading of a config path from the registry
... View more
06-04-2019
08:23 AM
|
0
|
0
|
1835
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-23-2018 06:49 AM | |
| 1 | 08-02-2023 08:28 AM | |
| 1 | 01-03-2020 10:54 AM | |
| 1 | 11-30-2017 06:41 AM | |
| 1 | 08-20-2018 01:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-27-2026
08:03 AM
|