CRM, data, and object reference

Buttons

Add actions to an object's records — the built-in Create, View, Edit, Delete, and Share buttons every object starts with, plus custom buttons that create related records, run a Flow, or generate and send documents.

What is a button?

A button is an action a user can trigger from a record's header or from a list view — creating a record, opening it, deleting it, running a Flow, or generating and sending a document. Every object starts with a fixed set of buttons, and you can add more from a chosen set of action keys.

Where to find it

Go to Setup () → Objects, open the object, and select its Buttons area to see and manage its buttons.

A button's page has a header card with its label, pills for its object and Active or Inactive, and its buttons (Edit Page on Create buttons, Edit, Delete on custom buttons; while editing Save and Cancel). Under it, each section is a card: Details, Assigned Variants, Prefilled Field Values (Create buttons), Flow (flow buttons) and Definition (JSON). The header's buttons stay on one line; when the window is too narrow, the ones that don't fit move, in the same order, into a ⋮ button at the end of the line.

Starting buttons

Every object automatically gets five buttons when it's created:

  • New (action key Create) — appears in list views; opens a modal to create a record.
  • View — opens the record.
  • Edit — switches the record into edit mode.
  • Delete — deletes the record. As a List button, deletes the records ticked in the list, on the object's own list and on a Related Records list alike.
  • Share — opens a sharing modal for the record.

Adding a custom button

From the Buttons list, add a new button by giving it a Label and choosing an Action Key. For Create, Delete and Flow you also choose a Display Context — Record or List, where the button appears — and for every button whether it's Active.

A List button is shown above a list of records: on the object's own lists once a list chooses it (the list's gear → Buttons, see Record Lists: Choosing a list's buttons; a list whose buttons were never chosen shows only New), and on a Related Records list on a record page once you add it there in the page builder. Above a list, Create opens the new-record form, Flow runs the flow with the records you ticked, Delete deletes the records you ticked (it asks first, and tells you how many were deleted), and Power Dial calls them one after the other. Delete and Power Dial clicked with no record ticked say Select at least one row. Power Dial is always a List button: the dialog doesn't ask for its Display Context. View, Edit, Create Child Record, Generate Document, Send PDF and Send for Signature work on one record, so they are always Record buttons: the dialog doesn't offer List for them, and the API refuses it.

A Record button is shown in a record's header and in the ⋮ of each row of a list, on the object's own lists and on Related Records lists. From a row, every Record button works on that row's record as it does on the record page: View, Edit and Delete act right there; Send PDF, Generate Document and Create Child Record open the record with that button's window open, and nothing happens until you confirm it there; a Flow runs right there with that row's record (a guided flow opens its screens over the list). Send for Signature opens its window right on an object's own list, and from a Related Records row it opens the record with the window open.

Label, colors and visibility where a button is shown

Where a button is placed, it can be given its own look and audience without changing the button itself. On a record page, that's the Record Header's buttons in the page builder (see Record Pages); on a list, the list's own Buttons (see Record Lists). The gear button beside a chosen button opens Configure Button, which names the button at the top (Button: and its name), with:

  • Label Override — what the button says there.
  • Button Color and Text Color — picked with the app's color picker; its Default swatch puts a color back to the app's own, and Reset to Default under the two colors puts both back at once. On hover a colored button follows its own color: a bit darker, or a bit lighter for a very dark color like black, with a shadow in the same color.
  • Conditional Visibility — who sees the button there. On a record page a condition can use the record's fields, the current user's fields and their Permission; on a list, which has no single record, the current user's fields and their Permission. A condition's field reads from the object, for example Account > Current User > Title, and a button with conditions says Has Conditional Visibility under its name in the list of chosen buttons.

None of these lets anyone do more: a button still shows only to people who can use it. A Button Color or Text Color that isn't a color, sent through the API, is refused on save with a message that names the button, for example The Button Color of “Call Now” isn't a color. Pick one with the color picker.

Action keys

  • Create — opens a modal to create a new record of this object.
  • View — opens the record.
  • Edit — switches the record into edit mode.
  • Delete — deletes the record. As a List button, deletes the records ticked in the list, on the object's own list and on a Related Records list alike.
  • Flow — lets the user pick and run a Flow from the button, offering only active Flows with a Manual or Guided UI trigger that the user's Permission allows them to run (its Flows tab).
  • Power Dial — calls the records ticked in a list one after the other, above the object's own lists and above a Related Records list on a record page alike, with the Power Dialer (see Phone: Add a Power Dial button). It's always a List button, and only for an object with a phone field: saving it on an object without one is refused, saying so. It's shown only to people with Calls: Use and Calls: Power Dialer while calls are in use, and not while the object has no phone field. No object comes with one.
  • Create Child Record — opens a modal to create a related record on a child object you choose, through a relationship field that points back at the parent. The modal is titled with the button's label (for example New Contact Here). After Save, a green message says the record was created, and the record page's related lists show it right away. It always appears on the record itself — it cannot be placed on a list. Its Record Variant (shown on the button's page, starting on the child object’s default) is the variant of the records it creates; add Record Variant to its Edit Page layout to let the user change it there (the variants they can use). Changing it in the modal clears values the new variant doesn’t offer, prefills included, and keeps the rest. Saving the button refuses a typed picklist prefill its variant doesn’t offer; a Create button’s prefills are checked against each variant it’s assigned to.
  • Generate Document — generates a PDF from a Document Template and saves it as a file on the record. Any kind of template works (built in Kraftter, a Word file or a PDF), once it has been published; templates that were never published aren't offered. The document is printed from the template's published version.
  • Send PDF — generates a PDF from a Document Template and emails it to chosen recipients. Like Generate Document, any kind of published template works, and the PDF is printed from the template's published version. The email goes out from your own email address, like Send Email. Recipients from the template's defaults are found the same way as for Send for Signature, and a recipient who can't get the email is listed and keeps Send off. A green PDF email sent successfully message confirms it.
  • Send for Signature — sends a document out for e-signature, with routing, expiration, and one-time-code options. The invitations to sign, and the notices sent when you void the request or remove a signer, come from the email address of the user who sent it. It lists only the packets that fit the record, and works the same from a record page and from a list row. A participant without an email address blocks the send, and every one is listed (see Signing packets). A green Sent for signature successfully (or Packet sent for signature successfully) message confirms it.

See Document templates and Signing packets for how those templates and packets are built.

Modal layout

Create and Create Child Record buttons use Edit Page on the button's detail page to configure the fields shown in their modal, arranged in a two-column drag-and-drop layout. Other action keys have no configurable modal layout, so Edit Page is not offered for them. For the Activity object specifically, the layout can be configured separately per activity type and per record variant.

Prefilled Field Values

Create and Create Child Record buttons only. Default a field's value even when that field isn't shown in the button's modal, so the person creating the record never has to fill it in:

  • Static value — a fixed value you set once. For a relationship field, you supply the target record's Id and its object.
  • Reference a related field — copies a value from the record being created or from a related record, drilling into relationships up to 2 hops away with a breadcrumb field picker. Only fields whose type is compatible with the target field are offered.
  • Formula — computes the value from a formula expression, evaluated once the moment the create form opens (so TODAY() reflects the actual moment of opening). Uses the same functions and operators as Formula fields — Logic: IF, AND, OR, NOT, FirstNotBlank, IsBlank; Text: Text, Concat, Lower, Upper, Trim, Length, Left, Right, Substring, Contains, Find, StartsWith, EndsWith, Replace, UrlEncode; Numbers: Number, Abs, Round, Floor, Ceil, Min, Max, Negate; Dates: Today, Now, Date, Year, Month, Day, AddDays, AddHours, AddMonths, AddYears, DaysBetween — but unlike a Formula field's expression, it cannot reference any field; it can only combine literal values and these functions.

If a hidden required field can't be resolved because the submitting user doesn't have read access to it, the record is blocked from being created with a generic message rather than naming the field; if it resolves to a genuinely blank value instead, the specific field is named.

A prefilled field the user isn't allowed to edit is still saved, as long as it keeps exactly the value this button prefills. Any other value for that field is refused like any edit the user isn't allowed to make.

Field Rules

Create and Create Child Record buttons only. Configure per-field Conditional Required, Conditional Read Only, and Conditional Visibility rules — the same condition engine used on Record Pages, evaluated live as the user fills out the modal. A condition can compare a field on the record being created, or a field on the current logged-in user, each optionally one relationship hop out. For a Create button, the rules apply in the list view's New Record modal.

A field that is already required in its own field definition shows Required checked and locked in the Field Rules popup, since a button rule can't make it optional.

Edit, Delete, and Share

On a record page, the Edit, Delete, and Share buttons appear only when the user can use them on that specific record — their Permission allows the action and the record's sharing gives them enough access. See Permissions.

Assign Variants

Choose which Record Variants a button is available on.

Before adding a button

  • Confirm the action key matches what should happen when the button is clicked.
  • For Create Child Record, confirm the relationship field you choose actually points back at the parent object.
  • Test any Prefilled Field Values with a real record to confirm each reference chain resolves the value you expect, and validate each formula default to confirm it computes correctly.
  • Test Field Rule conditions by changing the values they depend on, so you can see required, read-only, and visibility behavior before relying on it.
This guide is part of the Kraftter documentation V1. Visual walkthroughs and examples are coming in a future update.