How to create buttons to invoke survey123 from workforce or collector

05-14-2018 11:35 AM
Occasional Contributor
6 4 2,963

There is a way to invoke #Survey123 with the fields fill. With the URL. if you want to know more about how to configure the URL is better to check the following link (click here). In the blog Ismael Chivite  explain deeply how to use the url. 

This blog is more about how to transform the link in a button to show a better graphic interface to the user.

Basically when you have the link with the url of the form and you are setting the pop-up you can configure a "kind of button", with the following #html code.

<font size="5">

<a href="arcgis-survey123://?itemID=xxxxxxxxxxxxxxxxxxxx" style="display: inline-block; outline: none; cursor: pointer; text-align: center; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: 100%; font-family: Arial, Helvetica, sans-serif; padding: 0.5em 0.8em 0.55em; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px 1px; border-radius: 0.5em; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px; text-decoration: none; color: rgb(255, 255, 255) !important; background: rgb(17, 127, 170) !important;">Orden de Trabajo</a> <br /><div style="text-align: center;"> </div>


this code shows up the following button in collector or workforce. Depending of the pop up that you set.

As you can see is a better interface that a link for the user. I you need more information just let me know in the comments. 

About the Author
Hi, I'm a GIS Specialist, Anthropologist is my base career and finishing my Msc in Geography. I like to help people to solve their issues with GIS. I've been working with different industries, like local governments and private companies. I also writing my thesis about risk and hazards. If I can help, let me know.