Yes, when I repair and rebuild the fields appear but for some reason the fields are missing from the edit view, then when I repair and rebuild they come back
Hi @offshoreevolution, have you already checked for permission in your instance?
What kind of permission settings are you using in your config.php or config_override.php file?
If a custom dropdown field in AOS_Products disappears and then reappears after a Quick Repair and Rebuild, these are a few potential explanations:
1. Database Mismatch Fixed by Quick Repair
SuiteCRM stores custom fields in both the database (_cstm tables) and the metadata files (custom/modules/AOS_Products/Ext/Vardefs).
If the field was missing due to a database inconsistency, the Quick Repair process might have detected the issue and prompted you to execute SQL statements to fix the structure.
2. File System Caching Issues
SuiteCRM heavily relies on cached metadata (cache/modules/...).
If the dropdown field was removed or modified but the cache wasn’t refreshed, it might not have been visible.
A Quick Repair rebuilds metadata and clears cached field definitions, making the field reappear.
3. Permissions or File Corruption
If the dropdown field was missing due to permission issues on SuiteCRM’s custom files, a Quick Repair may have regenerated the necessary files and restored visibility.
4. Customizations Overwritten
If a recent deployment or customization affected vardefs.php or dropdowns, the field might have been temporarily lost.
The Quick Repair process ensures all definitions are reloaded from custom/ directories.
5. Dropdown Definition Wasn’t Loaded
The dropdown options are stored in custom/include/language/...lang.php.
If the file wasn’t loaded properly (due to cache issues or an incorrect modification), a Quick Repair may have forced SuiteCRM to reload it.