Guides
Keep fields read-only
Mark a mapped field as read-only with readOnly in the entity config, so the team can see the value in Clivly but cannot change it there.
Some values belong to your app, such as an email that a login depends on. Mark them read-only so the team can see them in the CRM but cannot change them there.
Mark the field
List the field in the entity's readOnly array. Every entry must also appear in
fields:
entities: {
participants: { concept: "contact", source: "participants",
fields: { name: "full_name", email: "email" },
readOnly: ["email"] },
}
The config check rejects any readOnly entry that is not in fields, so a typo
fails before it reaches the CRM.
Change the value
Change read-only values in your app, not in the CRM. The new value reaches Clivly on the next sync.
Check it
Run npx clivly status after the change. See
Entities & mapping for the full entity options.