Categories¶
Categories group your item blueprints, for example Sensors, Power or Tools, so tables of blueprints and items can be sorted and read by kind. Categories is in the sidebar. You need View only on Categories to open it, Create/Edit to create, edit, duplicate and import, and Create/Edit/Delete to delete.
Categories are a flat list: a category has no parent and no subcategories. Each item blueprint has one category or none, and every item takes the category of its blueprint. Keep them few and broad, and put finer detail in the blueprints' custom fields.
The list¶
The bar above the table shows Categories with the number of all categories, and Filtered with the number of rows the table shows now. Click Categories to show the whole list again.
| Column | What it shows |
|---|---|
| ID | The category's number, given when it is created. Always shown. |
| Thumbnail | The category's picture. |
| Name | The category's name. |
| Created on, Created by | When and by whom it was created. |
| Edited on, Edited by | When and by whom it was last changed. |
| Custom fields | One column per custom field, hidden until you tick it in Show columns. |
The table has the usual controls, explained in Tables:
- Search rows... finds categories by name, note or custom field value.
- Filter rows narrows by Created on and Edited on date ranges, and by custom field values.
- Show columns picks the columns.
- Import reads new categories from a CSV file (see Import).
- Export filtered rows downloads the rows that match as a CSV file.
On the right of the toolbar:
- Edit custom fields opens the custom fields every category has (see Custom fields).
- Edit default thumbnail sets the picture a new category starts with (see Records).
- New category opens the form for a new category.
Click a row to open the category. Each row also has two buttons:
- Duplicate opens New category filled in from this one.
- Delete deletes the category. It is greyed out while the category is in use (see Deleting a category).
The list has no row selection and no bulk actions.
New category¶
- Click New category.
- Type a Name.
- Optionally pick a Thumbnail, write a Note and fill in the custom fields.
- Click Save.
The new category opens on its Overview tab.
| Field | What it does |
|---|---|
| Name * | The category's name, up to 120 characters. It must be unique among categories, ignoring upper and lower case, and it cannot be an email address. |
| Thumbnail | A picture shown in tables and on the record. A new category starts with the list's default thumbnail, if one is set. |
| Note | Free text. Search finds it. |
| Custom fields | One field per custom field set with Edit custom fields. |
Duplicate fills the form with the name plus "(copy)", the thumbnail and the note. Custom fields start empty.
The category record¶
A category has the record tabs every record has: Overview, Edit, History, Gallery and Files. They work as described in Records.
The Overview tab shows the Name, Created on, Created by, Edited on, Edited by, the Note and the custom fields, with the thumbnail beside them. Its Delete and Duplicate buttons work as the row buttons do.
Where categories are used¶
You give an item blueprint its category in the blueprint's Category field (see Item blueprints). Its items show the same category: an item has no category of its own.
Tables of items and blueprints have a Category column, which you can sort by. It also appears on a location's Stock & Map tab.
Deleting a category¶
You can delete a category only while no item blueprint uses it. Until then, Delete is greyed out in the list and on the record. To delete it, first give its blueprints another category, or none.
A deleted category goes to Restore deleted, where an admin can bring it back.
Custom fields¶
Edit custom fields opens the list of extra fields every category has, such as a code or a responsible person. They appear on the form and the Overview tab, as hidden columns in the list, and in Filter rows. See Custom fields.
Import¶
Import creates categories from a CSV file. In the Import window, Select template picks what the file holds:
- Categories: one new category per row.
- Custom fields: the custom field definitions of the list (see Custom fields).
The Categories template has these columns:
| Column | What it takes |
|---|---|
name * |
The category's name. It must be unique. |
note |
Free text. |
cf_... |
One column per custom field. A checkbox field takes true/false, a date field a date in the app's date format, a dropdown or radio field one of its options. |
The import only creates categories. A row whose name is already taken is refused. How files are read and how errors are reported is explained in Import from CSV.
