ArcGIS Online is a cloud-based, collaborative content management system for maps, apps, data, and other geographic information. You can access ArcGIS Online through a web browser via www.arcgis.com, mobile devices, and desktop map viewers to accomplish the following:
- Create web maps
- Web enable your data
- Share your maps, data, and applications
- Find relevant and useful basemaps, data, and configurable GIS resources
- Manage content and users in your organization
Portal for ArcGIS
Portal for ArcGIS is a website and repository for GIS content such as web maps and applications. It provides the same collaboration and sharing tools as ArcGIS Online, an example of a portal which is hosted at www.arcgis.com, but each portal instance differs in where it is hosted and what content is available to users. Portal for ArcGIS can be deployed behind an organization's firewall, on-premises, and in the cloud, or a private instance can be hosted and managed by Esri for your organization.
Portal API in ArcGIS Runtime
The ArcGIS Runtime for Qt API allows developers to access and search content, users, and groups of a general portal (on-premises instance or ArcGIS Online) or a specific organization's subscription within that portal. The API achieves this by using the ArcGIS REST API to communicate with the back-end portal. The ArcGIS REST API allows application developers to work with users, groups, and content hosted within ArcGIS Online or another ArcGIS portal. Most commonly, applications work with web maps that are accessed through the portal.
The ArcGIS Runtime for Qt API includes the following classes that provide read access to the portal:
- The class provides the connection information to the portal (Uri, Token, ClientAppType, CultureInfo).
- The class includes information such as the name, logo, featured items and supported protocols (http vs https) for this portal. If the user is not logged in or if the logged user doesn't belong to an organization, this information describes the default view of the portal. If the user is logged in or if the Url is an organization custom Url, the information will be specific to the organization that the user belongs to.
- The PortalGroupInfo class represents a group in a portal. The owner is automatically an administrator and is returned in the list of admins. The visibility of the group to other users is determined by the access property. If the group is private no one except the administrators and the members of the group will be able to see it. If the group is shared with an organization, then all members of the organization will be able to find the group.
- The PortalItemInfo class represents an item stored in a portal. This class only contains information about an item stored in the portal. The actual data contained in the item will be retrieved when creating the appropriate item type instance.