Hey Muyan community!
Whether you’re a seasoned pro or just getting started, efficient data import is crucial for making the most of our low-code platform. To help you out, we’ve put together this handy cheat sheet with all the essential tips and tricks for smooth data importing.
File Naming: Keep it simple! Use the class name without the package (e.g., Contract.csv).
Field Types:
- Query Fields: Mark with () - e.g., name()
- Dynamic Fields: Use (#) - e.g., Tags(#)
- Associated Objects: Dot notation is your friend - e.g., ownerOrganization.name
Special Columns:
- Want to mark something for deletion? Use ‘Y’ in the DELETE_FLAG column.
- Need to add comments? Start lines with a semicolon (;).
Data Formats:
- Dates: “yyyy-MM-dd HH:mm:ss”
- Booleans:
- True: ‘Y’, ‘Yes’, ‘TRUE’, ‘1’
- False: ‘N’, ‘No’, ‘FALSE’, ‘0’
- Root Org Placeholder: $ROOT_ORG$
System Limits: Keep your files under 100 MB.
Best Practices:
- Always set query fields to avoid duplicates
- Test imports in non-production environments
- Regularly check ImportRecord logs
- Consider object relationships when planning imports
Import Methods:
- Automatic import on system startup
- Manual import from domain list page
- Reload or import seed data
Remember: In Muyan, everything is data - from user roles to business logic. It can all be imported!
Pro Tip: Always test your imports in a non-production environment first. It’s better to catch any issues before they hit your live system!
Got questions or want to share your own import tips? Drop them in the comments below!
For more detailed info, check out our full documentation at Data Import | Muyan AI+ Low Code Development Platform
Happy importing, everyone!