Skip to Content
ExamplesBuild a Facilities Maintenance Desk
On this page

Build a Facilities Maintenance Desk

Open the live Facilities Desk . Pick a sample room and issue, then submit a request. The app stores numeric room and issue codes and an equipment status. Only authorized site managers can review the submitted records. The public room catalog and the private request Table are separate resources.

Build your own

  1. Save the four example files under their original names and publish them together. The project includes a public, fictional room catalog. index.html , style.css , app.js , rooms.csv . For a real deployment, supply your approved room catalog and adapt the form choices.
  2. In Site dashboard → Data, create Maintenance Requests with the slug maintenance-requests and fields room_id (number), issue_code (number) and out_of_service (boolean).
  3. Open Row-level permissions, select Private submissions, review the existing-record setting, and save. In Table API, choose the form submission settings, allow only those three input fields, and enable only the operations you need. Keep reads private. On an internal desk, limit site membership and intake to your authorized staff.
  4. Add an HTTP Data Source using the exact public URL of your site’s rooms.csv. Create a snapshot. The hosted copy can power reports while the form reads the small source catalog directly.
  5. From the source detail page, select Schedule refresh. Choose a daily schedule, save it, and select Run now. Confirm a successful refresh in Run history before selecting Resume.
  6. In Agent Actions, check the app’s remote MCP and WebMCP settings. A public client can discover eligible public catalog actions. A manager signs in through the app’s MCP OAuth flow to see eligible private Table actions. Keep the public form as the intake path.

Verify access

  • Submit a synthetic request from a signed-out browser. Confirm the form shows receipt and a manager can see the record in Site dashboard → Data.
  • From a signed-out or ordinary-member session, check that reads, counts and search do not reveal other people’s submissions. Check the app’s /.well-known/miniup.json and MCP tool list as well.
  • Confirm that the site’s published files contain only the public catalog and form code. Keep private notes or attachments in approved storage and keep credentials in Function Secrets.

See Automation, row-level Table permissions and per-site MCP.

Automation · row permissions · private submission · operations · Data Source