Database Imports
Import CSV data into a Twidget table.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (1:46)
Import CSV data into a Twidget table.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (1:46)Twidget enables seamless import of data from a CSV file into your database. Follow the steps below to successfully import a CSV file.
Initiate the Import:
Click on the Import button within the table toolbar.
Select Import from CSV from the dropdown.
Open Import Dialog:
A new import dialog will appear.
Click on the Choose File button and select your CSV file from your local storage.
Preview CSV Data:
After selecting your file, you will be able to preview the first 10 rows of your CSV.
This provides an opportunity to ensure your data looks correct before importing.
Map CSV Columns to Table Fields:
The dialog will automatically map CSV column headings to table fields if there is a match.
Any headings that do not match an existing table field need to be manually mapped by selecting the appropriate table field.
Headings not mapped or duplicated will be highlighted in red.
Note: You cannot import fields that are of type
ListorObject.
Create Missing Columns:
Complete the Import:
Automatic vs. Manual Mapping: While Twidget automatically maps matching column headings, ensure to review each mapping for accuracy.
Field Restrictions: Remember, List and Object fields cannot be imported. All other fields should be correctly mapped.
Pre-import Preparation: Verify and create any columns that are not currently existing in your table to make sure data is not lost during the import.
Save Changes Together
A Database Transaction groups database work so its changes complete together. If a command in the block fails, the block's changes are rolled back. Example: an order and its stock change. 1. Add Database Transaction to the workflow. 2. Inside Save changes together, add the supported commands that cr...
External Database Connections
Read records from an existing external database without copying all of its data into Twidget. Add a connection. 1. Select your workspace and open Settings → Database Connections. 2. Select Add database connection. 3. Choose the provider: PostgreSQL, MySQL, SQL Server or Snowflake. 4. Enter a connect...
Database Indexes
Indexes help Twidget find records quickly. A unique index also prevents duplicate values from being saved. Choose the right index. Use a lookup index for a field you regularly filter or sort, such as an order date. Use a unique index when a value must not appear twice, such as a membership number. A...
Database Storage
Managing your database storage effectively is crucial for ensuring optimal performance and cost-efficiency when using Twidget. Each entry within your database table utilizes a certain amount of storage space. Twidget provides intuitive tools to help you monitor and manage this storage. Viewing Datab...
Export Data from Tables
Twidget allows you to export data from your database tables to a CSV file. This feature supports the export of both complete and filtered datasets. Here’s how you can utilize this functionality: Features. - Format: Export data in CSV format. - Data Handling: Object and list data types within your ta...