Skip to main content

Create new field

  1. In VS Code - open the file fields/index.ts and add one more field at the end
{
caption: 'Is billable',
name: 'c_is_billable',
renderType: 'bool',
},
  1. In VS Code - open views/layouts/dashboard.xml and add this field to the layout of the 1st column:
<field name="c_is_billable" />
  1. Test-drive installation of the modified app by running this command (note "i" is an alias for "install"):
npx comind i app-basic-timelog WORKSPACE_ALIAS_HERE
  1. See the new field appeared in the timelog form:
Timelog new field