Select to view content in your preferred language

Configure Portal for ArcGIS to work with survey123.arcgis.com : Supported Operations, missing (Add Item)

1833
9
Jump to solution
09-05-2019 02:04 PM
KellyPilarski
Regular Contributor

When configuring Portal to work with survey 123 under a 10.5 Server environment the Technical Support indicates that you can add it under Supported Operations on the Web Adapter.

I seem to be missing the Add  option in my Supported Operations.

I believe I am missing a step.

0 Kudos
1 Solution

Accepted Solutions
JamesTedrick
Esri Esteemed Contributor

After adding and the initial registration of the app, you will then need to update the clientId, as detailed in the document  under 'Change the Survey123 AppID' (using the portaladmin API).

View solution in original post

9 Replies
KellyPilarski
Regular Contributor

The flowing is the instructions that I am attempting to follow


https://webadaptorhost.domain.com/arcgis/sharing/rest/content/users/<username>
  1. Under Supported Operations, select Add Item.
  2. In the Add Item form, enter the following:
    • Type: Web Mapping Application
    • Type Keywords: Web Map, Map, Online Map, Mapping Site, JavaScript, Ready To Use
    • URL: https://survey123.arcgis.com
    • Title: Survey 123 Website
    • Tags: survey123
  3. Click Add Item.
  4. On the User Item page, under Supported Operations, click Share Item.
  5. On the Share Item page, set Share with Everyone to True.
  6. Click Share Item.

The following is what appears 

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Kelly,

It appears you don't have the full path as specified.  You are at:

https://scit-gis-2017.sagchip.org/scitgis/sharing/rest/content

You should be at

https://scit-gis-2017.sagchip.org/scitgis/sharing/rest/content/users/<username>

Where <username> is your portal username

0 Kudos
KellyPilarski
Regular Contributor

Thank you for you response.

When I login as that user the only supported operation is Generate token

I attempted to register  (OAuth2) the Survey 123, but it appears that you need to add it first

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Kelly, 

When you try manually typing the path, are you redirected to the sharing home?  I wouldn't expect this to be browsable.  

You could also create the Survey123 web application via the Portal's web page and then update the clientId using the REST API.

0 Kudos
JordanMiller4
Frequent Contributor

It's faster to create an application that connect to Survey123 from portal IMO. 

https://survey123dev.arcgis.com/?portalUrl=https://scit-gis-2017.sagchip.org/<web adapter name>/ 

replace "<web adapter name>" with yours..

You might have to change the default thumbnail image to mimic Survey123 image..

KellyPilarski
Regular Contributor

I attempted to add the app from inside Portal but I get the following error

0 Kudos
JamesTedrick
Esri Esteemed Contributor

After adding and the initial registration of the app, you will then need to update the clientId, as detailed in the document  under 'Change the Survey123 AppID' (using the portaladmin API).

KellyPilarski
Regular Contributor

The app ID is updated to Survey123hub  and the error persists. 

0 Kudos
KellyPilarski
Regular Contributor

Thank you @Jordan Miller and James Tedrick for both of your assistance.

I have found where I went we awry, and it seems to be working now. 

I missed the step where i needed to update the Redirect URI's: to include that of Survey123hub 

survey123hub

["http://*.arcgis.com","https://*.esri.com","https://*.arcgis.com","https://dev0001302.esri.com","http://*.esri.com"]