Tour the ribbon, then add your own button
Most of what Codossier Office does is one click away, on the record you are already looking at. This guide walks the ribbons Codossier Office ships with, then shows how to change one in the ribbon designer, button by button.
Most of this blog is one click away, on the record you are already looking at.
What the ribbon is
- The bar of buttons at the top of every record. The built-ins (Cancel, New, Save, Delete, Deactivate or Activate) show only when you may use them; Manage Access and Subscribe are locked, so every person always has them.
- Each table adds its own: Matter (Take Legal Hold Snapshot, Prepare Matter, Find Deadlines, Legal), Document (New filing, Legal), Filing (a button for each step, shown by its status), Lead (Convert, Conflict clues), Email (New Matter from this email), Matter contact (Invite Contact to Rehearse), Conflict and Negotiation (spawn one from the other), Approval and Access request (Approve, Reject).
- A button runs an API message or a custom action, calls a web service from the server, or opens a page, a dialogue, the approval popup, Kuztom, an agent or a Coin skill.
- A menu button holds several items, or lists the table's Coin skills by itself, as Legal does.
- A Form ribbon sits on a record; a Main page ribbon sits above a table's list and works on the rows you tick.
- Ribbons are records, changed in Builder → Ribbons with no release. A saved change reaches open forms within about 30 seconds.
Good to know
- A button that shows is a convenience, never a permission: what it runs still checks the person's access and its own rules.
- To hide a button by the record's values, use its Show when; to hide it by role, use the table's form script.
- Need questions before the button runs? Point it at a dialogue. Need several steps? Point it at a workflow.
Before you start
- Anyone sees the ribbons of the records they open. To change a ribbon you need Builder → Ribbons: Global Administrators have it.
- We tour the shipped ribbons on invented records (a lease matter, a lead), then open the Matter ribbon in the designer and walk through every setting of a button. Nothing in this guide saves a change.
Part 1. The ribbons Codossier Office ships with
1A matter's ribbon
Open any matter. From the left, the built-ins show only when you may use them: Cancel, New, Save (greyed until you change something), Delete, Deactivate, then Manage Access (who is on the matter's team) and Subscribe, or Unsubscribe once you follow it. After them come the matter's own buttons: Take Legal Hold Snapshot asks first, then places a hold and freezes a copy of the matter. When the bar runs out of room, the last buttons fold into ⋯.

2The folded buttons: Prepare Matter and Find Deadlines
Press ⋯. Prepare Matter opens a dialogue that reads what the office holds about the matter and readies it for the case engine; it shows only while the matter is not prepared yet. Find Deadlines opens a dialogue that confirms the court and works out the matter's deadlines from its rules.

3The Legal menu: every Coin skill for a matter
Legal is a menu button. It lists the office's Coin skills for this table, read when it opens, so a skill published today is on the menu at once with no change to the ribbon. Picking one opens that skill's panel on this record.

4A document's ribbon: New filing and Legal
Open a document. New filing… opens the dialogue that starts a court or agency filing from this document. Legal lists the document skills (answer a complaint, answer their redline, check consistency, pull key terms, redline or review a document, summarize for the client). A filing then has its own ribbon, whose buttons follow its status: Seal, Unseal to change, Ask for approval, Approve or Reject, Send, Record as filed, Check with the service, The court's answer, File again and Cancel filing.

5A lead's ribbon: Convert and Conflict clues
On an open lead, Convert opens the Convert Lead dialogue: the people Codossier Office may already hold, then the contact, the company and the matter to make, in one go. Conflict clues lists names on other matters that look like this lead's; it only reads, so it never blocks anything. Convert has a Show when rule: it shows only while the lead is active, so it disappears once the lead is closed. Conflict clues always shows. The Leads list has its own Convert above the grid, for one ticked lead.

6For administrators: a table's access moves, in Builder → Entities
In Builder → Entities, open a table (here Matter) and choose Access. Reach pattern shows how people reach its records now (Roles only, Team Membership, Assignee, or Assignee and team) and lists the moves to get to another. Each move on its own has one button per move: Turn off or Turn on Team Membership, Add the assignee or remove it, make it an activity or stop, and keep global roles out or let them in. A padlock marks a move the table never allows (a Matter can never become an activity). Each button opens the move's own dialogue, which previews what will change before anything runs. The table's own record carries the same moves on its ribbon.

Part 2. Change a ribbon in Builder → Ribbons
The designer shows the ribbon exactly as the form will. Click a button in the strip to edit it, or + Add button for a new one. Nothing changes for anyone until you press Save.
7Builder → Ribbons: every ribbon, and New ribbon
The list shows each ribbon with its table, its Type (Form, on a record, or Main page, above the table's list), the form it belongs to (Every form, or one form) and how many buttons it adds. Click a row to open it in the designer.
New ribbon opens a picker: choose Form ribbon or Main page ribbon and find the table. A table that has one says Open; one that has none says New, and picking it creates the ribbon at once with the built-in buttons only.

8A button that runs an API message
Open the Matter ribbon and click Take Legal Hold Snapshot in the strip. Its settings:
- Label, Icon (one of the list), divider before it to start a group.
- When clicked: Run an API message, here LegalHoldApply. Its line under the box says what it does.
- Parameters: one row per input. A value is used as typed; Insert… adds a value filled when the button runs, such as the record's id.
- Runs as: The person who clicks by default, or a set account.
- Ask first: the question before it runs. When done: the message after.

9Add a button and choose what it does
Click + Add button, type its label (Open the court site) and press Enter. The new button is selected below the strip, with its Label, What it is (A button), divider before it and its Icon: click one of the icons to pick it. When clicked offers:
- Run an API message or Run a custom action on this record, on the server.
- Call a web service (from the server), with its method, address, headers and body; secrets stay on the server.
- Open a page, in Codossier Office or outside it, with record values in the address.
- Open a dialogue, Approve or reject an approval, Open Kuztom, Open an agent handed this record, or Open a Coin skill with its inputs filled.
Left on Nothing yet, the button shows greyed out on the form. For this button, pick Open a page.

10Finish the button: Open a page with a value from the record
Pick Open a page. In Page, type the address (https://courts.example.org/search?docket=), then use Insert… to add a value that is filled when the button is clicked: Field: Court Docket Number here, which adds {{record.court_docket_identifier}} to the address, so each matter opens its own case. Insert… also offers this record's ID, its table and the signed-in person's ID. The last box chooses New tab or Same tab. The line under the icons says in words what the button will do.
The icon picked here is the arrow out of a box, which says "opens elsewhere". With that, the button is ready to save; Show when, Ask first and When done stay empty, so it always shows and opens at once.

11Show when: a button only while it makes sense
Click Prepare Matter (under ⋯ in the strip). Its Show when holds one rule, a field and a test: Root Lode Is blank. The button shows while the matter is not prepared, and disappears once it is. You make such a rule with Add filter: pick the field, then the test (Is blank, Equals and the like) and a value when the test needs one. Add group mixes All and Any. The rule is the same kind of filter a view uses. It hides a button; it never replaces a role: what the button runs still refuses what does not fit.

12A menu that lists the table's Coin skills
Click Legal (under ⋯). What it is has three choices: A button, A menu of items (up to 15 buttons of your own under one name, such as Billing), or A menu of this table's Coin skills. For a skills menu, tick the kinds of result to list (An answer, A draft email, A draft note, Proposed changes, A new Word version, Proposed obligations), or none for every skill of the table.

13Validate, then Save
Validate checks the ribbon on the page: each key, label and icon, and each menu. Save has the server check it again, with its messages, custom actions and Run As accounts, and refuses it with every problem in words if anything is wrong. The badge says Ready when nothing is wrong, and Unsaved while you have changes. Once saved, open forms pick it up within about 30 seconds. Kuztom slides in from the right: describe the button you want and it proposes the change, which you apply or discard (each reply is a paid model call).

What next
- Build a dialogue and open it from a button: Dialogues and ribbon buttons.
- Run several steps from one button: Build your first workflow.
- Not sure a button is the right tool? Which automation tool?