Site Pages

Add extra pages and public access to Site apps

Every Operator App has a Home page served by index.html at the root path /. Site apps can define additional pages, each with its own URL path and access mode.

When to create a page

A Page is a distinct navigable destination in the application. Do not create a new Page merely because the UI shows different content.

Create a new Page when one or more of these apply:

Do not create a new Page merely for:

When uncertain, prefer keeping related functionality within the existing Page. Create another Page only when it represents a meaningful independent destination.

Why use pages?

How pages work

Pages are managed under the Pages tab in the App Builder workspace.

App access mode (the Home page)

The app itself has an access mode that controls who can open the Home page — and it is the default access mode for every new page you create. You set it when the app is created, and you can change it later under the Pages tab (the Home row).

Defaults for new apps:

Choose Public only when people without an account genuinely need to open the app — for example a landing page, a public form, or a shareable dashboard. Public mode requires a Site app. When the Home page is public, the app's address is https://app.operator.net/p/<app-slug> and the app is listed to crawlers accordingly.

The address to share. A public-home app has no instance in its address. Share https://app.operator.net/p/<app-slug> (add /<page-path> for a sub-page); you will also find it under the Pages tab and in the Deploy tab, and the maximize button in the app header opens it. If someone opens the signed-in style address /a/<app-slug>/<something>, the trailing part is read as a page path and served publicly — no login prompt. Access is always decided per page: a public page opens for everyone, while a page that requires an Operator or ERP.net user still asks for sign-in, even in the same app.

A public Home page also makes the app's public backend requests callable without sign-in — mark only the requests that are safe to expose as Public.

Access modes

Mode Who can open it Typical use
Public Anyone with the URL; no sign-in required Landing pages, public forms, shareable dashboards
Operator User Signed-in Operator users Internal tools and team screens
ERP.net Internal User Signed-in Operator users with an active ERP.net internal connection Screens that call ERP.net data directly

Public pages need the Site tier. They are served from /p/<app-slug>/<page-path>. A page with no explicit access mode inherits the app's access mode.

Public backend requests

A public page has no signed-in visitor, so it cannot use your ERP.net connection, the app's tables, stored files or secret values. Anything it shows from a server must go through an app web request marked Public.

A public request runs on the server with its own stored credentials, so it can read ERP.net data (via a service login) or any external API without the visitor signing in. The App Builder creates and marks these requests for you — you only enter the credential values under Secrets.

Building pages

Describe the new page to the App Builder in chat. For example:

"Add a public landing page at /register with a simple contact form."

The App Builder will:

  1. Create the page record under the Pages tab.
  2. Write the source files under pages/register/.
  3. Update any navigation in the app so users can reach the new page.

Use the Design tab to preview the page, and Code to inspect or edit the generated source.