August 28, 2023

SDK-Defined Templates

Define templates directly in the frontend SDK

Developers can now define custom templates directly in the frontend SDKs. This is useful when users in your platform have different schema requirements. For example, a CRM might allow their users to configure additional required fields for each new customer. When users are importing new customers using TableFlow the required columns would vary based on this platform configuration. With SDK-Defined templates, developers can easily apply these requirements directly within TableFlow.

How to use it:

When embedding the the TableFlow importer, set the new template property to define the columns you want your users importing.

React SDK Example (docs):

<TableFlowImporter
  template={{
    columns: [
      {
        name: "First Name",
        key: "first_name",
        required: true,
        description: "The first name of the user"
      },
      {
        name: "Last Name"
      },
      {
        name: "Email",
        required: true,
        description: "The email of the user"
      }
    ]
  }}
  ...
/>

What's Next?

We're always looking for ways for TableFlow to make your CSV and Excel imports as seamless as possible. If you have any feedback, suggestions, or if you'd like to contribute to the project, reach out through our GitHub repository.

To the top
Background graphic with dots