I am using a feature service created with survey123 connect in the Appstudio desktop Quick Report template, but when the app runs it loads the geopoint and image questions first, even though they are the last questions in the survey. Is there any way to change this? Thanks, cob
Are you talking about questions in the "Add Details" page in Quick Report 3.2 Template?
If yes, these questions are stored in the "model" of the ListView in the AttributesPage.qml, the model is an array, so feel free to sort the content of the array as you wish.
I hope this is helpful.
Thank you Erwin. I see the file but don't quite understand how to sort the pages with this. The feature service was generated by S123 form which doesn't even have pages. How can I move the map and image questions(pages) to last? Thanks, cob
Oh I see. You are trying to change the order of pages, not the questions in the AddDetailsPage.qml.
So each page is represented with the qml page.
Each of the pages is being called one after another, it starts from QuickReportApp.qml is calling RefineLocationPage, then so on and so on. In each page, you can see the "Next" button event listener, where it is trying to call the next page to be loaded. This probably won't be pretty, but you need to untangle the chain between them and move it around. Including moving the logic Submit and Save from AddDetailsPage.qml to whichever page you decide to put it last.
Hi Erwin Soekianto,
Thank you very much for this reply. I am currently in the process of moving the submit/save button to the RefineLocationPage and have successfully made the buttons display by replacing the next button on that page, but am now having the problem of being stuck on the "Uploading..." page. So far I have copied lines 143-227 from the AddDetailsPage to replace the next button on the RefineLocationPage. I have also copied and pasted the code from the onNext and onPrevious sections of the addDetailsPage component up to the the RefineLocationPage component in the QuickReportApp.qml. What else am I missing in migrating the button logic?