Exporting Entities
Learn how to export Objects, MFlows, MReports, MForms, and MData to JSON files
Exporting Entities
Export allows you to export entities (Objects, MFlows, MReports, MForms, MData) to JSON files for backup, migration, or sharing.
Export Types
You can export the following entity types:
- Object: Export Object definitions (schema, fields, relationships)
- MFlow: Export workflow definitions and configurations
- MReport: Export report configurations and queries
- MForm: Export form definitions
- MData: Export Object data records
Export Options
When exporting, you can choose what to include:
RELATED (Default)
Export the entity and all related entities. This includes:
- Objects: Related Objects through lookup fields
- MFlows: Related MFlows referenced in the workflow
- MReports: Related Objects used in reports
- MForms: Related Objects used in forms
Use Case: Export complete configurations with dependencies
ALONE
Export only the selected entity without related entities.
Use Case: Export standalone entities without dependencies
RELATIONSHIP
Export only the relationships between entities, not the entities themselves.
Use Case: Export relationship mappings only
Exporting Objects
Step-by-Step
- Select Entity Type: Choose "Object" from the dropdown
- Select Objects: Use the typeahead to search and select Objects
- Multiple Selection: You can select multiple Objects to export together
- Choose Export Option: Select RELATED, ALONE, or RELATIONSHIP
- Custom Filename (Optional): Enter a custom filename for the export
- Export: Click "Export" button
- Download: JSON file downloads automatically
Exporting Multiple Objects
When exporting multiple Objects:
- All selected Objects are exported in a single JSON file
- Related entities are included based on export option
- File contains array of export results
Exporting MFlows
Step-by-Step
- Select Entity Type: Choose "MFlow" from the dropdown
- Select MFlow: Use the typeahead to search and select a workflow
- Choose Export Option: Select RELATED, ALONE, or RELATIONSHIP
- Custom Filename (Optional): Enter a custom filename
- Export: Click "Export" button
- Download: JSON file downloads automatically
Exporting MReports
Step-by-Step
- Select Entity Type: Choose "Report" from the dropdown
- Select Report: Use the typeahead to search and select a report
- Choose Export Option: Select RELATED, ALONE, or RELATIONSHIP
- Custom Filename (Optional): Enter a custom filename
- Export: Click "Export" button
- Download: JSON file downloads automatically
Exporting MForms
Step-by-Step
- Select Entity Type: Choose "MForms" from the dropdown
- Select MForm: Use the typeahead to search and select a form
- Choose Export Option: Select RELATED, ALONE, or RELATIONSHIP
- Custom Filename (Optional): Enter a custom filename
- Export: Click "Export" button
- Download: JSON file downloads automatically
Exporting MData
Step-by-Step
- Select Entity Type: Choose "MData" from the dropdown
- Select Object: Choose the Object whose data you want to export
- Select Data Records: Select specific data records from the table
- Choose Export Option: Select RELATED, ALONE, or RELATIONSHIP
- Custom Filename (Optional): Enter a custom filename
- Export: Click "Export" button
- Download: JSON file downloads automatically
MData Export Notes
- Data Selection: You can select specific records or export all data
- Related Data: Related MData through lookup fields can be included
- Data Format: Exported as JSON array of records
Export File Format
Exported files are JSON format:
[
{
"mainEntity": { ... },
"relatedEntities": [ ... ],
"exportType": "MOBJECT",
"exportOption": "RELATED"
}
]File Structure
- Array Format: Multiple entities exported as JSON array
- Single Entity: Single entity exported as single object in array
- Metadata: Export type and option included in file
Export Best Practices
Before Exporting
- Verify Selection: Double-check selected entities
- Check Dependencies: Understand what related entities will be included
- Choose Appropriate Option: Select export option based on use case
- Use Descriptive Filenames: Use meaningful filenames for easy identification
Export Options Selection
- RELATED: Use when exporting complete configurations
- ALONE: Use when exporting standalone entities
- RELATIONSHIP: Use when exporting relationship mappings only
File Management
- Organize Exports: Keep exports organized by purpose
- Version Control: Include version or date in filenames
- Document Exports: Document what was exported and why
Related Introduction
- Importing Entities - Learn how to import exported entities
- Objects Introduction - Understand Objects that can be exported
- Workflows Introduction - Learn about workflows that can be exported