Skip navigation
All Places > GIS > Web GIS > ArcGIS Online > Blog
1 2 3 Previous Next

ArcGIS Online

99 posts

ArcGIS Online has renewed its SAML signing and encryption certificates.

Users who have enabled the advanced SAML options ‘Enable Signed Requests’ and/or ‘Encrypt Assertion’ will need to obtain the new ArcGIS Online Service Provider metadata file and associate it with their Identity Provider before December 5th, 2019.


Customers using these advanced SAML options who do not upload the updated ArcGIS Online metadata file containing the new certificate before this date will receive an IDP specific error when they attempt to sign into ArcGIS Online with an Enterprise account.


To obtain the updated metadata file:

  • Login to with your administrative credentials

  • Click on “Organization” then “Settings” then “Security”

  • Scroll down to “Enterprise Logins” then click the “Get Service Provider” button. This action will download the metadata needed for your IDP.

Esri Support Services has provided a technical article here which describes this issue in detail:

ArcGIS Online SAML Authentication signing and encryption certificate renewal

I'm excited to introduce this completely unofficial recurring GeoNet blog post!


In my role as ArcGIS Online Product Advocacy Lead, I am continuously coming across informative, interesting, and inspiring content. Through "This Week's Picks" I hope to quickly share some of my favorites with you.


For this week, I want to touch on three topics I’ve seen a lot excitement about both here at Esri and within our user community.


New Map Viewer:


There are countless reasons to be excited about the New Map Viewer in ArcGIS Online. The beta is coming sometime this fall. Built on the ArcGIS API for JavaScript 4.x, the New Map Viewer is flexible, fast, and intuitive. Highlights and how you will access the beta can be found here.


Calculate a Weighted Average with Arcade:


For a non-programmer like myself, it’s always a little mind-bending (in a good way) to see different uses of Arcade and try to implement them in my own projects. My colleague Christopher Zielinski wrote this post showing how to use a weighted average within multivariate symbology - it's an elegant way to quickly visualize trends in your Web Map.


Additional References:



Introduction to Distributed Collaboration (Video Demo):


If you've thought about setting up Distributed Collaboration between ArcGIS Online and ArcGIS Enterprise, Esri Canada's two videos provide a succinct overview of how collaboration works, as well as a deeper dive into how items move across collaboration groups.



Additional References:



Thanks for reading, and stay tuned for This Week's Picks - ArcGIS Enterprise & This Week's Picks - ArcGIS Pro


If you're interested, I'd love to connect on LinkedIn. You can follow me on Twitter, too. I regularly post / tweet GIS(ish) content to these platforms. 






Streamline repetitive editing tasks, collect more data in fewer clicks, and prevent data entry errors and discrepancies with the Smart Editor widget.


Check out the latest ArcGIS Blog for editing with the Smart Editor widget in Web AppBuilder for ArcGIS:

Get smart about editing

Next ArcGIS Online update planned: October 1

On the evening of October 1 PDT, we plan to update ArcGIS Online. The update will give you more ways to share interactive maps, new Arcade functions to transform data, and a convenient way to update hosted vector tile layers.


Nearby configurable app


ArcGIS Configurable Apps

Nearby, a new configurable app, will enable users to enter an address and search radius to find nearby locations. After a location is selected, the app can provide directions to it. By grouping the results by layer, app authors will be able to configure the app to answer questions. For example, a user could search for nearby schools and see them grouped by the school type including middle schools, elementary schools, universities.


Attachment Viewer will have a new map-centric layout option in addition to the existing photo-centric layout. The new map-centric layout will provide users with a gallery of attachments based on the features within their map extent. Additional authoring features will include the ability to display more than one layer, support PDFs as an attachment type, and hide features that don’t have attachments.


Media Map will include an interactive time slider that animates data as it appears over time. Using this configuration, you will be able to showcase data that is time enabled.



More Arcade functions

Arcade, the scripting language that transforms your data on the fly and can be used to build pop-ups and customize symbology, will have four new functions:

  • GroupBy—Group features within a feature set by a field and return statistics for each group.
  • DistanceGeodetic—Calculate the shortest distance between two points along a great circle.
  • FeatureSetByRelationshipName—Easily access features from layers that have relationships.
  • FeatureSetByPortalItem—Build data-rich pop-ups with data from any layer without adding the layer to your map.



New way to update hosted vector tile layers

Users managing hosted vector tile layers will be able to update layers in place using the new Replace Layer option. Replace Layer will update the tiles in the target hosted vector tile layer by replacing the entire tile cache with the layer selected as a replacement. This will allow existing applications and styles that reference the hosted vector tile layer to continue to work without having to update them.



Upcoming Map Viewer beta

A beta version of the next generation Map Viewer will be released later this fall. ArcGIS Online users will have the opportunity to explore the next generation Map Viewer and provide feedback about the design and workflows. More information will be provided in the coming weeks.



Please note that all planned updates are subject to change. A comprehensive list of implemented changes will be provided in our What's New email, blog, and documentation.

When polygons contain curves in your source feature class feeding your Portal Feature Layer (by reference), these polygons will not display. I came across this bug and could not figure out why certain polygons were not displaying in Portal. After trying many things, the ESRI analyst and I figured that feature classes that had been dropping were making it through when when we did a conversion to a shapefile prior to copying into the registered file geodatabase...


Then some more experimentation with geoprocessing tools trying to doctor the layer lead me to the simplify geometry tool (retaining critical points selected), which seemed to fix the original data.


Then looking at individual vertices, I noticed the simplify geometry was adding vertices in areas where we had missing polygons. This was because the bezier curves were being turned into small linear segments...


So in ArcGIS Enterprise 10.7.1, curves in data by reference will not display in feature layers. 

A bug has been filed:

#BUG-000125177 Portal 10.7.1 Map Viewer fails to draw polygons containing non-linear segments in a feature layer


A last check with the data reviewer "Check Non-Linear Segments" confirmed that the issue was caused by curves (see attachments). In our case, one of our feature layer was missing ~28k polygons !!


So the work-around at this point is:

Run a simplify geometry with the adequate tolerance (~0.01 feet for use) on your feature class to turn your curves into linear segments.


It is likely this issue also impacts polylines.


Hope this can help other people!



The ArcGIS Online team is working on collecting some feedback about how teams use the home page in organizations. We are looking for feedback from customers who have experiences creating and using home pages in the organization. If you are interested in sharing your feedback please fill out the survey below. It should take between 5 and 10 minutes and will be very valuable in helping us improve its appearance and functionality.

Hello all 


I just wanted to post this dashboard I made to replace a travel blog for a solo bike tour I did around the Great Lakes. 

There are many reasons you might need to access the item ID for content items within ArcGIS Online. The item ID is the basis for many automation and mapping techniques used within the ArcGIS REST API, the ArcGIS JavaScript API, and ArcGIS API for Python. The item ID is also a great way to search for items within the ArcGIS platform, because it will always bring you to the exact item you need.


But where can you easily find this item ID?


The easiest and fastest way to access the ID is from the ArcGIS Online content item details page. For example, here is the item details page for a web map named "Population Not in the Labor Force"

The item details page for an item contains the metadata about an item


The item ID may not be immediately apparent, but its actually in a very easy place to find. If you look at the URL, you can see the ID at the end after ?id=


The item ID is in the URL of the ArcGIS Online item


The above example shows a web map item in ArcGIS Online. However, if you wanted to find the item ID for one of the layers in the map, you can also do that from the item details page. Find the Layers section, click on the layer of interest, and view the item ID in the address bar.


Item ID for a layer in a web map


Easy tip: if you double click the ID within the URL, it will highlight just the ID (as seen in the gif above)

In ArcGIS Online, you can store images as attachments with feature layers. By default, the attachment is shown in the pop-up as a hyperlink. With just a few lines of Arcade Expressions, you can configure the pop-up to display the actual image without requiring your viewers to click on the link.


With the March 2019 release of ArcGIS Online, you can now upload geotagged photos to create a point feature layer of each image's location. This blog will outline the process to create the layer and display your geotagged photos in the pop-up. Here is a video showing how to add photos and edit the pop-up (step-by-step instructions are found below):



After uploading your images, the pop-up includes a hyperlink that looks something like this:

This image shows the default pop-up with a hyperlink to the image attachment.


This pop-up configuration workflow will result in the photo displaying in a pop-up like the image below:

This image shows a custom pop-up with a photo of pink flowers found on the trail.


To achieve this workflow, there are two steps to the process:

  1. Calculate the attachment ID for each feature
  2. Configure the pop-up to display the attachment URL as an image


Steps to view attachments as photos in your web map pop-up:

Part 1:  Calculate the attachment ID   

Note: Sometimes this is not required if the attachment IDs match the feature IDs. There are some cases where these may match, but in most cases these IDs will be different if the data is edited after publishing or in cases where attachments are added after publication (like inspection data when using Collector). 


1. Upload your geotagged images to ArcGIS Online as a feature layer. Click here to download a sample zipped folder of images.

2. Make sure your layer is shared with the public.

3. Open the layer in a web map and save the web map.

3. Open the layer table and add a CountAttachments field and calculate it with the Arcade Expression:

4. Filter the layer to show:

      CountAttachments is greater than 0
5. Add a new field called AttachID and calculate it with the Arcade Expression: 
6. Remove the filter.


Part 2:  Create the Pop-up   

1. Click on a point in the map to view the pop-up, and open the hyperlink.

2. Return to the previous tab that shows your web map. Select More Options (the three dots under your layer name in the Content tab), then click Configure Pop-up.

3. Under Attribute Expressions, click the ADD button. 

4. In the Expression builder window, fill in the following logic seen below with the text from your hyperlink URL. The Arcade Expression builds an on-the-fly image URL for each record in your layer using the unique Object ID and attachment ID (calculated in Part 1). 

Note: This is an example of what an image attachment URL looks like: The first 7 in red is the Object ID and the second 7 in blue is the attachment ID

      var Part1 =       ""
      var ObjectID = $feature.OBJECTID
      var Part2 = "/attachments/"
      var AttachID = $feature.AttachID
      When($feature.CountAttachments > 0, Part1 + ObjectID + Part2 + AttachID, null)



5. Under Pop-up Media, click ADD then choose Image. Edit or remove the title and caption. Under URL, click on the plus sign and select your Arcade Expression. After you add it, it will look something like {expression/expr0}. Additionally, you can edit the pop-up title and additional pop-up content. You can also uncheck the "Show feature attachments as links". 


Click here to view a web map example of this in action.

This image shows a web map with a custom pop-up displaying a photo of pink flowers found on the trail.


This is a similar workflow to the popular tool and blog written by Jake Skinner.


This workflow will get you up and running to display images in URLs in most places but does have some limitations to be aware of:

  • Calculate field is not dynamic. When new features are added, you will need to re-run the field calculation in Part 1.
  • The field calculation only takes the first attachment listed, so displaying multiple images in a single pop-up isn't supported through this workflow.
  • The layer needs to be public to access attachments.


We are sharing this workflow to help you display your images in pop-ups as quickly as possible with Arcade, but want you to know that there is more to come. In future releases, we are working to make it easier to display attachments as images. You can see a sneak preview of this work in the 4X JS API. Check out the pop-ups in the Media Map template to see this implementation in a configurable app where it isn't required to do additional configuration to display these images.


Stay tuned for more updates and share and discuss your examples and improvements to this code.


Generate a Token

Posted by KGerrow-esristaff Employee Mar 16, 2019

In order to access the history log, an administrator token must be appended to your request. You can obtain a token in a few ways. The following log includes two quick ways to grab this token. 

Note. As these are administrative tokens, please don't share your token in the forums. These can potentially be used in malicious ways if the wrong person obtains your token. 

Option 1: Generate a token using postman

1. Download or open postman  (It's free)

2. Click the +New button to create a new request

3. In the new tab, set the following:

4. Click on Body and add the following parameters as Key/Value pairs:

  • username: Your administrator username (case sensitive)
  • password: Your password
  • referer
  •   f : json

5. Click Send and copy the token in the response below for use in requests

Option 2: Use Developer tools

1. Open developer tools in your browser  ( In chrome, Menu>more tools> Developer tools)

2. Sign into with your administrator credentials

3.  In the developer tools click on network and type 'self' into the filter box

4. Click on the first url, click header tab and scroll to Query String Parameters(the very last section).

5. Copy the token value to use in requests

The History endpoint of the REST API is a great tool to dig into information about events occurring in your organization. Although you easily download a comprehensive CSV of events as an administrator in ArcGIS Online, the REST API, provides the option to customize the data returned and to ask more specific questions. For an example of how to use the history CSV, check out this blog: 


For this blog I am going to outline the query and results about a specific member of my ArcGIS Online organization.


Scenario: It’s time for Karate_Kelly’s year end review. She wants to prove to her boss that she has been busy creating and managing content in the organization. Using the History API, She’ll query all of the events that she has initiated in 2018.


Detective Steps:

  1. Formulate the Query

Url: https:/


all=true – returns events for all members in the organization

start=0 – Starts at the first record

num=10000 – largest amount of events returned (requires csv format)

f=csv – Returns result in a csv

sortOrder=asc – information output in ascending order

token = “6hVsODGfBpk5X_hGc0MOrnxmddIk4bL4hP8FyOAxM0QxL3VEw86iTdB” – admin token required

fromDate =2018-01-01 – start of date range

actors= Karate_KElly – events to be returned (Note, usernames are case sensitive, so if you hit a key by accident while creating your username, check the casing just to be sure... #Karate_KEllyIsNotAMistake)


Sample Url constructed:

  1. Submit the request and view the resulting CSV
  2. Perform analysis or use pivot tables to provide insight into actions


ActionCount of Actions
Add Users7
Failed Login15
Remove Users1


Tracking my events by Month:

# of Actions10185727427614829149129101261445

Test: When did I go on Summer vacation last year?


This is a neat way to look at your actions and your organizations members actions over time.


*Note. Only available in ArcGIS Online


Generate a Token

The History endpoint of the REST API is a great tool to dig into information about events occurring in your organization. Although you easily download a comprehensive CSV of events as an administrator in ArcGIS Online, the REST API, provides the option to customize the data returned and to ask more specific questions. For an example of how to use the history CSV, check out this blog: 


For this blog, I am going to explore the needed queries to export information about login events for a specific organization. To use specific parameters with this API currently, the csv format must be used due to: BUG-000120745. This is planned to be addressed in a future release, but the CSV is a great format for large amounts of information.


Scenario: Andy the Administrator wants to understand which of his users have logged into ArcGIS Online and from which apps in February 2019. He has a sneaking suspicion that his employee Oreo J. Sampson doesn’t know his password but is afraid to ask for it to be reset as he asks every single day. Andy is going to verify the login information of his organization to verify


Detective Steps:

  1. Formulate the query:



all=true – returns events for all members in the organization

start=0 – starts at the first record

num=10000 – largest amount of events returned (requires csv format)

f=csv – returns result in a csv

sortOrder=asc – information output in ascending order

token = “6hVsODGfBpk5X_hGc0MOrnxmddIk4bL4hP8FyOAxM0QxL3VEw86iTdB” – admin token required

fromDate =2019-02-01 – start of date range

toDate=2019-02-28 – end of date range

actions= failedlogin – events to be returned


Sample Url constructed:<token>

  1. Submit the request and view the resulting CSV (Failed Login)

Note that some fields have been changed to anonymize data for publication)



  1. After inspecting the CSV, you can notice that Oreo failed to login on February 1st and didn’t fail again.


  1. To find out if Oreo ever successfully logged in, just add login to the actions parameter to receive failed login and login events:,login&sortOrder=asc&toDate=2019-02-28&fromDate=2019-02-01&num=10000&f=csv&token=<token>


Reading the output of the resulting CSV, I can see that Oreo eventually logged into ArcGIS Online using ArcGIS Online and ArcGIS Desktop.


With these results, Andy can understand who has been logging into the organization, successfully, unsuccessfully and from which app.


A note about login actions:

A login action is recorded everytime a successful call is made to the oath2 or generate token login. If you click “Keep me signed in” on the ArcGIS login form then the token will be valid for 2 weeks; the /signin endpoint will not be called and no record will be added to the history log.


*Note. Only available with ArcGIS Online


Generate a Token

On the evening of March 19, we plan to update ArcGIS Online. Here are five new capabilities to anticipate:


  • Encourage viewers to explore your data using the upcoming Interactive Legend configurable app. This app enables viewers to not only read the legend but also touch the data. Giving viewers the opportunity to turn layers on and off, highlight, and filter data through the map legend helps them recognize what is occurring in the map.

Interactive Legend Configurable App


  • When searching for items, you will notice a new location filter. Specify a place or region of interest and see only items for that location. This filter works by referencing map extents (geographic boundaries for items). Also, item search will be more efficient and flexible. For example, suggested and partial word searches will be supported for titles.

New Location Filter


  • Bring your own or publicly shared maps, layers, or apps together using the upcoming Category Gallery configurable app. This app is an excellent way to organize your items into categories and allow viewers to interact with your items. The categories give viewers the flexibility to filter and find relevant items.

Category Gallery Configurable App


  • You will be able to create feature layers from photos that contain location data. Simply upload a file of JPEG photos with geotags and publish as a hosted feature layer. Use the layer in your maps and apps.


  • Group owners and managers will be able to help users quickly find what they are looking for by specifying the type of items (such as apps or maps) that display by default on the group's content and overview tabs.


Please note that all planned updates are subject to change. A comprehensive list of implemented changes will be provided in our What's New email, blog, and documentation. Visit the ArcGIS blog to learn more about what's coming and new.


Sign up to receive What's New emails

FYI, great blog by Molly Zurn which discusses the new ArcGIS Online Implementation Guide (PDF) gives administrators a quick overview of essential tasks and best practices for setting up ArcGIS Online.


ArcGIS Online Implementation Guide 



This guide is useful to anyone who’s just received an ArcGIS Online subscription and is seeking straightforward guidance on how to make and manage maps, data, and users within the organization.



With the December update of ArcGIS Online, the ability to reference other layers using Arcade Expressions in Pop-Ups was introduced. This blog is going to outline a quick example about how to create a simple intersect expression and display the results in a Pop-Up.


In this example I have used 4 layers marked as authoritative in ArcGIS Online by  Miami-Dade County, Florida. I want to display the Elementary, Middle and High School names which intersect with building footprints in a single pop-up. I have three layers of School Attendance Boundaries which identifies a specific school boundary which overlaps with many building footprints. The building footprint layer contains geometry information but no information about the infrastructure or zones that intersect with the building.

This Web Map shows examples of the information available in these layers in 4 separate layers.

Unedited Pop-ups


Using the new Arcade FeatureSet functionality, I was able to include the Elementary, Middle and High School names in the building footprint pop up in this web map


feature set


Here are the steps to set up this simple intersecting Arcade Expressions to include in a pop-up.

  1. Add all the desired layers with information that you would like to see to a web map.

  2. Select the layer that should display the pop-up information (Building Footprint)

  3. Inspect the School Attendance Boundary layers to identify the fields that you would like to display in the Building Footprint layer Name)

  4. Select Configure Pop up and navigate to the Add Attribute Expressions

  5. Create the expression for each layer.

    1. Create a variable that returns the FeatureSet of intersecting feature attributes.

      var intersectLayer =Intersects(FeatureSetByName($map,"Elementary School Attendance Boundary"), $feature)

      Expression Values Explained:

      var intersectLayer – specifies the intersecting features variable name

      Intersects – specifies the geometry function one feature intersects the geometry of the other specified layer.

      FeatureSetByName  Creates a FeatureSet from a Feature Layer based on its name within a map or feature service

      $map,"Elementary School Attendance Boundary"– identifies that the feature set is a layer named Elementary School Attendance Boundary, within the web map.

      $featureis the feature that is being selected in the Building Footprint layer that provides the initial spatial information.


         b.   Loop through the feature set created and return a specific field from the feature set:


for (var f in intersectLayer){

    return f.NAME



6. Once all expressions are created, add them to the pop up configuration.

7. Disable the pop ups and potentially the visibility from the School Attendance Boundary Layers (Not required, but I think it cleans up the display,

8.Check out your pop up with information from intersecting layers.


There will be more documentation, blogs and examples coming out in the next week, but try out this quick sample with simple intersecting layers and let us know if you have questions.


Entire expression for a single high school name:


var intersectLayer =Intersects(FeatureSetByName($map,"Elementary School Attendance Boundary"), $feature)

for (var f in intersectLayer){
return f.NAME