User Guide
11.4 · Master Library

Import / Export `.masterlib` Files

Share your master library between TX1 installations using .masterlib (SQLite) or .json files.

Exporting the Library

  1. Admin → Master Library → Export.
  2. Choose a format:
  3. .masterlib (SQLite) — binary, compact, retains exact structure.
  4. .json — human-readable, good for review and diff.
  5. Choose options (below).
  6. Save the file.

Export Options

OptionEffect
IncludeResourcesMaster resources.
IncludeTemplatesMaster templates.
IncludeFoldersResource folders.
IncludeTagsTags and mappings.
ScopeFilterGlobal only, Organisation only, or both.
TypeFilterLimit to specific resource types.
FormatSqlite or Json.

Importing a Library

  1. Admin → Master Library → Import.
  2. Select the .masterlib or .json file.
  3. Validate — TX1 checks the schema and checksum.
  4. Preview — shows what will be created / updated / skipped.
  5. Apply.

Import Options

OptionEffect
ConflictResolutionSkip / Overwrite / Rename / Fail.
TargetScopeImport as Organisation or Global.
ImportResources / Templates / Folders / TagsPer-asset toggles.

Preview First

PreviewLibraryFileAsync(path, options) returns a preview without changing anything. Use it to audit an import before running it.

Schema Version

Each file carries a SchemaVersion. TX1 refuses imports from future versions (forward-incompatible) and upgrades older versions on-the-fly (backward-compatible).

Checksum

Files include a checksum. Tampered or corrupt files are rejected at validation.

Selective Export

ExportSelectionAsync — export only the resources / templates you select (e.g. a specific trade package to share with a partner).

Project-Level Import

ImportToProjectAsync imports library content as project resources, not master resources. Useful when you want to use a master library's content in a one-off project without polluting the organisation library.

Portability Between Organisations

.masterlib files are fully portable. Scenario: parent company ships a library to a subsidiary. The subsidiary imports, gets the same rate cards and templates, and their projects can link back to the imported masters.

Keeping Libraries in Sync Across Sites

Without a shared database, TX1 can't auto-sync libraries. Workflow:

  1. Parent admin exports weekly to a shared drive.
  2. Subsidiary admin runs Import, chooses Overwrite conflict resolution.
  3. Each project's linked resources pick up changes via normal sync.