Can I keep integration between Workforce & (custom)Survey app, if I replace Survey123 with custom app done with AppStudio
Yes, this is possible. Here is a response to this very question on GeoNet: https://community.esri.com/thread/206921-integrate-workforce-with-customized-survey-app
There are two ways to do this:
The second method (have a custom URL scheme for your application, and then modify the Workforce project) is probably the most sustainable, as it doesn’t risk any interference if production Survey123 is installed. Also, please review the ‘Inter-App Communication with ArcGIS Apps’ demo theater from the Developer Summit: https://youtu.be/_IBDPwVFKQA
The youtube video from the Developer Summit is very helpful on this. The video shows (at the 19:07 mark) the use of an item id that finds an item of the Type Workforce Project. But this seems only available for the Classic Workforce projects.
In using the ArcGIS Workforce (Workforce) I am able to get the item id. But when I enter it in the https://ago-assistant.esri.com to find it, I only get the feature layers and the maps. I don't get the Workforce Project.
If I use the item id of a Classic Workforce Project, I can get the project file and json to edit.
Is it possible to edit the new Workforce json file?
Thanks
Brian
Upon additional investigation, I thought I had found a solution but it came up dry. As described here workforce-scripts/1 - Configuring a Project.ipynb at master · Esri/workforce-scripts · GitHub one can use the python ArcGIS API and the AssignmentIntegrationManager class to add additional integrations. However, the new Workforce projects are not accessible through item = gis.content.search("type:'Workforce Project ......) as far as I can tell.
Another requirement for me for adding an additional integration tool is the desire to connect to ODK Collect. I'm sorry Survey123. You are not connected to a AGO that accepts PII yet and I need to use the existing workflow of my client that uses ODK for now.
Some documentation on it (https://docs.getodk.org/launch-collect-from-app/ ), uses the Android Intent object. Does anyone have experience with it and WorkForce?
Thanks