How to add an extra button to open a webpage in my appstudio quick report app?

08-20-2016 01:23 AM
New Contributor III

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?

3 Replies
Esri Regular Contributor

Here is the code snippet to open a webpage externally in a browser from the app using a button click. Now I am not sure where exactly you want to add this button. If you want to add it when the report gets submitted. You could do that in the Pages>ResultsPage.qml. You need to open the project in QT creator.

  Button {
              width: 200
              height: width/5
              text: "Open"
              onClicked: {
New Contributor III

This is exactly what I was looking for!

Thank You

0 Kudos
New Contributor

I have a similar question and would like help with more of the code. I just want a button on the main page of the quick report app that will take the user to a web map of already crowd-sourced information.  Thanks 

0 Kudos