Dear Jmix Team
In the documentation on Application Settings :: Jmix Documentation is the dataManager.save(appSettings); missing in the sample at the bottom.
Regards
Felix
Dear Jmix Team
In the documentation on Application Settings :: Jmix Documentation is the dataManager.save(appSettings); missing in the sample at the bottom.
Regards
Felix
Hi,
AppSettings is a bean for getting settings in the application code. It cannot be saved. The code in the example is correct. It shows how to initialize an entity with default values obtained using the application settings add-on feature. Pay attention that the entity is initialized in the InitEntityEvent handler, i.e., before the entity is added to the InstanceContainer and should not be saved manually.
Regards,
Gleb