Use Selected to Add Blank Record
To quickly add all selected records at once to the column configured with the ForeignKeys widget.
Last updated
To quickly add all selected records at once to the column configured with the ForeignKeys widget.
Last updated
When you need to assign multiple records to a column using the widget, it can be time-consuming to search for and select each record individually. The “Use Selected to Add Blank Record” function streamlines this process by allowing you to quickly add all selected records at once to the column configured with the ForeignKeys widget. This improves efficiency and ensures consistency when handling multiple entries.
Follow these steps to efficiently assign multiple records to a field using the “Add Blank Record” feature:
Open the List View:
Navigate to the to display all records from the table you’re working with. This view allows you to browse and interact with the data more easily.
Apply (Optional): Use the Filters panel to narrow down the records shown. This is helpful if you’re looking for specific entries based on criteria such as status, category, or date.
Access the Widget (if applicable): If you’re working from a Record List by ForeignKey section, you can also open the record list by clicking the List View icon directly from the widget. This will display records relevant to that specific relationship.
Select the Records:
In the list view, check the boxes next to the records you want to include. You can select multiple records at once.
Add a New Blank Record with Selected Entries:
At the top of the list, click the “Use Selected” dropdown and choose “Add Blank Record”. This creates a new blank record while associating it with your selected entries.
Assign the Selected Records in the ForeignKeys Field:
In the form where your ForeignKeys field is located. Click the “Load X Selected” button (where X is the number of selected records). All selected entries will now be automatically assigned to the ForeignKeys field.