Move the Work to the Server: One Dropdown, Three Choices, Full Control.
Run At Server is the Studio setting that decides where a program executes: in the browser, on the Xuda application server, or inherited from the parent datasource. Exposed as a single Run At dropdown on the programs where it matters (data reads, data writes, workflow loops, and components), it gives developers a clean, per-program choice of execution location, with authenticated context forwarded automatically so server execution has everything it needs.

One Property, Three Choices
Run At is a single dropdown with three clear options: Inherit (pick up the parent's choice), Client (runs in the browser), and Server (runs on the Xuda application server). The built-in tooltip spells out the model so the setting is self-documenting.
Inherit, Client, Server
One dropdown, three options, no jargon.
Scoped To the Right Types
Run At appears on data reads, data writes, batches, and components. Other program types use their own appropriate settings instead.
Self-Describing Tooltip
The setting explains itself in the UI, so the choice is never guesswork.
Deterministic Dispatch
The runtime picks a lane with no guesswork. Worker context, explicit Client setting, or the local driver keep a program in the browser. Otherwise the runtime dispatches it to the server and awaits the result over a persistent connection.
Clean Handoff
Server-side dispatch hands the program, its parameters, and the active session id to the server engine in one step.
Persistent Channel
A single persistent connection carries requests and responses, so there are no per-call handshakes slowing things down.
Transparent Results
The response flows back into the program's normal data state, so downstream logic uses the result exactly like a locally computed one.
Inheritance By Default
Most projects do not want to annotate every program one by one. When Run At is left as Inherit, a child program picks up its parent's value, so setting Server once on a parent datasource cascades down to every read, write, and batch under it.
Parent Cascade
If Run At is Inherit and a parent datasource exists, the runtime picks up the parent's choice automatically.
Per-Program Override
Any program can override the inherited value by picking Client or Server explicitly, so exceptions stay local.
Consistent Execution
Inheritance keeps related programs on the same side of the wire, so data and workflows do not flip back and forth unexpectedly.
Safe by Default
Two guard rails keep Run At Server predictable even when the setting is ambiguous. When the session runs in a single-process mode, execution is forced to Client, and global programs are always Client. On top of that, server-side programs run with the authenticated session forwarded, so they act under the same identity as the caller.
Single-Process Safety
Sessions in single-process mode always execute locally, regardless of Run At, for deterministic behavior.
Globals Stay Local
Global programs are always Client, so shared state never round-trips through the server.
Session Context Forwarded
The active session, app, and user are forwarded on every server dispatch, so server-side programs act under the same authenticated identity.
Why It Matters
Sensitive Work On the Server
Push secrets, privileged queries, and cross-tenant logic away from the browser by flipping a single dropdown, without rewriting the program.
Faster and Leaner
Heavy reads, batch work, and multi-step writes complete on the server, so the browser stays snappy and round-trips shrink.
Same Program, Either Side
The same program behaves consistently whether Run At points it at the client or the server.
Progressive Hardening
Start everything on the client for simplicity, then move individual programs to Server as security or performance needs evolve.
Available in plans
- pro
- team
- agency

Frequently asked questions


Develop.Deploy.Stay Productive.
Build apps, sites and AI agents on one platform, and deploy them on managed infrastructure.