Skip to content

The open alternative to Salesforce, designed for AI.

3.3 KB
Raw Blame

Base documentation

UUID requirement

  • All generated UUIDs must be valid UUID v4.

Common Pitfalls

  • Creating a view without a navigationMenuItem associated. This will make the view available on the left sidebar.
  • Creating a front-end component that has a scroll instead of being responsive to its fixed widget height and width, unless it is specifically meant to be used in a canvas tab.

Best practice

Use the standalone Twenty CLI to generate supported entities:

twenty app add object --name invoice --name-plural invoices --create-view --create-navigation-menu-item --create-page-layout --no-input
twenty app add field --name amount --type NUMBER --object <object-uuid> --no-input
twenty app add logic-function --name send-invoice --no-input
twenty app add front-component --name invoice-panel --no-input

For other entity types, use the corresponding twenty-sdk/define export and generate UUID v4 identifiers. The SDK no longer supplies a CLI.