-
Notifications
You must be signed in to change notification settings - Fork 0
Data Management Guide
BizGrow features a comprehensive data management system that handles import, export, backup, and validation of your business data across multiple formats.
The Data Management system provides:
- Multi-format Import/Export - JSON, CSV, Excel support
- Intelligent Field Mapping - Automatic data type detection
- Data Validation - Comprehensive error checking
- Auto-backup System - Automatic backups on every change
- Manual Backups - Create restore points before major operations
- Template Downloads - Pre-formatted templates for easy data entry
BizGrow manages three core data types:
Customer relationship management data including:
- Personal information (name, email, phone)
- Company details
- Customer status (active, potential, inactive)
- Acquisition dates and sources
- Custom fields and notes
Income tracking data including:
- Transaction amounts and dates
- Revenue sources and categories
- Payment methods
- Customer associations
- Recurring revenue tracking
Expense management data including:
- Expense amounts and dates
- Vendor information
- Expense categories
- Receipt tracking
- Business expense classification
| Format | Extension | Use Case | Features |
|---|---|---|---|
| JSON | .json | Complete backups | Full metadata, nested structures |
| CSV | .csv | Spreadsheet data | Simple format, wide compatibility |
| Excel | .xlsx, .xls | Complex datasets | Multiple sheets, formatting |
- Click "Manage Data" button on the main dashboard
- Navigate to the "Import Data" tab
Choose from three options:
- Upload File - Import existing data files
- Download Templates - Get pre-formatted templates
- Manual Entry - Add data directly in the interface
// The import system provides:
{
fileValidation: true, // File type and size checks
dataPreview: true, // Review before importing
fieldMapping: 'automatic', // Intelligent field detection
errorReporting: 'detailed' // Comprehensive error messages
}
- Replace All Data - Clear existing data and import new
- Merge with Existing - Add to current dataset
- Preview Only - Review without importing
The import system validates data according to these rules:
// Required fields
name: string (required, min: 1 char)
email: string (optional, valid email format)
status: enum ['active', 'potential', 'inactive']
// Optional fields
phone: string (phone format validation)
company: string
acquiredDate: ISO date string
source: string
value: number (positive)
// Required fields
amount: number (positive, required)
date: ISO date string (required)
source: string (required)
// Optional fields
category: string
customerId: string (must match existing customer)
description: string
recurring: boolean
// Required fields
amount: number (positive, required)
date: ISO date string (required)
category: string (required)
// Optional fields
vendor: string
description: string
receipt: string (file path/URL)
businessExpense: boolean
- Complete Data - Full dataset with metadata
- Backup Ready - Can be re-imported without data loss
- Nested Structures - Preserves complex relationships
{
"version": "1.3.3",
"exportDate": "2024-01-15T10:30:00.000Z",
"customers": [...],
"revenues": [...],
"expenses": [...],
"metadata": {
"totalRecords": 150,
"dataRange": "2023-01-01 to 2024-01-15"
}
}
- Multiple Files - Separate CSV for each data type
- Spreadsheet Ready - Perfect for Excel/Google Sheets
- Header Row - Column names included
- Multi-sheet Workbook - Each data type on separate sheet
- Summary Sheet - Overview statistics and charts
- Formatted Data - Professional presentation
- Access Export Tab - Navigate to "Export Data" in Data Manager
- Choose Format - Select JSON, CSV, or Excel
- Configure Options - Date ranges, data types to include
- Download - Files are automatically downloaded
BizGrow automatically creates backups:
- On Every Import - Before new data is added
- Before Bulk Operations - When deleting multiple records
- Daily Snapshots - Automatic daily backups (if data changed)
- Version Updates - Before app version upgrades
Create restore points manually:
// Create manual backup
window.dataStore.createBackup('Before Q4 data cleanup');
// List available backups
window.dataStore.listBackups();
// Restore from backup
window.dataStore.restoreFromBackup('backup_id');
- LocalStorage - Stored in browser's local storage
- Download Option - Export backups as JSON files
- Automatic Cleanup - Old backups automatically removed (keeps last 10)
BizGrow provides pre-formatted templates:
name,email,phone,company,status,acquiredDate,source,value
John Doe,john@example.com,+1-555-0123,Acme Corp,active,2024-01-15,referral,5000
Jane Smith,jane@example.com,+1-555-0124,Tech Startup,potential,2024-01-10,website,3000
amount,date,source,category,customerId,description,recurring
1500.00,2024-01-15,Sales,Product Sales,cust_001,Q4 Product License,false
2500.00,2024-01-10,Services,Consulting,cust_002,Implementation Services,false
amount,date,category,vendor,description,businessExpense
120.50,2024-01-15,Office Supplies,Staples,Office materials,true
85.00,2024-01-12,Software,Adobe,Monthly subscription,true
- Download Template - Get the appropriate CSV template
- Fill with Data - Add your business data using the format
- Import Template - Upload the completed template
- Review & Confirm - Preview data before final import
The system performs comprehensive quality checks:
- Duplicate Detection - Identifies potential duplicate records
- Data Consistency - Validates cross-references between data types
- Format Validation - Ensures dates, emails, and numbers are properly formatted
- Completeness Check - Identifies missing required fields
When validation errors occur:
// Error response format
{
success: false,
errors: [
{
row: 5,
field: 'email',
value: 'invalid-email',
message: 'Invalid email format'
}
],
warnings: [
{
row: 3,
field: 'phone',
message: 'Phone number format not recognized'
}
]
}
- Auto-fix Suggestions - System suggests corrections for common errors
- Batch Updates - Apply corrections to multiple records
- Data Cleanup - Remove duplicates and standardize formats
For CSV/Excel imports, the system provides intelligent field mapping:
- Automatic Detection - Recognizes common field names
- Manual Override - Custom field mapping options
- Preview Mapping - See how fields will be interpreted
During import, data can be transformed:
- Date Format Conversion - Multiple date formats supported
- Currency Normalization - Convert different currency formats
- Text Standardization - Consistent capitalization and formatting
- Multi-select - Select multiple records for batch operations
- Bulk Delete - Remove multiple records at once
- Bulk Update - Apply changes to multiple records
- Bulk Export - Export selected records only
The data management system integrates seamlessly with BizGrow's analytics:
- Real-time Updates - Changes reflect immediately in charts
- Calculated Fields - Automatic calculation of derived metrics
- Data Refresh - Analytics update automatically on import
- Performance Optimization - Efficient data processing for large datasets
// File size limits
const MAX_FILE_SIZE = 10 * 1024 * 1024; // 10MB
const MAX_RECORDS = 10000; // Per import
- CSV Encoding - Use UTF-8 encoding for international characters
- Excel Versions - Ensure files are in .xlsx format (not .xls)
- Date Formats - Use ISO format (YYYY-MM-DD) for best compatibility
- Browser Limits - LocalStorage has 5-10MB limit per domain
- Large Datasets - Consider splitting large imports into chunks
- Browser Performance - Close other tabs during large imports
- Batch Processing - Large imports processed in chunks
- Progress Indicators - Visual feedback during long operations
- Background Processing - Non-blocking import operations
- Memory Management - Efficient data structures for large datasets
- Local Storage Only - All data stored in browser's local storage
- No Server Transmission - Data never sent to external servers
- Automatic Cleanup - Expired backups automatically removed
- Export Encryption - Optional password protection for exports (planned feature)
- Consistent Naming - Use consistent naming conventions
- Regular Backups - Create manual backups before major changes
- Data Validation - Always review import previews
- Template Usage - Use provided templates for consistency
- Import in Chunks - Split large datasets into smaller imports
- Regular Cleanup - Remove unnecessary historical data
- Optimize Exports - Export only needed data ranges
- Browser Maintenance - Clear browser cache periodically
- Validate Before Import - Check data quality in spreadsheet first
- Use Standard Formats - Follow template formats closely
- Regular Audits - Periodically review data for accuracy
- Backup Before Cleanup - Always backup before major data operations
Master your business data with BizGrow's powerful data management tools 📊