Sign Up
Loading...

CSV Import

Twidget enables seamless import of data from a CSV file into your database. Follow the steps below to successfully import a CSV file.

-

Step-by-Step Guide

  1. Initiate the Import:

    • Click on the Import button within the table toolbar.

    • Select Import from CSV from the dropdown.

  1. Open Import Dialog:

    • A new import dialog will appear.

    • Click on the Choose File button and select your CSV file from your local storage.

  1. 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.

  1. 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 List or Object.

  1. Create Missing Columns:

    • If your CSV contains columns not present in your database table, ensure to create these columns within your table before importing.
  2. Complete the Import:

    • Once all columns are appropriately mapped, click on the Import CSV button to finalize the import process.

Important Considerations

  • 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.

Related Topics

Adding Database Table Rows

In Twidget, you can easily add new entries (rows) to your database tables. This feature allows you to expand your data dynamically without the need for complex coding. This document provides a step-by-step guide on how to add rows to your database tables. Adding a New Entry to a Table. To add a new ...

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...

Authentication Table

An authentication table is a crucial component in Twidget that is used to store all necessary authentication information, essential for authenticating requests. Overview. - Purpose: To store authentication details such as email, password, token signature, and reset key. - Recommendation: It's recomm...

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...

Related Records

Include related information in the same result instead of adding a separate lookup for each record in a list. Example: orders with customers. Suppose your Orders table stores a `customerId`, and your Customers table contains the corresponding customer record. 1. Add Get Multiple Data and select Orde...