KML to Layer for non Admin user

217
2
Jump to solution
a week ago
PaulJohns
Regular Contributor

Hi everyone.

I need to build a service that can directly read KML/KMZ files uploaded by users and add them to their individual maps and layers.

The default Add Data widget doesn't work stably and often fails to correctly read different types of KML/KMZ files (for example, out of 10 files it can successfully open only some of them). This approach is not reliable enough for my needs.

As a Portal administrator, I published a web tool from ArcGIS Pro 3.4 to ArcGIS Enterprise 11.2. The tool works correctly through the Geoprocessing widget, but only for me. When other users run it, the tool starts and finishes without any errors, but the generated layer (temporary feature layer) does not appear on their map and is not available to them.

I understand that the issue is most likely related to data sharing, groups, or permissions. However, I’ve already tried the following:

  • The published web tool is shared with everyone.
  • The user’s services and maps are also shared with everyone.
  • All users have the Publisher role.

Unfortunately, none of this solved the problem.

Does anyone have an idea what could be causing this or how to fix it?

0 Kudos
1 Solution

Accepted Solutions
GlenterpriseUK
Esri Contributor

Hi @PaulJohns,

Are you able to change one user temporarily to an Administrator role and see if it works?

If that does the trick then you might need to create a custom role based on the Publisher role + a specific privilege that might be needed to run the Web Tool correctly.

Another thing to check is are the current users able to run the Web Tool from ArcGIS Pro?

Looking forward to hear from you.

Regards,

Glen

View solution in original post

0 Kudos
2 Replies
GlenterpriseUK
Esri Contributor

Hi @PaulJohns,

Are you able to change one user temporarily to an Administrator role and see if it works?

If that does the trick then you might need to create a custom role based on the Publisher role + a specific privilege that might be needed to run the Web Tool correctly.

Another thing to check is are the current users able to run the Web Tool from ArcGIS Pro?

Looking forward to hear from you.

Regards,

Glen

0 Kudos
PaulJohns
Regular Contributor

Hi, @GlenterpriseUK 

Your advice really worked, thank you very much! I have created a new custom role with the necessary privileges, and the tool is now working correctly.

My portal's customers don't have ArcGIS Pro. This is the main idea — to give them the ability to use GIS services through the portal.