Public apps
How to open an app to everyone without a login, what a public user can and cannot do, and what to check before you do it.
A public app can be opened by anyone who can reach your server. No user account and no login are needed. Use it for maps and dashboards that you want to show to the public, such as a city map on a web site.
Public apps are available for browser apps, including dashboards, and for desktop apps. A mobile app cannot be public.
Make an app public
- In Studio, open the browser app or the desktop app.
- In the section
General, tickPublic. - Save the app.
When you tick Public, the claims of the app are removed and the claims selection is disabled. A public app is open to everyone, so it cannot be limited to certain claims.
There is no setting for the tenant that you have to switch on first. As soon as a tenant has one public app, its Apps page works without a login.
What visitors see
A visitor who opens the Apps page of the tenant is not asked to log in. The page shows the public apps. A direct link to a public app opens the app straight away. See App links and sharing.
Users with an account can still log in: the user menu of a public visitor contains Login. On the login page, Continue as public user leads back to the public apps. A user who is logged in sees the public apps together with the apps assigned to them and can filter between the two. See Overview of the Apps Page.
What a public user can and cannot do
| Public user | User with an account | |
|---|---|---|
| Open the app, use the map, layers, tooltips, measuring, printing | yes | yes |
| Workflows and actions of the app | yes, as far as they are not limited to a claim | yes, according to the claims |
| Parts of a workflow that require a claim | no, a public user has no claims | according to the claims |
| Save geometries | no | yes |
| Bookmarks | no | yes |
| Change e-mail address or password, two-factor authentication | no | yes |
| Choose the language | yes, in the user menu. See Language of a public user. | set by the administrator or in the user menu |
Before you make an app public
- Everything in the app is public. Every layer of the legend, every query and every workflow of the app can be used without a login. Check the legend layer by layer, and check which workflows the action sets of the app open.
- Protect workflows with claims. A workflow step or a form element that requires a claim stays hidden from public users. A workflow without such a condition is open to them. See How to use claims.
- The app is listed. Name, type and image of every public app are visible to anyone who opens the Apps page of the tenant.
- Public visits count as usage. Each visit of a public user is recorded as a session, like the session of a user who logs in. See License, charges and usage.
- A license is still required. Without a valid license public visitors cannot open the app either.
Make an app private again
Untick Public and assign the claims the app should require. Until you assign claims, the app is open to every user who is logged in.