Import/Export
Share Graytool configuration across environments and team members.
Export
How To
- Go to Settings → Click "Export"
- Configuration downloads as a JSON file
- Filename:
graytool-config.json
Exported Content
The export includes the full configuration:
{
"version": 2,
"urlPatterns": [...],
"buttons": [...],
"globalFieldConfig": {...},
"settings": {...}
}
info
Search history is not included in exports. Only configuration data is exported.
Import
Import from File
- Go to Settings → "Import" section
- Click "Choose File" and select a previously exported JSON file
- Click "Import"
Import from Text
- Go to Settings → "Import" section
- Paste JSON configuration into the text area
- Click "Import"
Import Behavior
- Existing configuration is completely replaced (overwritten)
- Invalid JSON is rejected
- Success/failure status message is displayed
warning
Import deletes your current configuration. We recommend exporting your current configuration as a backup first.
Sharing Configuration
Team Sharing
- Team lead creates configuration and exports it
- Shares the JSON file with the team (Slack, email, Git repo)
- Team members import the file
- Everyone uses the same buttons and settings
Environment-Based Configuration
You can create separate configuration files for different environments:
graytool-config-production.json
graytool-config-staging.json
graytool-config-development.json
V1 → V2 Migration
Old format (v1) configuration files are automatically converted to v2 format during import:
paramMapping→fieldBindingsconversion- URL structure (
baseUrl+route) → URL template conversion - All buttons set to "show on all patterns" mode
- Button names and conditions are preserved