The submodule

The hub submodule within arcgis.apps acts as the pythonic interface to ArcGIS Hub. It enables automation of several Hub workflows and simplifies the use of the Hub information model by allowing access to Hub objects such as Initiative, Event, Site and Page. For tutorials and additional resources on using ArcGIS Hub, see here.

ArcGIS Hub is available with ArcGIS Online in Hub Basic and Hub Premium, depending on your licensing of Hub. Every user of ArcGIS Online has access to Hub Basic, unless upgraded to Hub Premium at the Organization level. Users of ArcGIS Enterprise have access to ArcGIS Enterprise Sites which enables users to automate several workflows involving Sites and Pages, similar to Hub Basic. Once you sign-in to your GIS, you can access the Hub capabilities in ArcGIS Online through gis.hub, which is the entry point to Hub. As an Enterprise Sites user, the entry point is gis.sites to access your Sites and Pages in ArcGIS Enterprise. Let's explore this through the architecture diagrams below.

Architecture Diagram

image

The capabilities supported in the API both match and exceed those available in Hub's UI. It equips users with tools necessary for working with the Sites in their Hub or Enterprise organization. With it, you can create, search for, edit the layout of, and clone sites and pages within the same organization and to different organizations.

You can learn more about the functionality supported through the classes in the hub submodule through the links below:

  • Hub: Represents a Hub organization
  • Initiative: Represents a Hub Premium Initiative
  • Site: Represents a Hub or Enterprise Site
  • Page: Represents a Page of a Hub or Enterprise Site
  • Event: Represents a Hub Premium Event
  • Resource Manager classes for managing these objects above:

We have three more guides that cover a range of functionality, also split based on Hub type.

  • Hub Premium: Working with Initiatives and Events
  • Hub Basic: Adding site and page, cloning the site to Hub Premium + Basic + Enterprise, Linking and unlinking pages
  • Enterprise Sites: Adding site with custom domain, adding page, editing site layout and theme, editing page layout

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.