POST
|
Hi Nakul, I tried the console statements and thinsg are really confusing. Problem seems with the geodatabasefeatureservicetable.It does not seem to adapt to the new feature service url. So even though the jumbled up fields of both feature services are visible, data only gets saved to the feature service which was selected first. I have 4 questions for you: 1. Is there a way delete the geodatabasefeatureservicetable when new feature class button is clicked? 2. If not, then is there a way to reset the entire App{} component when a button is pressed? i.e. whenever we go back to the initial page where we choose the feature class the app gets reset? 3. Apart form serviceInfoTask.fetchFeatureServiceInfo() is it possible that I might need to call some other function too? 4. How can I reset ListView? I was not able to follow on this bit of advice. I think that this is important for getting correct add details page Sorry for making this thread so long and asking so many questions. I hope I am not pestering you. Best!
... View more
10-06-2016
12:49 PM
|
0
|
0
|
944
|
POST
|
Hey Lucas, Thank you for your reply. I have been trying to work on your suggestion but I am not succeeding. Background: I am trying to modify the quick report app by adding extra buttons for the user to choose the feature service in which he wants to fill-up the information. Now, the GeodatabaseFeatureTable in the quick report template is very complicated and I am not able to replicate it and dynamically create it again. It has been referenced in several other pages of the app. So I think I have may have only 2 options: 1. First is to find a way to reset the GeodatabaseFeatureTable when the button for the second feature calss is pressed. OR 2. To find a way to reset the entire quickreport page OR the App{} component when the button for the feature class is pressed. If resetting the GeodatabaseFeatureTable is not possible then can you tell me if there is a way to reset the app{} on button press? Thanks a lot for your help!
... View more
10-06-2016
10:10 AM
|
0
|
1
|
375
|
POST
|
I want to use the same featuretable object for different feature layers in my app. The user can choose either of the feature layers with the press of the button. Now when the button is pressed for the first time the things work fine. But if the user goes back to the home page and presses the other button and proceeds then the issue is that the fields of both the feature layers are visible instead of just the one feature layer selected. I think this issue is because the information of the previous feature layer is still there in the geodatabasefeatureservicetable. So how can i reset this when the button is pressed. #quick report #featuretable
... View more
09-23-2016
02:17 PM
|
0
|
3
|
1193
|
POST
|
Is it possible to reload App{} component of Quick Report app in the QuickReportApp.qml page? I am trying to extend the functionality of Quick Report app and want to reload the app after changes to the feature service url is made. I have made a button which when clicked lassigns a new value to the variable: featureServiceURL and runs serviceInfoTask.fetchFeatureServiceInfo() However due to some reason even after running the function serviceInfoTask.fetchFeatureServiceInfo() the consequent pages are not updated. So I believe that on reloading app{} might reset the values and give desired outputs. Can someone advice me how to work this issue out? Thanks appstudio quick report qml quickreportapp.qml
... View more
09-22-2016
01:16 PM
|
0
|
0
|
1171
|
POST
|
Hi Nakul Manocha , I tried to apply your advice and it is partially working. But I am stuck again and need your advice. So what I did is that I created a new qml page (starting.qml) which opens before the landing page and has 2 icons. The user can choose either of the icons and based on his selection the FeatureLayerUrl is set and then the landingpage opens and things work perfectly. MOVING ON TO THE ISSUE: At the end of the stack (resultspage.qml) on pressing done the user is take back to the first page (starting.qml). Now when I press the other button(which was not selected earlier) the add details page still shows the fields of the previous feature class. I had made changes to the code that on pressing the button all the feature layer urls are changed and serviceInfoTask.fetchFeatureServiceInfo() is called.
HOWEVER
If I restart the app and press then press the second button then the feature fields work well.
I hope that you will be able to give me some guidance on this issue.
_______________________________________CHECK CODE BELOW_____________________________________
onSignInClicked1: { //serviceInfoTask.destroy() //serviceInfoTask() app.featureServiceInfoComplete = false app.featureServiceInfoErrored = false app.featureServiceURL = "url" app.featureLayerId = "0" app.featureLayerName = "layer1" app.featureLayerURL = featureServiceURL + "/" + featureLayerId theFeatureTypesModel.clear() theFeatureAttributesModel.clear() theFeatureAttributesVisualModel.clear() serviceInfoTask.fetchFeatureServiceInfo() app.isSmallScreen = (parent.width || parent.height) < 400*app.scaleFactor stackView.push(landingPage); } onSignInClicked2: { app.featureServiceInfoComplete = false app.featureServiceInfoErrored = false app.featureServiceURL = "url" app.featureLayerId = "0" app.featureLayerName = "layer2" app.featureLayerURL = featureServiceURL + "/" + featureLayerId theFeatureTypesModel.clear() theFeatureAttributesModel.clear() theFeatureAttributesVisualModel.clear() serviceInfoTask.fetchFeatureServiceInfo() app.isSmallScreen = (parent.width || parent.height) < 400*app.scaleFactor stackView.push(landingPage); }
... View more
09-22-2016
04:40 AM
|
0
|
2
|
944
|
POST
|
I created a blank point feature class on arcgis desktop and then published it onto arcgis online. This was shared publicly where people could add points to this feature class. Then I created a web app using this feature class to show the data shared. I want to use the report widget in the Web app using which people can point out erroneous information shared. Any suggestion how can I make the report widget work? #web app #report widget #data reviewer #arcgis server @Jay Cary
... View more
09-07-2016
01:33 PM
|
0
|
0
|
612
|
POST
|
Hi Nakul, Thanks a lot for your help. So I can just add an extra button to landingpage.qml of app1 that pushes the welcompage,qml of app 2 when clicked. Also I think I will have to change the page names in app2 for avoiding conflicts. Can you suggest to me which pages should I copy for the second app to work and which pages I can omit? One more question I have is which all parameters from app2 will I have to hard code?(For example I will have to hard code the link to feature class in app2 when I copy it to app1) The resources that you advised me to peruse in my previous question have been very helpful. Thanks a lot for that! Best! Ankit
... View more
08-30-2016
01:31 PM
|
0
|
4
|
944
|
POST
|
I have made 2 quick report apps pertaining to 2 different surveys. Is there anyway I can join the 2 apps into one such that the user is given a choice of selecting which of the 2 surveys he wants to take inside a single app. Once the user makes a selection then he should be directed to the WelcomePage.qml of one of the 2 apps. qml appstudio for desktop #quick report #welcomepage.qml
... View more
08-30-2016
01:03 PM
|
0
|
6
|
1907
|
POST
|
This seems like a good resource. Thanks a lot Nakul!
... View more
08-22-2016
01:14 PM
|
0
|
0
|
484
|
POST
|
Hey Ezequias, My case is exactly similar to yours and for my quick report app I have used domain fields. I must say that they work pretty well in the quick report template. All the domain fields work like drop-downs and the user can easily select the value he/she wants. Take a look at the screenshots! The fields which were set up as domains give a drop-down when tapped/clicked.
... View more
08-20-2016
09:02 AM
|
0
|
0
|
1419
|
POST
|
Hey Gareth, I am Ankit, a geoinformatics student. This answer is what I was looking for. I am trying to combine the functionality of map viewer and quick report. However, since I have no prior experience in QT and QML I am unable to properly understand how to proceed. Can you please elaborate on how to work with MapPage.qml Also can you suggest some sources where I can learn more about customizing appstudio templates using QT? Hoping to hear from you soon! Ankit.
... View more
08-20-2016
04:25 AM
|
0
|
2
|
484
|
POST
|
So I have made a quick report app to collect data and add it to a feature class I created. This feature class in used by a webapp I made to show the information collected by the quick report app. What I want is to add a button on my quick report native app clicking which opens up the webapp on my cellphone either in the browser on inside the app. I opened the quick report app in qt creator but have no clue how to proceed. Can someone give me some guidance on how to proceed?
... View more
08-20-2016
01:23 AM
|
1
|
3
|
2174
|
Title | Kudos | Posted |
---|---|---|
1 | 08-20-2016 01:23 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|