Customization checklist and beta cautions
หมายเหตุ: บทความนี้ยังเป็นภาษาอังกฤษ เนื่องจากคำแปลภาษาไทยกำลังอยู่ระหว่างจัดทำ
Purpose
หัวข้อที่มีชื่อว่า “Purpose”Verify a customization — built through the Web Designer, the Metadata API, files/CLI, or Functions/Scripts/native TypeScript — before it reaches production.
Audience
หัวข้อที่มีชื่อว่า “Audience”Application developers, customizers, and reviewers preparing a release.
Prerequisites
หัวข้อที่มีชื่อว่า “Prerequisites”The customization is complete in a development or staging environment. See Work with metadata, Create extensions, and Add business logic.
Checklist before deploying a customization
หัวข้อที่มีชื่อว่า “Checklist before deploying a customization”- Check the naming prefix, app, model, and layer.
- Check dependencies whenever an object extends across apps.
- Preview the change set and read every destructive or high-risk diff.
- Test permissions with a real user account, not only an administrator.
- Test dynamic lookups when the source is empty, when it changes, and when the referenced record is deleted.
- Test a Function with
showOnCreatewhen norecordIdis available. - For an async Function, test HTTP/email rejection, service timeouts, non-success HTTP status codes, and explicit transaction boundaries.
- Back up
data.dbanddesigner.db. - If SMTP is configured, back up
.emu-secret.keyorEMU_SECRET_KEY_PATHseparately. - Confirm the Docker volume/network names for each deployment’s environment.
- Export the app/model package or keep the metadata files in source control.
See Back up databases, Understand database storage, and Operate Docker.
Cautions during beta
หัวข้อที่มีชื่อว่า “Cautions during beta”- Deleting metadata does not immediately delete the underlying physical business data; an orphaned table must be purged deliberately.
- Functions and Scripts are executable code — restrict who can edit them and review every change. See Develop Functions and actions and Develop Scripts.
- Lookups cap how many results load at once to avoid oversized dropdowns; design a dedicated search/picker for large datasets.
- Avoid reusing an artifact name across apps — the registry treats names as a global identity.
Related topics
หัวข้อที่มีชื่อว่า “Related topics”Metadata · Extensions · Web Designer · Testing · Security