Lewati ke konten
Imamatek Jadwalkan demo

Referensi Biz-A Domain Studio

Referensi Biz-A Domain Studio

Setiap layar, field, pilihan, dan pesan di Domain Studio — entity, attribute, relationship, tenancy, structure, entry point, binding, dan effect.

Reference manual · versi 1.0 · 24 November 2026 · PT Integritas Makmur Mandiri

Manual ini menjelaskan setiap layar, field, pilihan, dan pesan di Domain Studio, bagian dari Biz-A Control Center (admin.biz-a.id). Domain Studio dipakai implementor untuk mendeskripsikan data customer (entity, field, relasi) beserta layarnya (form, list) tanpa programmer. Ini bukan tutorial: tidak ada langkah-langkah latihan.

Konvensi penulisan

  • Label di layar ditulis persis seperti tampil, dalam tanda kutip dan bahasa Inggris: “Display attribute”, ”+ Add binding”.
  • Istilah teknis tetap English (domain, entity, attribute, structure, entry point, binding, effect, dll.).
  • kode = nama, key, atau isi JSON yang diketik.

Daftar isi

  1. Konsep dan istilah
  2. Alur kerja: draft, save, publish
  3. Control Center: rail dan Config List
  4. Raw JSON (panel draft)
  5. Layar Domain Studio
  6. Bagian Metadata
  7. Bagian Model: entity
  8. Bagian Model: attribute
  9. Bagian Model: index, relationship, tenancy
  10. Bagian Styles
  11. Bagian Structures
  12. Bagian Entrypoints: entry point, binding, effect
  13. Bagian Entrypoints: args, events, libraries
  14. Kotak isian (field set) dan “Other keys”
  15. Daftar referensi: tipe, UI intent, item type, trigger, effect
  16. Daftar peringatan
  17. Daftar pesan

1. Konsep dan istilah

Istilah Arti
Domain Satu paket config yang mendeskripsikan satu area bisnis (mis. pembelian): data, layar, dan aksinya. Satu domain bisa berisi banyak entity
Layer Tingkat config. Domain yang dibuat di Control Center adalah Layer 3 (kustomisasi penuh per company)
Draft Salinan kerja sebuah config. Perubahan tidak sampai ke user sampai draft di-publish
Revision Nomor simpan draft; naik setiap “Save”
Version Nomor versi published (mis. v0.1.0); dinaikkan oleh publish, tidak diketik
Entity Satu jenis data (mis. supplier, purchase_request). Platform membuat tabelnya saat publish
Attribute Satu field entity: tipe, label, wajib atau tidak, dll. Platform membuat kolomnya
UI intent Cara user diharapkan berinteraksi dengan attribute (shortText, currency, lookup, …). Menentukan kotak input yang digambar, tanpa menyebut komponen teknisnya
Relationship Hubungan antar entity: one-to-many (header–detail), many-to-one (lookup), one-to-one, many-to-many
Style Tampilan bernama (CSS class, style, props) per profile perangkat: desktop, mobile, tablet, kiosk
Structure Susunan layar: form (isian satu record), list (daftar record), atau dialog
Entry point Layar yang bisa dibuka: entity + structure + caption, beserta event binding-nya. Menu di App Studio menunjuk ke entry point
Event binding Aturan “saat X terjadi pada Y, lakukan Z”: emitter + trigger → effect (atau handler library)
Effect Aksi standar yang dijalankan client: SAVE, DELETE, NOTIF, FORM_PATCH, FORM_ERROR, NAVIGATE, OPEN_DIALOG
Event / handler Fungsi library (lib.module.function) yang dipanggil sebuah binding
CRUD Create, Read, Update, Delete: tambah, lihat, ubah, hapus data. Layar CRUD digambar platform dari config

Prinsip: implementor tidak membangun aplikasinya, tetapi mendeskripsikannya. Saat publish, platform membuat tabel dan kolom dari Model; Biz-A Client membaca config yang sama untuk menggambar form, list, dan detail grid; saat user menyimpan, platform yang menulis ke database, termasuk baris detail.

Editor tidak pernah membuang isi config. Setiap perubahan hanya menulis field yang Anda ubah. Key yang tidak dikenal editor tetap ada dan tampil di “Other keys” (§14). Nilai yang aneh tidak diubah otomatis, tetapi diberi peringatan (§16).


2. Alur kerja: draft, save, publish

Tahap Di mana Hasil
Buat / buka draft Config List → ”+” (domain baru) atau “Open” Draft terbuka; revision 1 untuk domain baru
Edit Domain Studio Perubahan di memori, ditandai ”· unsaved changes”
Save Tombol “Save” di Domain Studio “Saved — revision n.” Draft tersimpan di server, belum live
Periksa Raw JSON → “Diff vs published” Daftar perubahan dibanding versi live
Publish Raw JSON → “Publish”, atau Config List → centang → “Publish selected (n)” Konfirmasi ”… It goes live for every user of this company.” → tabel dibuat / diubah, layar live
Pakai Biz-A Client Refresh browser agar layar baru tampil

Aturan penting

  • Save sebelum pindah halaman. Pindah halaman dengan perubahan belum disimpan akan ditanya: ”… has unsaved changes. Save them before you go?” → “Save and continue” / “Leave without saving” / “Stay”.
  • Publish mengirim draft yang tersimpan, bukan teks yang belum di-save.
  • Atur kunci entity sebelum publish pertama (§7). Kunci tabel tidak ikut berubah pada publish berikutnya.
  • Publish domain otomatis mendaftarkan domain itu di Application config (ikut ter-publish). Draft App Studio yang dibuka sebelum itu menjadi basi dan ditolak; buka ulang App Studio setelah publish domain.
  • Domain dan workflow-nya bisa di-publish bersama: centang beberapa draft di Config List → “Publish selected (n)”.
  • Setelah publish, draft lama disimpan sebagai catatan dan tidak bisa diedit: “This draft was published as vN and is kept as a record — it cannot be edited. Edits go in the current draft.” → “Edit current draft”.

3. Control Center: rail dan Config List

3.1 Rail kiri

Rail ikon di kiri, terbuka saat disorot.

Item Fungsi
“Main” Halaman awal; status koneksi ke CLI (“Verified by the CLI: user … · database …”)
“Config List” Daftar config (§3.2)
“Generate” Process Studio (Business Process Map dan AI authoring)
“Organization” Organization Setup
“Test” Uji koneksi AI
“Back” Di dalam studio: kembali ke halaman sebelumnya

Di Domain Studio rail juga berisi bagian-bagian studio (§5).

3.2 Config List

“Edit a Layer 3 config as a draft. Nothing reaches the live application until it is published.”

Segmen Isi Tombol
“Application config” Menu dan domain yang didaftarkan aplikasi “Open” (Raw JSON), “App Studio”
“Domains” Domain company ”+” (“New domain”); per baris “Open”, “Domain Studio”
“Workflows” Workflow company ”+” (“New workflow”, butuh domain lebih dulu); per baris “Open”, “Workflow Studio”

Keterangan per baris: nama · “vN” atau “not published” · “Layer n” · penanda “open draft” (ada draft terbuka), “Control Center” (dimiliki Control Center), atau “Shared · Layer n” (juga diedit produknya; publish ditolak bila pihak lain publish lebih dulu). Config yang tidak bisa diedit menyebut alasannya, atau menawarkan “Adopt” (Control Center mengambil alih kepemilikan config itu).

Dialog “New domain”: “Domain name” (mis. pembelian) → “Create”. Draft terbuka dengan revision 1 dan layer 3 terisi.

Publish bersama: centang kotak di baris yang punya draft terbuka → “Publish selected (n)” → konfirmasi “Publish …? They go live for every user of this company.”


4. Raw JSON (panel draft)

Dibuka dari “Open” di Config List atau “Raw JSON” di Domain Studio. Menampilkan seluruh config sebagai teks; tidak ada yang hilang di sini.

Elemen Fungsi
Judul Nama · jenis · “revision n” · “from published vN” atau “not published yet”
Kotak teks Isi config (JSON). Read-only bila draft sudah ditutup
“Save” Menyimpan teks. Ditolak bila bukan JSON valid (“The draft is not valid JSON: …”) atau bukan object
“Diff vs published” Tabel Path · Change · Published · Draft. “No changes against published.” bila sama
“Open in Domain Studio” / “Open in App Studio” Membuka editor visual
“Publish” Ditolak bila teks belum di-save: “Save your edits first: Publish sends the saved draft, not the text on screen.”
“Discard” “Discard the draft of …? The published config is not touched.”

Bila versi live berubah setelah draft dibuka, diff menampilkan: “The published config changed after this draft was opened, so publishing it would be refused. Discard this draft and open a new one: it starts from what is live.”


5. Layar Domain Studio

Bar atas: “Domain Studio”, nama domain · “revision n” · ”· unsaved changes”, status / error, tombol “Save” (aktif bila ada perubahan) dan “Raw JSON”.

Bagian di rail:

Grup Bagian Isi
“Definition” “Metadata” Identitas domain
“Model” Entity, attribute, index, relationship, tenancy
“Presentation” “Styles” Style per profile perangkat
“Structures” Form, list, dialog
“Execution” “Entrypoints” Entry point, binding, effect, events, libraries

Tata letak tiga panel (Model, Styles, Structures, Entrypoints): daftar di kiri · area kerja di tengah · inspector (kotak isian) di kanan. Lebar panel bisa ditarik dan diingat per editor.

Daftar kiri: judul bagian dengan tombol ”+”, kotak pencarian (“Search entities”, dll.), lalu baris dengan aksi “Rename” (✎) dan “Delete”. Menambah dan mengganti nama memakai dialog di dalam aplikasi yang meminta nama.

Aturan nama: diawali huruf atau _, lalu huruf, angka, _, . atau -. Nama yang sudah ada ditolak: ""x” already exists.” Mengganti nama tidak mengubah rujukan ke nama lama; editor menyebut pemakainya bila ada.

“Map: …” di area kerja: elemen Business Process Map yang diimplementasikan oleh elemen config ini; klik untuk membuka Process Studio di tab baru.


6. Bagian Metadata

Field Aturan
“ID” Id domain; bisa diubah
“Name” Kunci domain; read-only (publish dan pendaftaran aplikasi mencocokkannya)
“Layer” Read-only
“Version” Read-only; dinaikkan publish
“Description” Deskripsi singkat domain

Bagian “Draft”: “Created By”, “Revision”, “Updated By”, “Updated At”.


7. Bagian Model: entity

Daftar kiri: “Entities” dan “Relationships” (dapat dibagi dua dengan pemisah). ”+” menambah; dialog meminta nama. Menghapus entity: “Delete entity x? Relationships and screens that use it are not changed.”

Area tengah untuk entity terpilih: tabel “Attributes” (Name · Type · UI intent; tanda ”!” bila ada peringatan; ✎ rename, ✕ delete; ”+ Attribute”), lalu tabel “Indices” (Name · Columns · Unique; ”+ Index”). Tombol “Tenancy” di atas (lihat §9.3).

Inspector “Entity ”

Field Aturan
“Table” Nama tabel. Kosong = nama entity. Untuk entity detail, biarkan kosong agar baris detail tersimpan
“Database index” Array; entri pertama mengganti database publish, mis. [3]
“Primary key” Default id, kunci yang dipakai platform untuk menyimpan record. Boleh bukan attribute yang dideklarasikan (publisher membuatnya)
“GUID key” true: kunci VARCHAR(38) berisi GUID {…}; false / tidak diset: BIGINT bernomor otomatis. Disarankan dibiarkan OFF
“Generated (not read by the platform)” Database selalu membuat kunci
“Delete strategy” soft (menambah deleted_at / deleted_by) atau hard
“Tenanted” Data entity dibatasi per tenant (outlet). Bentuk { column } diedit di Raw JSON
“Append only” Record hanya bisa ditambah, tidak diubah
“Audit” Setiap perubahan record dicatat: siapa, kapan, dari mana, nilai lama dan baru
“Files per record” Record boleh membawa file (item attachments di form): maks 1–100
“File size (MB)” Maks per file (sampai 100)
“File types” Ekstensi tanpa titik: pdf, jpg, png, xlsx. Hanya PDF dan gambar dibuka di tab; lainnya diunduh
“Visible to (user attributes)” Attribute yang berisi user pemilik record (assignee, owner): scope own melihat record ini
“Team attribute” Tim pemilik record: scope team melihatnya
“Watchers entity” / “Watchers record attribute” / “Watchers user attribute” Entity berisi watcher (record + user): watcher melihat record
“Scopes per role” { "<ROLE>": "own" | "team" | "all" | "none" }
“Workflow” Workflow yang dijalankan entity ini: dimulai saat record dibuat
“State attribute” Attribute tempat workflow menulis state saat ini
“SLA entered at” / “SLA at risk at” / “SLA due at” Attribute datetime yang diisi workflow untuk SLA state
“Display attribute” Teks yang mewakili satu record: yang tampil dan dicari setiap lookup ke entity ini
“Label” Sebutan satu record (Ticket, Kontak), dipakai riwayat record dan audit log

Entity tanpa identity diberi peringatan: menyimpan record baru akan gagal sampai primary key diatur.


8. Bagian Model: attribute

”+ Attribute” → dialog “Attribute name”. Inspector ”.”:

Field Aturan
“Type” string, number, boolean, date, datetime, timestamp, blobRef
“UI intent” §15.2. hidden = tidak ditampilkan UI
“Label” Teks di form dan judul kolom list
“Column” Nama kolom; default nama attribute
“Size” Panjang string (default 120); untuk angka, presisinya
“Precision” Jumlah digit angka
“Scale” Jumlah desimal. Tanpa scale, angka menjadi kolom integer (currency mendapat scale 2 otomatis)
“Required” Wajib diisi; kolom juga NOT NULL
“Nullable” Mengganti efek Required pada kolom
“Unique” Nilai tidak boleh kembar
“Index” Index tunggal pada kolom ini
“Default value” JSON: 0, "today", true, …
“Default expression” Ekspresi default
“Choices” Pilihan dipisah koma (mis. Kopi, Susu & Dairy, Bakery); menjadi dropdown di form
“Paired with” Attribute pasangan di entity yang sama
“Lookup options” JSON opsi lookup
“Numbering: format” Database memberi nomor setiap record baru, mis. PR/{YYYY}/{seq:4} atau KK/{YYYY}/{MM}/{seq:4}
“Numbering: restarts” year, month, day, never
“Follows: lookup” Attribute lookup di entity ini; nilai attribute ini disalin dari record yang dipilih lookup itu (read-only)
“Follows: attribute” Attribute di record yang dipilih yang disalin
“Computed” Formula, mis. qty * harga, atau sum(<detail>.subtotal) atas baris detail. Read-only di form; dihitung saat user mengetik dan lagi saat simpan
“Description” Catatan

Menghapus: “Delete attribute .?”


9. Bagian Model: index, relationship, tenancy

9.1 Index

”+ Index” → nama. Inspector “Index ”:

Field Aturan
“Columns” Nama attribute, berurutan, dipisah koma
“Unique” Index unik
“Orders” asc / desc per kolom; DESC hanya berlaku bila semua kolom desc

Index yang ditulis sebagai list (bukan map bernama) ditampilkan apa adanya dengan catatan untuk memperbaikinya di Raw JSON.

9.2 Relationship

”+” di samping “Relationships” → nama (mis. rel_pr_line). Inspector “Relationship ”:

Field Aturan
“Type” one-to-many, many-to-one, one-to-one, many-to-many
“From (parent)” Entity induk
“To (child)” Entity anak
“Foreign key (on the child)” Kolom di anak yang menunjuk induk; publisher membuatnya
“Parent key” Default primary key induk
“Ownership” parent: anak disimpan dan dihapus bersama induk · shared (default bila kosong): tanpa hapus berantai · independent
“Order by” Attribute number di anak untuk urutan baris (mis. sequence_no)
“Lines start from: lookup” / ”…: line entity” / ”…: field map” Baris baru menyalin baris dari record yang dipilih lookup itu; field map hanya untuk nama yang berbeda
“Through: table” / “Through: from key” / “Through: to key” Khusus many-to-many
“Join type” inner, outer
“Join strategy” sql, extract, script. Default sql bila kedua entity satu database
“UI intent” Mis. collection untuk detail grid
Pola Pengaturan tipikal
Header–detail (PR dan barisnya) one-to-many · From header · To detail · Foreign key <header>_id · Ownership parent · Order by sequence_no · UI intent collection
Lookup (PR → supplier) many-to-one · From PR · To supplier · Foreign key supplier_id · Ownership shared · Join type outer

9.3 Tenancy

Tombol “Tenancy” (atau “Tenancy (none)”): entity mana di domain ini yang menjadi tenant (mis. outlet). Kosongkan untuk domain tanpa tenancy.

Field Default
“Tenant entity” —
“Code column” code
“Name column” name
“Type”, “Parent” —

10. Bagian Styles

Daftar kiri: “Styles”; ”+” → “New style name”. Menghapus menyebut pemakainya: “Delete style x? It is used by …”

Area tengah

Elemen Fungsi
Tab profile desktop, mobile, tablet, kiosk. Tanda ”·” = profile belum dideklarasikan
Profile belum dideklarasikan ”… is not declared: it uses the profile.” (atau “nothing resolves for it.”) + “Add profile”
“Remove profile” Menghapus profile itu
“Preview ()” Contoh teks dengan style
“Used by” Structure, item, dan tombol yang memakai style ini (“Nothing in this domain uses it.”)

Urutan cadangan profile: mobile → desktop; tablet → desktop; kiosk → tablet → desktop.

Inspector ”

Field Aturan
“CSS class” Digabung ke field
“Style” Properti CSS (key–value), disimpan persis seperti ditulis. Style berupa string CSS tetap string
“Props” JSON, digabung ke props field
“Expressions” Ekspresi Formly, mis. hide: "model.x !== 1"

11. Bagian Structures

Daftar kiri: “Structures” dengan tipe tiap structure; ”+” → “New structure name”. Menghapus menyebut entry point pemakainya.

Area tengah

Elemen Fungsi
Nama + “(form / list / dialog)” Klik untuk mengatur structure di inspector
Toolbar tambah Pilih “Item type” (atau “(layout group)”), isi “key (optional)”, ”+ Add”. Teks di sampingnya menyebut letak tambah: “at the end of the structure”, “inside …”, atau “after …”
Pohon item Klik item untuk memilih. Aksi saat disorot: ”+” (tambah di dalam, untuk container), ↑ / ↓ (pindah), ✕ (hapus; ”… and everything inside it”)

Inspector “Structure ”

Field Berlaku Aturan
“Type” Semua form, list, dialog. Selain list / dialog digambar sebagai form (kosong = form)
“Entity” Semua Entity yang ditampilkan
“Caption” Semua Judul layar
“Style” Semua Style bernama
“Filter” list Array baris filter
“Distinct” list —
“Buttons” list [{ icon, caption, styleRef, enabled }], mis. [{"icon":"add","caption":"Tambah"}]. enabled = ekspresi atas model
“Search” list true, atau { "columns": ["<key>"], "placeholder": "Cari…" }
“Print” list true, atau { "title": "…" }: tombol cetak baris hasil pencarian / filter
“OK caption”, “Cancel caption”, “Width”, “Height” dialog —

Inspector item — kolom list

Field Aturan
“Column (attribute)” Attribute yang ditampilkan
“Title” Kosong = Label attribute
“Hidden” Dibawa di baris (mis. id untuk navigasi), tidak ditampilkan
“Type”, “Style” —

Item tombol di list (row actions): “Row buttons” = [{ "icon": "edit", "caption": "Ubah" }, { "icon": "delete", "caption": "Hapus", "enabled": "model.canDelete" }]; binding menyebut tiap tombol dengan icon-nya.

Inspector item — form / dialog

Field Berlaku Aturan
“Key” Semua Attribute atau nama item
“Type” Semua §15.3
“Label” Semua Teks item; untuk tombol, juga nama emitter binding
“Style”, “CSS class” Semua —
“Template (HTML)” template —
“Icon”, “Variant” button Mis. icon save, delete
“Write scope” button true (entity layar) atau nama entity: tombol hanya tampil untuk yang boleh mengubah record-nya
“Relationship” repeat, bind, detail-grid Relationship header–detail
“Props” Semua JSON, mis. { "label": "…", "required": true }; kolom detail grid dan konfigurasi lookup ada di sini
“Expressions” Semua —
“Default value” Semua JSON

Contoh Props

Item Props
boolean sebagai checkbox {"showAsCheckBox": true}
lookup_combo {"lookup":{"table":"supplier","key":"id","display":"nama"}}
detail-grid {"detailKey":"purchase_request_line","addBtn":{"show":true,"label":"Tambah Baris"},"deleteBtn":{"show":true,"key":"__del_line","label":"Hapus"},"columns":[{"key":"nama_barang","label":"Nama Barang"},{"key":"qty","label":"Qty","type":"number"}]}

Untuk field yes/no di form, pakai item boolean, bukan bool (bool mengirim angka 1/0 sehingga simpan ke kolom boolean gagal).


12. Bagian Entrypoints: entry point, binding, effect

Daftar kiri: “Entry points” dan “Events”. ”+” → “New entry point name” / “New event name”.

12.1 Entry point

Inspector “Entry point ”:

Field Aturan
“Version” 2 = layar config-only. Tidak diset = versi 1
“Entity” —
“Structure” Default nama entry point
“Caption” Judul layar

Area tengah: “Event bindings” + ”+ Add binding”. Setiap binding tampil sebagai ” · → <n effects | handler>”, dengan ↑ ↓ ✕; klik untuk membuka effect-nya.

12.2 Binding

Inspector ” › ”:

Field Aturan
“Emitter” Yang memancarkan event: form, list, key field, atau Label tombol (harus sama persis)
“Trigger” §15.4
“Handler” lib.module.function — atau effects, tidak keduanya
“Watch key” Wajib untuk onCalc
“Args” §13.1 (untuk handler)
Emitter Artinya
list Baris list diklik (trigger onRowClick)
icon tombol list (mis. add) Tombol di “Buttons” list
Label tombol form (mis. Simpan) Tombol di form (trigger onClick)
form Form itu sendiri (mis. afterLoadData)
key field Perubahan field (mis. valueChanges)

12.3 Effect

Di binding terbuka: pilih tipe → ”+ Add effect”. Urutan effect = urutan eksekusi (↑ ↓). Inspector ” › effect ”:

Effect Field
SAVE “On success”, “On error”, “When the form is invalid” — masing-masing daftar effect (JSON)
DELETE “Record (from a list row)” ({ "$ref": "event.id" } di baris list; kosong di form), “Confirm” (kosong = bertanya; false = tanpa tanya; "teks" = pertanyaan itu), “Confirm button”, “Cancel button”, “On success”, “On error”
NOTIF “Message” ("teks", { "$const": … }, { "$ref": … }), “Level” (info, success, warning, error), “Sticky”, “Duration (ms)”
FORM_PATCH “Patch” — { field: value }
FORM_ERROR “Field”, “Message”
NAVIGATE “Route”, “Back to where it was opened” (route jadi cadangan bila layar dibuka langsung), “Query params”, “Reload”
OPEN_DIALOG “Entry point”, “Dialog config”, “Component”, “Model”, “UI profile”, “After closed: handler”, “After closed: args”

Format route: ["form" | "list", "<appId>-<entry point>", <id>], mis.:

Tujuan Route
Form record yang diklik ["form","supertail-supplierForm",{"$ref":"event.id"}]
Form record baru ["form","supertail-supplierForm","new"]
Kembali ke list ["list","supertail-supplierList"]

supertail = appId aplikasi.

Contoh effect bersarang

Binding Effect
Tombol Simpan → SAVE On success: [{"type":"NOTIF","level":"success","message":"Supplier tersimpan."}]
Tombol Hapus → DELETE Confirm Hapus supplier ini?, Confirm button Hapus, Cancel button Batal; On success: [{"type":"NOTIF","level":"success","message":"Supplier dihapus."},{"type":"NAVIGATE","route":["list","supertail-supplierList"]}]

13. Bagian Entrypoints: args, events, libraries

13.1 Args

Daftar argumen handler. Per arg: nama, jenis, nilai, ✕. “Add arg” dengan “new arg name”.

Jenis Isi Arti
value JSON Nilai tetap apa adanya
$ref path (event.x, form.x, ctx.x) + default (JSON) Membaca nilai saat runtime; gagal bila path tidak ada, kecuali ada default
$const JSON Selalu nilai itu
$select JSON { "from": {"$ref": …}, "paths": [ … ] } Mengambil sebagian field dari sebuah object

Sumber runtime: event.* (payload komponen, mis. event.value, event.id), form.* (mis. form.model), ctx.* (ctx.entryPoint, ctx.entity, ctx.entityId, ctx.uiProfile).

Mengganti jenis mempertahankan nilainya bila bisa (value menjadi default $ref; $const kembali menjadi value).

13.2 Events

Inspector “Event ”: “Handler” (lib.module.function; library-nya dimuat untuk domain) dan “Description”. Handler event muncul sebagai saran di field Handler binding.

13.3 Libraries

Tombol “Libraries (n)”: “Loaded for this domain’s screens: a library name, or a domain / module pair.” Isian nama library (atau domain + module), ↑ ↓ ✕, ”+ Add library”. Menghapus: “Remove this library?”


14. Kotak isian (field set) dan “Other keys”

Semua inspector memakai kotak isian yang sama:

Jenis isian Perilaku
Teks / angka Dikosongkan = key dihapus. Teks yang bukan angka di isian angka ditolak
Yes / No (slide toggle) Tiga keadaan: Yes, No, atau “not set” (“clear” untuk menghapus). Nilai yang bukan true/false ditampilkan read-only dengan catatan untuk diedit di Raw JSON
Pilihan (dropdown) “(not set)” + pilihan. Nilai di luar daftar ditampilkan “(not recognised)” dan tidak diubah
Pilihan terbuka Ketik bebas dengan saran (mis. Emitter, Trigger, Primary key)
Daftar teks Dipisah koma
Key–value Baris key + value, ✕, “Add”
JSON Diperiksa saat keluar dari kotak; JSON tidak valid ditolak

“Other keys (n) — kept as they are; edit them in the raw JSON panel”: key yang tidak dikenal editor, ditampilkan read-only dan tidak pernah diubah.

Di bawah setiap isian: pesan error, peringatan (§16), dan petunjuk (hint).


15. Daftar referensi

15.1 Tipe attribute

Type Kolom / pemakaian
string Teks (panjang default 120)
number Angka; desimal hanya bila Scale diisi
boolean Yes / no
date Tanggal
datetime Tanggal dan jam
timestamp Stempel waktu
blobRef Rujukan file / data biner

Tipe lain di-publish sebagai kolom BLOB (diberi peringatan).

15.2 UI intent

Kelompok UI intent
Teks shortText, longText, password, email, url, phone, barcode
Angka number, stepperNumber, spinnerNumber, decimal, percentage, currency, quantity, uom
Tanggal / waktu date, dateTime, time, period
Pilihan option, singleSelection, multiSelectList, multiSelectPicker, boolean
Rujukan lookup, multiLookup, collection, hierarchy
Tampilan saja readonly, label, statusBadge, approvalStamp
File / media fileUpload, fileDownload, attachmentList, imagePreview, video, signature
Lainnya geolocation, hidden (tidak ditampilkan UI)

decimal dan percentage butuh Scale; tanpa itu desimalnya hilang (diberi peringatan).

15.3 Item type structure

Kelompok Item type
Input input, number, integer, textarea, select, date, radio, check, boolean (bool: lihat §11), lookup_combo, lookup-mobile
Tampilan label, template, qr
Aksi button, workflow-actions (tombol workflow dokumen), record-audit (View Audit record), attachments (file record)
Detail / berulang detail-grid, repeat, bind, selection-list, field-matrix
Container accordion, tabs, sidenav, layout group (tanpa type)
Khusus card-grid, hierarchy-tree, resource-layout, session-calendar, report-grid, tile-board

Tipe lain diterima (pilihan terbuka) dan disimpan apa adanya.

15.4 Trigger binding

onClick, onRowClick, rowAction, afterLoadData, beforeLoadData, valueChanges, selectedRowChange, beforeEdit, afterEdit, onCalc (butuh Watch key), onTransitioned.

15.5 Effect

SAVE, DELETE, NOTIF, FORM_PATCH, FORM_ERROR, NAVIGATE, OPEN_DIALOG (§12.3). Tipe lain membuat binding gagal saat dijalankan.


16. Daftar peringatan

Peringatan tidak memblokir apa pun dan tidak mengubah nilai; ia menyebut apa yang akan dilakukan platform.

Letak Peringatan Arti
Entity “No identity: nothing fills the record key, so saving a new record fails. Set the primary key (id) — with GUID key on for a ”{…}” key — and the database generates it.” Atur Primary key
Attribute · Type “No type: the publisher recognises string, number, …; anything else publishes as a BLOB column.” Pilih tipe yang dikenal
Attribute · Scale “No scale: this publishes as INTEGER / BIGINT, so the decimals are lost. Set a scale (e.g. 2).” Isi Scale untuk decimal / percentage
Attribute · UI intent ""x” is not a UI intent the platform knows.” Pilih dari §15.2
Attribute · Computed Kesalahan formula (sintaks, tipe, konflik) Perbaiki formula
Relationship · Type “No type: the publisher treats it as one-to-many.” —
Relationship · Ownership “Not set: the publisher treats it as shared (no cascade delete).” Isi ownership
Relationship · From / To “Required.” / ""x” is not an entity in this domain.” —
Relationship · Foreign key “Required: the column on the child that points at the parent.” —
Relationship · Through “A many-to-many needs through { table, fromKey, toKey }.” —
Relationship · Order by ""x” must be a number attribute of “y”.” —
Relationship · Order by ”… has a GUID key, so its lines come back in random order: declare orderBy … or saving its lines is refused.” Tambah sequence_no
Binding “Required: what emits the event …” / “Required: which event of the emitter.” Isi Emitter / Trigger
Binding “Needs a handler, or effects.” / “A binding has a handler OR effects, not both; the client refuses it.” —
Binding “Required for onCalc.” Isi Watch key
Effect ""x” is not an effect the client knows; it throws when the binding runs.” Pilih dari §15.5
Style ""x” beside the profiles is not read: …” Taruh isian di dalam profile

17. Daftar pesan

Pesan Di mana Arti / tindakan
“Saved — revision n.” Domain Studio, Raw JSON Draft tersimpan (belum live)
“This draft was changed in another window or by another user. …” Domain Studio Catat perubahan Anda, muat ulang halaman, terapkan lagi
”… has unsaved changes. Save them before you go?” Saat pindah halaman “Save and continue” / “Leave without saving” / “Stay”
“Save your edits first: Publish sends the saved draft, not the text on screen.” Raw JSON Save dulu
“The draft is not valid JSON: …” / “The draft must be a JSON object.” Raw JSON Perbaiki teks
“The published config changed after this draft was opened, so publishing it would be refused. …” Diff Discard draft, buka draft baru
“No changes against published.” Diff —
“Publish … ? It goes live for every user of this company.” Publish Konfirmasi
“Discard the draft of …? The published config is not touched.” Discard Konfirmasi
“This draft was published as vN and is kept as a record — it cannot be edited. …” Draft lama “Edit current draft”
“This draft was discarded — it cannot be edited. …” Draft lama “Edit current draft”
“Create a domain first — a workflow belongs to a domain Control Center owns.” Config List, Workflows ”+” Buat domain dulu
“Adopt …? Control Center will own it, …” Config List Konfirmasi pengambilalihan config
""x” is not a usable name: start with a letter or _, then letters, digits, _, . or -.” Dialog nama Ganti nama
""x” already exists.” Dialog nama Ganti nama
“Delete entity x? Relationships and screens that use it are not changed.” Model Periksa relationship dan structure pemakainya
“Delete structure x? Entry points using it: …” Structures —
“Delete style x? It is used by …” Styles —
“The CLI is connected, but your sign-in was not verified. Sign in again.” Main Login ulang

Gejala umum di Biz-A Client setelah publish

Gejala Penyebab Solusi
Layar tidak berubah Browser belum di-refresh Refresh
Simpan gagal: column “aktif” is of type boolean but expression is of type integer Item form bool Ganti ke boolean + Props {"showAsCheckBox": true}
Simpan gagal: column “id” does not exist / id is required GUID key ON, atau kunci diubah setelah publish pertama Kunci tidak ikut berubah: isi Table dengan nama baru, GUID key OFF, publish ulang
Header tersimpan, baris detail tidak Table entity detail diisi nama lain Kosongkan Table
SAVE: declare orderBy on the relationship of … — nothing was saved Detail ber-GUID tanpa Order by Tambah sequence_no, isi Order by
Publish Application config ditolak: published config changed after this draft was opened Draft App Studio basi Discard, buka App Studio lagi