Open Survey123 from Collector

16219
9
09-02-2016 06:58 AM
mpboyle
Occasional Contributor III

Is it possible to open a Survey123 form from Collector?  For example, if a user is out collecting data using Collector and we have a Survey123 form that is used for inspections, can a user be linked to the Survey123 form from the feature within Collector?  If so, can fields be pulled over from Collector, like a common key field?

9 Replies
IsmaelChivite
Esri Notable Contributor

The answer is "yes soon".  As soon as the next update of ArcGIS Online is released, we will document how to do it.  Check out this https://community.esri.com/groups/survey123/blog/2016/07/30/understanding-survey123s-custom-url-sche...  post for some hints on how to do it. Again, this is not quite working just yet because it is not possible to save a Web Map including a Custom URL Scheme link in the popup, but this will be resolved soon.

[Updated Sep 22, 2016]: Content of blog post now incorporates fixes after our ArcGIS Online 4.3 release. You should be able to add popups including a custom URL scheme from Survey123.

mpboyle
Occasional Contributor III

ichivite-esristaff‌,

Thanks for the quick reply!  I guess my idea would be that Survey123 would be used to populate a related table from the feature within Collector, is that kind of the same track as a Custom URL Scheme pop-up?  Would the feature and table relationship keys auto-populate within the gdb?

Thanks again!

0 Kudos
IsmaelChivite
Esri Notable Contributor

Not quite. Just to be clear:

  • Collector for ArcGIS will work on its own copy of your data (from your Feature Service). This data can only be edited from Collector for ArcGIS.
  • You will  be able to launch Survey123 for ArcGIS from Collector, indicating what survey should be open and even passing parameters to the app to prepopulate questions based on a feature in your Collector map.
  • As you submit your survey from the Survey123 app, a call to the Feature Service will be made to add a new record.
  • If you have configured Collector and Survey to work against the same Feature Service, then you will be able to refresh (sync) the Collector map and see the new  feature created in Survey123 from Collector.
0 Kudos
RELAdmin
New Contributor III

So you are saying that Survey123 will not be able to be launched from collector to edit a related table of a feature service that is editable in collector? It would be great to be able to collect feature "inspection" surveys in a related table rather than a separate feature class. Collector works good for collecting data in a related table, but Survey123 would allow the form to be customized much more. 

TL2
by
Occasional Contributor III

This functionality is also something I am every interested in.  The only issue I see right now is Survey123 posts to the hosted datastore, there is a disconnect between SDE and the HFS that limits this functionality.  But I hope I am very wrong.  

GrahamMisselhorn2
New Contributor II

This would be brilliant to have this integration and am also very interested because of the increased flexibility of the form in Survey, particularly the data integrity of enforcing mandatory fields which Collector struggles with. Ismael please may I ask how do you do this..."If you have configured Collector and Survey to work against the same Feature Service"? Already available?

0 Kudos
IsmaelChivite
Esri Notable Contributor

Hi Graham. When you publish a survey, under the covers we create a couple of items in your ArcGIS Online or Portal for ArcGIS account. One of them is a Form item, which is for exclusive use of Survey123 for ArcGIS. You will also find a feature service, which is associated with the Form. The feature service can also be used by other ArcGIS apps, including Collector for ArcGIS. There is nothing particularly unique to Survey123 feature services, so you can build your own Collector for ArcGIS projects on top of them. The easiest way to make Survey123 and Collector work on top of the same feature service is to publish a survey, and then have Collector also work on top of the survey's feature service.

It is also technically possible, although not as straight-forward, to have Survey123 for ArcGIS work against a feature service you may already have. This is done by using the submission_url. You can learn more about it through this help topic: Submission URL—Survey123 for ArcGIS | ArcGIS  As of version 1.7 of Survey123 for ArcGIS, you can use the submission URL against hosted feature services in ArcGIS Online or Portal for ArcGIS. If you happen to have Portal for ArcGIS, you can also use submission_url against services from a Federated ArcGIS for Server. 

Federate an ArcGIS Server site with your portal—Portal for ArcGIS (10.4.1) | ArcGIS for Server 

Configure a hosting server—Portal for ArcGIS (10.4.1) | ArcGIS for Server 

0 Kudos
RELAdmin
New Contributor III

Thanks Ismael, this is helpful. 

However, you still didn't answer whether Survey123 can be used to collect information into a related table of a feature service that is editable with Collector. 

We would like to use Collector to edit attributes about the features in our water utility system (like hydrants, valves) but use Survey123 to add inspection reports to the feature classes via a related table (such as valve turning operations, hydrant flushing, etc.) 

0 Kudos
IsmaelChivite
Esri Notable Contributor

Hi Philip, have a look at this thread: https://community.esri.com/thread/181809-survey123-feature-class-as-a-related-table There are  some details about making Survey123 work with related layers in an existing feature service.

0 Kudos