Custom Field: Difference between revisions
(Created page with "ContactsLaw allows you to define") |
No edit summary |
||
Line 1: | Line 1: | ||
[[ContactsLaw]] allows you to define | [[ContactsLaw]] allows you to define '''custom fields''' for storing additional information on resources, such as [[Contact|contacts]], [[Matter|matters]], [[Document|documents]] and [[Member|members]]. You can then use the values stored in these fields to [[Create Document|create documents]] or make decisions in [[Workflow:Process|processes]]. | ||
== Resources == | |||
You can create custom fields on: | |||
* [[Contact|Contacts]] | |||
* [[Matter|Matters]] (using [[Workgroup|workgroups]]) | |||
* [[Document|Documents]] (using [[Document Type|document types]]) | |||
* [[Member|Members]] | |||
== Types == | |||
Fields can contain different types of values, including: | |||
* '''Text''' | |||
* '''Number''' | |||
* '''Date/time''' | |||
* '''Boolean''' (yes/no) | |||
* '''Choices''' (typically presented as a dropdown field) | |||
* '''Hyperlink''' (to another resource) | |||
=== Tables === | |||
Custom fields can also be used to represent a table of values, using the '''Table Row''' type. When you create the field, you determine the columns in the table, along with their name and type. Each of the field's values (on a particular resource) represents a row, and collectively they form a table. | |||
Such fields are presented in a more familiar form for editing. | |||
Various techniques can be used to access, filter and manipulate tables. These include: | |||
* In [[Expression|expressions]], you can refer to the value(s) in a particular column of a table (by name) using the ''Column'' function. | |||
** This can be combined with the ''Where'' function to filter rows, or the ''Each'' function to transform the values. | |||
* The ''Table'' function can be used to format the table using [[Markdown]]. | |||
* [[Workflow:Process|Processes]] have a dedicated action for updating tables ("''Update Table''"). This can be used to add a new row to a table, update specific column(s) on existing rows or delete rows according to some condition. |
Revision as of 13:48, 3 May 2024
ContactsLaw allows you to define custom fields for storing additional information on resources, such as contacts, matters, documents and members. You can then use the values stored in these fields to create documents or make decisions in processes.
Resources
You can create custom fields on:
- Contacts
- Matters (using workgroups)
- Documents (using document types)
- Members
Types
Fields can contain different types of values, including:
- Text
- Number
- Date/time
- Boolean (yes/no)
- Choices (typically presented as a dropdown field)
- Hyperlink (to another resource)
Tables
Custom fields can also be used to represent a table of values, using the Table Row type. When you create the field, you determine the columns in the table, along with their name and type. Each of the field's values (on a particular resource) represents a row, and collectively they form a table.
Such fields are presented in a more familiar form for editing.
Various techniques can be used to access, filter and manipulate tables. These include:
- In expressions, you can refer to the value(s) in a particular column of a table (by name) using the Column function.
- This can be combined with the Where function to filter rows, or the Each function to transform the values.
- The Table function can be used to format the table using Markdown.
- Processes have a dedicated action for updating tables ("Update Table"). This can be used to add a new row to a table, update specific column(s) on existing rows or delete rows according to some condition.