Skip navigation
All Places > GIS > Web GIS > ArcGIS Online > Blog > Author: KGerrow-esristaff
1 2 3 4 Previous Next

ArcGIS Online

59 Posts authored by: KGerrow-esristaff Employee

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.


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

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

ArcGIS Online will be updated the evening of December 5th PST. There is a lot of useful functionality packed into this update, including some user interface updates, licensing changes and changes to administrative workflows. This article will describe the upcoming changes to the look and feel of ArcGIS Online while this related blog reviews concepts about the next evolution of licensing, User Types. We understand that changes to workflows and the look and feel of software that you use daily can be disruptive. For this reason, we want to provide you with a quick preview of the updates, so you are prepared and excited for the morning of December 6th.


Check out the details in this ArcGIS Blog and comment below:

Prior to the December 2018 update of ArcGIS Online, capabilities and identity were determined by user levels (Level 1 and Level 2), allowing ArcGIS Online members to view content or have access to all capabilities within ArcGIS Online. Our user community had asked for a wider variety of capabilities and apps. To meet these requirements, ArcGIS is evolving levels to user types. User types are a combination of identity, capabilities and apps that align with the needs of typical members in an organization.


Learn more by reading this ArcGIS Blog

The September 2018 release of ArcGIS  contained the ability to export an activity log,  which contains history of actions made to content, members, organizations, and groups in your ArcGIS  organization. This blog outlines some basics of understanding the history log: 


This series of blogs will show quick ways of filtering the activity blog to find specific information. I've removed some information from the attached logs, so please note, IP address, org id and reqid are not included. This is also a fictional organization, with minimal events to make it easier to find specific events.  


What happened to my item? 


An item, b0a01e2e668f40168aa6d9a753efacb, that was supposed to be hidden until a press release on Wednesday, February 28, 2018. was made public early. Use the history log to determine who updated the items sharing privileges and when this occurred.


Detective Steps:

1. Download the Activity log setting the start date so that it will capture the time span in questions (Feb 26, 2018)

2. Open the CSV as an excel document

3. Input the itemID in the search bar in excel

Filter for Item

4. Filter the action column to view all share actions

5. Look at the data column and determine which event updated the sharing to everyone:true.

Notice it appears that Donna Content username shared the item publicly right after Brandon Analyst shared with a specific group.



Esri | The Science of Where 
View email in web browser

Here are a few tools to make working with your data and keeping up with your organization more convenient. You also have new customization options when working in 3D.

Data Prep & Quality Check

Learn how to quickly evaluate and edit tabular data you brought into ArcGIS . Use this checklist whenever you bring in a spreadsheet.

Data Checklist
Companion App

ArcGIS Companion is a mobile app that helps you manage your content and keep up with what's happening in your organization.

Learn More
3D Enhancements

A new edge rendering style called "Sketch" is now available in Scene Viewer. You can also navigate underground in global scenes and set the background color in your scenes.

See What's New

ArcGIS  achieved Federal Risk and Authorization Management Program (FedRAMP) authorization! FedRAMP is a U.S. government-wide program that provides a standardized approach to security assessment, authorization, and continuous monitoring for cloud products and services. We're proud to offer this additional security for our users. Learn more


Follow Us
Follow us on Twitter


Join our Community


Submit Product Ideas


Do you constantly wish for better ways to organize ArcGIS content based on subject matter and descriptive qualities rather than just the item type and last modification date? Do you want to find your roads feature layer with 2012 data rather than looking for layers that were created in 2012?


The April 2018 update of ArcGIS Online*  introduced the ability to assign user-defined categories to items, creating thematic parameters that can be used as filters to refine search results and browsing experiences. Content categories enable administrators, group managers and users with the manage categories privilege to build a categorical schema for content that can then be used by members to categorize their items thematically.


Check out the rest of this article here and let us know how you will use content categories in the comments below.

Check out this sneak preview about updates to the organization page that are coming in the June Update of ArcGIS Online in this ArcGIS Blog:

The Organization Page has a New Look 

For all of you collaborators out there – announcing an update to the availability of distributed collaboration!

Collaboration has been released from the Early Adopter Community and is now available for all users with ArcGIS Online and ArcGIS Enterprise 10.5.1 and up.

To enable collaboration in your ArcGIS Online organization, visit the licensing section of My Esri and select the radio button under ‘enable collaboration’ next to your ArcGIS Online subscription name and ID. 

Check out the rest of the article on the ArcGIS Blogs site.

Check out this blog post by Molly Zurn about licensing premium apps through ArcGIS. This is a great blog for new users, trial users or anyone looking to get started with apps that are supported through ArcGIS Online.


ArcGIS apps help you solve important and specific location-based problems. Use them to collect, analyze, and share your data and take you where you need to go. Locate potential hurricane shelters, develop plans for affordable housing, fight drug abuse, route field workers to inspection sites, and more.

Most of the apps are included with your subscription to ArcGIS Online. Premium ArcGIS apps such as Insights for ArcGIS have an additional fee and require a license for each user. Licenses are required even if you have an ArcGIS trial. But the process is as simple as checking a box.....


Read More

Check out this other new ArcGIS Blog about sharing with members across organizations. I find that this blog is particularly helpful to Geonet users as scenario 1 is a great way to provide specific users (like me, Karate_KElly) who you are working with on the forums access to your items without making them public. Check out the blog and let us know what you think in the comments below.


Once upon a UC, David Hansen, COO at Geo Jobe stated, “ArcGIS Online is the largest global repository of geospatial information in the history of the species.” And although the amount of data in ArcGIS Online is not the point of this blog, as of May 21st, 2018 around 17 million items that exist in ArcGIS Online. That is 17 million layers, maps, scenes, apps and files that can be used for data collection, analysis, presentations and more.  The items have a variety of sharing settings that enable the public or specific groups of users to access content. Twenty-three percent of ArcGIS Online content is public, meaning that anyone can access and find content that has been shared without requiring a username and password. Thirty-one percent of the items are shared with specific users through the group or organizational sharing setting.


Sharing and Collaboration across ArcGIS Online Organizations 

Check out this new ArcGIS Blog:


ArcGIS has a powerful sharing model that enables its members to easily share content items such as maps, apps, scenes and files with their desired audience.  Whether the audience is the entire 7.6 billion people in the world, or a few members of your company, ArcGIS Online has the infrastructure and security to get your mapping content to the right people quickly. The sharing settings of an item control both the findability and security of items in ArcGIS Online. This article will describe some common sharing scenarios and the security and findability impacts of each scenario.


Managing Security and Findability of Items with the ArcGIS Sharing Model