Select to view content in your preferred language

Web AppBuilder 1.3 Analysis Widget permissions

15508
18
03-06-2016 07:41 AM
Sunshineteam
Deactivated User

I am new to Web Appbuilder. I am trying to build an application using the analysis widget but keep getting the error "Your user role cannot perform analysis. In order to perform analysis, the administrator of your organization needs to grant you certain privileges."  See picture below. All my maps are currently hosted on a local server and accessible through a web portal. I am the administrator, so I figured I should have full permissions. I read elsewhere that the analysis widget currently works only on ArcGIS Online, is this true?Analysis.PNG

0 Kudos
18 Replies
DerekLaw
Esri Esteemed Contributor

Hi Sunshine,

Are you using Web AppBuilder with Portal for ArcGIS? If so, the Analysis widget works if you have a hosting server (e.g., ArcGIS Server + ArcGIS Data Store) configured with your Portal. Please review this similar topic thread for details:

Re: Analysis Widget Consuming AGOL Services

Hope this helps,

Sunshineteam
Deactivated User

Hi Derek,

Sorry for late reply, Yes I am using Web AppBuilder with Portal for ArcGIS and have ArcGIS Server + ArcGIS Data Store configured with the portal. I have reviewed the link you provided, however the information there appear to be referring to the use of Analysis Widget with AGOL services. I was wondering if there are any special permission settings that I should be aware of.

Thank you very much for you input, I really appreciate your help.

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Sunshine,

> I have reviewed the link you provided, however the information there appear to be referring to the use of Analysis Widget with AGOL services.

That's incorrect. In the thread, I am explaining how the Analysis widget works when utilized with Portal for ArcGIS and a hosting server is enabled. You need to be a "publisher" to run the analysis tools.

- Are you using Web AppBuilder embedded in Portal for ArcGIS? or are you using Developer Edition signing into your Portal?

- Do you have Portal for ArcGIS configured with a hosting server?

- Are you seeing this error when creating the app in the "builder" environment? Can you confirm you are logged in as an administrator when creating the app? or does the Analysis widget work when you create the app, but does not work after you've deployed the app?

Hope this helps,

0 Kudos
Sunshineteam
Deactivated User

Derek,

We are using Developer Edition signing into our Portal. The portal is configured with the server and we have tried using it during the building of the app and after the app was published.

thanks.

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Sunshine,

The error message you're seeing is because the account you've logged into Portal as, to create the web app does not have sufficient permissions. The account must be in the publisher role.

You've said you're logged in as an administrator when attempting to create the app, so I am not sure what the issue is. Please contact Esri Tech Support so they can help you investigate the issue further.

Good luck,

0 Kudos
BrennanWalsh
Emerging Contributor

Hi Sunshine

I have you managed to resolve this issue yet? I am also getting this error when I try and use the viewshed analysis tool in the Webapp builder. All the other analysis tools seems to work except any of the tools that us raster images.

Both the administrator and the publisher get the same error.  

0 Kudos
BrennanWalsh
Emerging Contributor

Hi Sunshine

I have managed to get the viewshed analysis tool to work. You need to add the elevation service or what ever service that you are trying to us to you Portal or ArcGIS online subscription. I have attached the following url and details below.

-----------------------------------------------

Configure utility services—Portal for ArcGIS (10.4) | ArcGIS for Server

Elevation

The portal has two elevation services: an elevation utility service used for analysis and an elevation service used for 3D in the scene viewer.

For analysis, you can add the Elevation Service provided by Esri to your portal. This will use the credentials from an ArcGIS Online account that has credits associated with it. Alternatively, you can configure a custom elevation utility service to use if your portal is not connected to the Internet.

For the scene viewer, if your portal is not connected to the Internet or you have higher resolution data you want to use for the portal's scene viewer elevation service, you can publish one from ArcMap and update the portal's Elevation3D Service setting.

-----------------

This is how you add a service to your ArcGIS Portal or ArcGIS Online Account.

----------------

Configure ArcGIS Online utility services—Portal for ArcGIS (10.4) | ArcGIS for Server

Configure ArcGIS Online utility services

ArcGIS 10.4 on Windows

|

You can configure your portal to use utility services from ArcGIS Online. If you would like to use a utility service provided byEsri, you must have an ArcGIS Online organizational account. The account must have credits associated with it and the correct permissions to use the utility services.

  1. Sign in to the portal website as an Administrator of your organization and click My Organization > Edit Settings > ArcGIS Online.
  2. Select the utility services you would like to configure with the portal.
  3. Enter the credentials for the ArcGIS Online account to be used for the utility services.
  4. Click Configure.

The utility services you select will be configured with the portal. An item is created in the portal that stores the ArcGIS Onlineaccount credentials with it. Each item is shared with the portal's organizational members at the time it is created. You can view the items or edit their sharing properties in My Content.

---------------

I hope that this help solver your problem.

0 Kudos
martinjabbour
Deactivated User

I have the same problem, and I am the admin and every time I try to use the analysis widget it gives me the same error !!!! what is the solution ?!!

0 Kudos
LemaoWu
Esri Contributor

Hi Sunshine and Martin,

Could you check the version of your Portal for ArcGIS? Spatial analysis tools are not available in Portal for ArcGIS 10.3.1 and previous. So the Analysis widget does not work against these Portals. However WAB 1.3 shows the misleading permission message you have got.

If you're using Portal for ArcGIS 10.4 or 10.4.1 and you still meet this problem, you need to be granted specific privileges: Create content, publish features, and use spatial analysis. Some tools require privileges to use GeoEnrichment or network analysis. See more here: Organization roles—Portal for ArcGIS | ArcGIS for Server .

0 Kudos