BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
samoyed06
Fluorite | Level 6

Hi,

What are the steps for embedding an ArcGIS map or dashboard created in ArcGIS Online in SAS Viya Visual Analytics? I have been searching for a solution but could not find one that suits my needs. Thanks in advance for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
GregTreiman
SAS Employee

Great question! You can add an ArcGIS Online web map to a SAS Visual Analytics report using the data-driven content object or the web content object. Using the data-driven content object allows you to overlay your own data on top of the AGOL map, whereas the web content object simply displays the web map without interaction with your report data. There are basically four steps:

 

  1. Create an AGOL web map. Once you've saved it, you'll need to take note of the portal item ID. This will be in the URL after "?webmap=".
  2. Deploy the SAS ArcGISWebMapProvider project from Github in your Viya environment. This only needs to be done once - it creates a webpage that you can use to serve ArcGIS webmaps via the data-driven content object in a Visual Analytics report. The Github project is here.
  3. Add a web content object or data-driven content object to a Visual Analytics report. You'll use the URL of the hosted geoweb map provider and the portal item ID from your AGOL map.
  4. Customize the map. You can add lots of additional customizations to the data-driven content object. You can overlay report data on top of the AGOL map, control the colors and visualization types, and more.

This blog series might help you get started: Part 1, Part 2, Part 3, Part 4

View solution in original post

3 REPLIES 3
GregTreiman
SAS Employee

Great question! You can add an ArcGIS Online web map to a SAS Visual Analytics report using the data-driven content object or the web content object. Using the data-driven content object allows you to overlay your own data on top of the AGOL map, whereas the web content object simply displays the web map without interaction with your report data. There are basically four steps:

 

  1. Create an AGOL web map. Once you've saved it, you'll need to take note of the portal item ID. This will be in the URL after "?webmap=".
  2. Deploy the SAS ArcGISWebMapProvider project from Github in your Viya environment. This only needs to be done once - it creates a webpage that you can use to serve ArcGIS webmaps via the data-driven content object in a Visual Analytics report. The Github project is here.
  3. Add a web content object or data-driven content object to a Visual Analytics report. You'll use the URL of the hosted geoweb map provider and the portal item ID from your AGOL map.
  4. Customize the map. You can add lots of additional customizations to the data-driven content object. You can overlay report data on top of the AGOL map, control the colors and visualization types, and more.

This blog series might help you get started: Part 1, Part 2, Part 3, Part 4

samoyed06
Fluorite | Level 6

Thank you for these steps and the links to the resources.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 934 views
  • 1 like
  • 3 in conversation