2. Connect ArcGIS Enterprise
Purpose: Setup your organization to consume data from your ArcGIS Enterprise
Prerequisites
- You have admin access to the organization you'd like to configure
Steps
Configure the Organization
Setup URLs
The first step is to configure the ArcGIS Portal URL for your organization. This will tell the application where to go when trying to pull data from your ArcGIS Enterprise system.
- In the left-menu click the
Organization
button - Click the
General
option - Scroll to the
Organization URLs
section - Enter the
ArcGIS Enterprise URL
- ex:
https://arcgis.my-org.dev
- ex:
- Click
Save
(if changed)
Connect to Portal
OmniSpatial can load, view, and save content from ArcGIS Portal. If you would like to consume secured content from Portal within Omni, then Omni must be configured to authenticate with your ArcGIS Portal instance. The following guide will walk you through the process of connecting your ArcGIS Portal environment to OmniSpatial.
NOTE: The same steps can be followed to authenticate data from ArcGIS Online.
Create ArcGIS Portal Application
-
Go to the
Content
page in your ArcGIS Portal instance. -
Click the
New Item
button. -
Click the
Application
option. -
Chose
Application type
ofWeb mapping
and enter the URL to OmniSpatial.- ex:
https://omni.rizing.app
- ex:
-
Click
Next
. -
Add a title for your application (ex: OmniSpatial Application) and fill in any other details.
-
Click
Next
to create the application. -
Click
Settings
in header bar for the application page. -
Scroll to the bottom and click the
Register
button to register the app and generate an App ID. -
Ensure the
App Type
is set toBrowser
-
Enter the OmniSpatial URL in the
Redirect URI
input and hitAdd
.- ex:
https://omni.rizing.app
- ex:
-
Click the
Register
button. -
Copy the
App ID
from under theApp Registration
info section.
Add Secured Services Configuration
In order for Omni to know how to authenticate requests to your ArcGIS Portal and federated ArcGIS Server services, a "Secured Services" record must be added within Omni. The following steps will walk you through the process.
-
Go to the OmniSpatial application.
- ex:
https://omni.rizing.app/your-org
- ex:
-
Go to
More
>Advanced
>Manage Secured Services
. -
Click
New
in the bottom right corner of the dialog. -
Enter a name for the service(s) you are setting up authentication for
- ex: "Your Org's ArcGIS Enterprise"
-
Select a
Service Type
ofArcGISPortal
-
Enter a
Authorization URL
to Portal as https://YOUR_PORTAL_URL/sharing/rest/oauth2/authorize- ex:
https://my-domain/portal/sharing/rest/oauth2/authorize
- ex:
-
Enter the
Client ID
, which is theApp ID
copied from theApp Registration
info section from the last step in the Create ArcGIS Portal Application section. -
Click the
Servers
option from the left options menu. -
Click
Add Resource
. -
Enter the root URL to your Portal instance.
- ex:
https://my-domain/portal
- Enter the root URL to all ArcGIS Server instances that are federated with the Portal instance.
- ex:
https://my-domain/server1
- ex:
https://my-domain/server2
- NOTE: a list of all ArcGIS Servers federated with Portal can be found at
Your ArcGIS Portal
>Organization
>Settings
>Servers
- Click the
Sharing
option from the left options menu. - Click
Add Share Rule
. - Enter the group of people you would like to share this Portal authentication configuration with. Typically this would be shared with everyone in your organization.
- ex: "Everyone"
- Select an
Access Level
ofView Only
(unless another configuration is desired). - If you'd like to allow other admins to manage this configuration, click
Add Share Rule
. - Enter your
Administrators
group (or whatever group you'd like to share ownership with).- ex: "Administrators"
- Select an
Access Level
ofFull Access
(unless another configuration is desired). - Click the
Save
button