Summary Table of Enterprise Portal Survey123 Deployments

174
3
12-08-2021 07:23 PM
JervinAlbeso
New Contributor III

Hello,

Is it possible to get a summary table of all survey123 deployments to Enterprise Portal 10.8.1? It would be great to have the following, but I will take anything you can provide.

  • Survey Name
  • Description
  • Created By
  • Tags
  • Published Date
  • Record Count
  • View Count
  • Groups shared with

We are trying to gather this list and looking for a way to extract this data in Portal 10.8.1, is this something possible in Portal along or Notebook server can help? If someone can point on notebook script we can use that would be great. Thanks.

Tags (2)
3 Replies
IhabHassan
Esri Contributor

Hi @JervinAlbeso 

the code to retrieve "Survey123" :

 

from arcgis.gis import GIS

gis = GIS(url='Portal URL', username='account username', password='account password', verify_cert=False)
list = gis.content.search(query='type:("Form")', item_type=None, max_items=999)
len(list)

 

Regards
Ihab
0 Kudos
JervinAlbeso
New Contributor III

Thanks for sharing this script. 
On the script this target a user, is there a script that targets the whole enterprise so we can export it in one go?

0 Kudos
IhabHassan
Esri Contributor

the script is not targeting a user, rather it will return all forms that either owned by the account used by line 2, or forms that are shared with this account. If you use "admin" account, the script should return everything.

Regards
Ihab
0 Kudos