Register

CSV Importer

An Add-on Module for Foundry Virtual Tabletop

Author: Bolts Project Source Foundry Versions 13+ (Verified 13) Last Updated 1 month, 3 weeks ago

A Foundry VTT add-on module that allows importing data from CSV and TSV files to compendium packs.

How it works

Adds a header menu option for GM users to unlocked compendium packs that opens a dialog for importing tabular data to the compendium pack.

Import data should be a CSV or TSV file with the first row as a header. This file is parsed using the papaparse library and then each row is passed as context to handlebars for rendering with the pack metadata added to the context object as _metadata. The template file should be a handlebars template that renders to JSON data suitable for document creation.

An example template and csv file are included in the example directory of the module.

Module Configuration

The Allow system and module packs option controls whether the menu will be available for non-world compendiums. Defaults to off.

Warning
Data imported to system or module compendiums will be overwritten if that package updates. This feature is intended for developers or use with personal content modules.

Categories

Available Versions

  1. Version 1.0

    1 month, 3 weeks ago
    Foundry Version 13+ (Verified 13) Manifest URL Read Notes