Tech Tip: Enabling Structure Modifications in Deployed Applications
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: May 16, 2025
When developing or maintaining a 4D application, you may need to modify the database structure after deployment—something not possible with a compressed .4DZ file, where the structure is protected. In 4D project mode, deploying an application as a compressed .4DZ file locks the structure, making it unmodifiable. This is great for production but problematic during development or testing when you need to:
- Add or alter tables using SQL commands (e.g., CREATE TABLE).
- Use REGENERATE MISSING TABLE() to sync the data file with an updated structure.
- <PackProject>False</PackProject>