Skip to content
Verified

Studio app building, data and UI FAQ

Answers about the App Builder assistant, a component's Datasource and UI tabs, and the Set Data program.

Questions about building a project's screens and data in Studio: the App Builder assistant, a component's Datasource and UI tabs, and the Set Data program that writes records.

What is Xuda App Builder?

Studio itself: the visual editor for a project's tables, components and programs, with an AI assistant built in. See Studio overview and The AI App Builder.

Does Studio support AI-assisted building alongside manual editing?

Yes. The AI panel under the inspector can scaffold a UI component, explain how an open project works, or add a data field, without leaving the editor, and every screen, table and program it touches is still editable by hand afterward. See The AI App Builder.

What is a component's Datasource tab for?

Where you choose what a component shows: a project table, a simple list, JSON, a Csv file, or none at all for a layout-only piece. A Get Data program can use any source except None; a Set Data program's only option is a project table. See Component datasource.

What is the difference between Index and Query filter modes?

Index reads through an existing lookup the app already has, by owner, status, date, or another repeated pattern. Query lets you choose records by rules instead, with a visual Builder plus Mongo and SQL views for people who already know those query styles. See Component datasource.

What is the Set Data program?

A saved write: creating a row, updating one, or deleting one. Every mutation in a Xuda app runs through a Set Data program, mode C (create), U (update) or D (delete), with lifecycle events (before_record, after_record, record_not_found) to validate or react around the write. See Set Data.

Can Set Data create a row if none matches on update?

Yes, with allowCreate: true on an update-mode Set Data, an update becomes an upsert: it creates the row when no match is found instead of doing nothing. It defaults to false. See Set Data.

What does a component's UI tab do?

Where its visible screen gets built: a preview canvas, an elements tree, an insert toolbar (UI Elements, Components, Widgets, a plain Tag, Create with AI, Icons & Graphics, Panel and Assets), and the Properties panel for whatever is selected. See Component UI tab.

Can I preview a component at different screen sizes before finishing it?

Yes, the device menu next to the insert toolbar previews the component at common screen sizes, and a separate preview-mode menu checks it in Dark, Light or Auto. See Component UI tab.

How does a table datasource stay updated as records change?

Turn on Realtime, though it is only available for tables on Xuda's own database plugin; anything else shows the control disabled with a tooltip explaining why. Watch fields is a separate control, available on every datasource type, that re-runs the datasource whenever a listed field changes. See Component datasource.