Bulk Edit Columns
Overview
Labii's "Bulk Edit Columns" feature streamlines data management by allowing users to edit one or more column data for multiple records simultaneously, making it an efficient tool for updating certain column data. This functionality saves time and reduces the tediousness of editing individual records, enabling users to quickly update specific columns across numerous records with ease, and thereby increasing productivity and accuracy in data management.
You can only change records you have permission to edit. Administrators, if you can't edit certain records, ensure you have granted yourself edit permissions in the workspace settings.
How to Use
- Go to Table List View: Navigate to the table you want to edit from side menu and click it to open the list view, which displays all the records in a tabular format.
- Select Records: Choose one or more records that you want to edit by clicking on checkbox. You can select multiple records by clicking on each record. You can also select all by clicking the checkbox in the title row.
- Open the Bulk Operations Panel: After selecting the records, the bulk operations panel will appear in front of the list.
- Click the "Bulk Edit" Button: In the bulk operations panel, click "Bulk Edit." From the dropdown, select "Columns" to open a window for making bulk edits.
- Perform Bulk Edit: In the new window, perform bulk edits on the selected columns based on the provided steps.
Step 1: Select target records
To begin the bulk edit process, you need to choose which records you want to edit. You have the following options to select the target records:
- Selected: Choose the specific record(s) you selected on the previous page.
- Page 1: Select all records displayed on the first page.
- All Active: Choose all active records in the table, which are currently in use or not archived.
- All Archived: Select all archived records in the table, which are no longer in use or have been stored for historical purposes.
- All: Select every single record in the table, including both active and archived records.
Click Next to continue.
Step 2: Choose one or more fields
You can select only the fields you want to edit, avoiding changes to any columns you don’t wish to modify. From the fields dropdown, choose one or more fields you want to update.
The dropdown also lists columns that do not appear in the form:
- Calculation columns: Formula, Numbering, RowCount, Consumption, and Column Calculation columns. Select one to recalculate its value for every target record.
- Columns with additional functions: ForeignKey and ForeignKeys columns. Select one to run its function for every target record.
Click Next to continue.
Step 3: Provide new values
In this step, a form with the selected fields will be displayed. To edit a field, simply provide the new value.
Some selected fields also display a checkbox. The checkbox is labeled with the column name followed by the name of the button that performs the same operation in the column, for example Customer: Update name. Bulk edit runs the operation on every target record when the checkbox is checked.
Update calculation columns
Each selected calculation column displays an Update checkbox, which is checked by default.
- Checked: Labii recalculates the column for each record and saves the result. The calculation uses the new values you provide in this step, so you can change a field and update the columns that depend on it in one bulk edit.
- Unchecked: Labii does not recalculate the column. If the column has a field in the form, the value you enter is saved as is.
If a calculation column has no field in the form, only its checkbox is displayed.
Run additional functions
Some column widgets provide an extra button next to the value in the record. Bulk edit can run the following functions, and each is unchecked by default:
| Column widget | Checkbox | What it does |
|---|---|---|
| ForeignKey | Update name | Refreshes the displayed name of the linked record, for example after the linked record is renamed. |
| ForeignKeys | Update names | Refreshes the displayed names of all linked records. |
How the function runs depends on whether you provide a value:
- Value provided and checkbox checked: Labii updates the field with the new value and runs the function on that value.
- No value provided and checkbox checked: Labii keeps the current value of each record and only runs the function. Records where the field is empty are not changed.
- Checkbox unchecked: Labii only saves the value you provide.
Functions run before calculations, so a calculation column that uses the field receives the refreshed value.
Click Next to continue.
Step 4: Start bulk editing
The editing process will commence automatically. Initially, the system will determine the number of records that require updates. A progress bar will be displayed to illustrate the overall progress.
Upon successful completion of all edits, you will be redirected to the previous page. If any errors occur, an error message will be displayed, providing detailed information about each affected record.
Predefined values
When used in conjunction with a workflow, you may want to autofill the step information. Please use the following fields to provide values for each step:
Values can be predefined for certain fields.
- target_records, one of the following: Selected, Page 1, All active, All archived, All, Filter, Query
- query_json, a JSON object containing the query parameters
- fields, list of fields to be edited, separated by ','.
<column_sid>__<action>,trueorfalse, check or uncheck the checkbox of a selected field. Useupdatefor a calculation column,update_namefor a ForeignKey column, andupdate_namesfor a ForeignKeys column, e.g.abc123__update_name=trueorabc123__update=false.- bHN6R2RhdGFud0ZP, provide form value for all fields need to be updated.
- MAZFNvXcgdMg, pass the parameter to auto submit the step if form already prefilled and contains no errors.
For example, if you want to convert a quote into an invoice and associate all invoice items with the newly created invoice, you can create a link that predefines this information and passes it to the “next” parameter of the invoice creation form. Once the invoice is created, the system will automatically redirect to the bulk editing interface to update all related invoice items.