Import and Export (Text Library)
The Import and Export functionality in the Text Library Settings allows you to transfer content between Doc Gen environments or systems.
This is useful for:
- Sharing predefined content with other environments or customers
- Moving configurations between projects
- Creating backups before making changes
All data is handled in JSON format.
Export Data
The Export Data feature lets you download Text Library content based on a selected scope.
Export scope
You can choose what to include:
-
All Data
Exports all text elements, groups, styles, and table styles -
Specific Groups
Export one or more selected groups- Includes all text elements within the group
- Automatically includes related styles and table styles
This allows you to share only relevant parts of your library.
How to export
- Go to Text Library → Settings → Export Data
- Select the Export Scope
- Choose All Data or specific groups
- Click Export & Download
- Save the
.jsonfile
The exported file contains all required metadata and relationships.
Import Data
The Import Data feature allows you to add content to your Text Library from a JSON file or raw JSON input.
Import methods
-
Upload File
Upload a previously exported JSON file -
Paste JSON
Paste JSON directly into the input field
How to import
- Go to Text Library → Settings → Import Data
- Choose Upload File or Paste JSON
- Provide the JSON data
- Click Import Data
- Review the imported content in:
- Text Library
- Groups
- Styles
- Table Styles
Import behavior
- Only JSON is supported
- Both legacy and new formats are accepted
- Legacy HTML formatting is converted automatically
- New IDs are generated for imported items
- Importing the same data multiple times may create duplicates
Best practices
- Export before making major changes
- Use group-based exports for sharing specific content
- Avoid importing the same file multiple times
- Review imported content to ensure correct structure
Related
- Text Library
- Groups
- Styles
- Table Styles