In Insights in ArcGIS Enterprise and Insights desktop, shared pages and packaged workbooks with secured data may fail because of an invalid URI.
Shared pages will fail because of an invalid URI when the following criteria are met:
- The page contains a secured remote feature layer. For Insights desktop, the feature layer must be from a data-only ArcGIS connection.
- Cross filters are applied to cards containing the secured data.
Packaged workbooks will fail because of an invalid URI when the following criteria are met:
- The workbook contains a secured remote feature layer. For Insights desktop, the feature layer must be from a data-only ArcGIS connection.
- Cross filters are applied to cards containing the secured data.
- The Reference data method is used to package the workbook.
An ArcGIS administrator can add redirect URIs to prevent shared pages and workbook packages from failing.
Add a redirect URI
Complete the following steps to add a redirect URI:
- For the portal where the data originates, sign in to the ArcGIS Portal Directory as an administrator. The URL for the ArcGIS Portal Directory is in the format https://webadaptorhost.domain.com/webadaptorname/portaladmin.
- From the Portal Administrator Directory, click Security > OAuth > Get App Info.
- For App ID, type arcgisInsights.
- Change the Format setting to JSON.
- Click Get App Info.
- Copy the JSON output.
- Return to the OAuth page.
- Click Update App Info.
- Change the Format setting to JSON and paste the copied text in the App Info text box.
- Add the information for the primary connection into the redirectURIs array. Use the following code as an example:
{ "appId":"arcgisInsights", "redirectURIs":["https://dataonlyconnection.domain.com", "https://primaryconnection.domain.com"] }
- Click Update App.
The page can now be shared or the workbook can be packaged successfully.