Web apps are an effective way to share information in your map or scene or to display items and related information about a shared group. A web app is a customized user interface that focuses your map or scene for a specific purpose, message, and audience. For example, if you just want to showcase your map, your app only needs a few basic navigation tools. If, on the other hand, your map will be used to collect feedback from the public, it will need specialized data editing tools and instructions for how to enter the information.
For web apps created from maps or scenes, any changes the author makes to the map or scene, including its extent, layers, description, and so on, are reflected in the web app. If a map or scene that was available to everyone in the organization is made private (or deleted), the map or scene no longer appears in the app.
For web apps created from groups, any changes made to the group or items in the group are reflected in the app. If an item that was public or shared with the group is made private or is deleted, the item no longer appears in the app.
Share apps publicly that contain subscriber content
Apps are an effective way to share information in your map, and sharing your apps publicly helps extend the reach of your message. If the map behind your app contains content from ArcGIS Living Atlas of the World, the app may require credentials to access the content. Most of the Living Atlas content is free and can be viewed by anyone. However, a subset of layers, tools, and services known as subscriber content requires an ArcGIS Online organizational account to access. Subscriber content includes Landsat 8 imagery and landscape analysis layers. Premium content is a type of subscriber content that requires an ArcGIS Online organizational account to access and consumes credits. Premium content includes demographic maps and tools for geocoding and analytics.
If you want to share an app publicly that contains subscriber content, you can configure it to allow access to the content through an ArcGIS Online organizational subscription. This optional setting is built into the configurable apps and indicates which layers require an ArcGIS Online organizational account and which also consume credits. In Web AppBuilder for ArcGIS, this setting is available through the Attribute tab. If you enable access, users will not need their own ArcGIS Online organizational account to access those layers in your app, as the apps will save the account information that you provide when you configure the app. You can track usage and disable sharing at any time by logging in to the ArcGIS Online organization.
Any credits that users consume by accessing ArcGIS Online premium content within the app will be charged to your ArcGIS Online account. If you do not want to consume credits on behalf of app users, do not enable any of the premium layers to be accessible through your subscription. This way, users will be required to provide their own ArcGIS Online credentials for consuming credits. However, keep in mind that if you do this, you will limit who can access your app to people who have an ArcGIS Online organizational account with privileges to access premium content and available credits. For public apps, you should either remove all premium content from the map or you should configure the app to have your ArcGIS Online account incur the credit costs.
Follow the steps below to share publically a configurable app that contains subscriber content.
- Configure the Subscriber Content for your web app.
The Subscriber Content setting appears at the top of the configuration pane with a list of the ArcGIS Online subscriber and premium content in the app. Premium content is marked with an icon and indicates layers that consume ArcGIS Online credits.
- When you first create a web app from a configurable app, the configuration page automatically opens.
- If you have already created your app, click Configure App from the item details to open the configuration page.
- Check all the layers to allow full access to your app through an ArcGIS Online subscription. Be sure to save your changes.
If you leave some layers unchecked, the app will prompt the user for ArcGIS Online credentials, which isn't a good option for a public app. Instead, you should consider removing subscriber or premium layers from the map.
- Share your app with everyone (public).
- To test that the setting is working correctly, sign out of your organization and open the app. You should not be prompted to sign in.
- To disable allowing access to ArcGIS Online subscriber content through your ArcGIS Online account once you have enabled it, open the item details for the app, click Configure App, and uncheck the layers in the Subscriber Content section. Be sure to save your changes.