Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi there,
I use next code to get an envrironment value :
AppDefinition appDef = (AppDefinition) getProperty("appDefinition");ApplicationContext appContext = AppUtil.getApplicationContext();EnvironmentVariableDao environmentVariableDao = (EnvironmentVariableDao) appContext.getBean("environmentVariableDao");EnvironmentVariable archiveRepository = environmentVariableDao.loadById("archiveRepository", appDef);
I have 2 versions of my App on my computer (version 1 and 2). When version 2 is published I get the variable of my unpublished version 1 ...
Any idea of what could it be ?
Cheers,
Matthieu.
I got it fixed doing this :
public Object execute(Map props) {
...
AppDefinition appDef = (AppDefinition) props.get("appDef");
Hi there,
I use next code to get an envrironment value :
I have 2 versions of my App on my computer (version 1 and 2). When version 2 is published I get the variable of my unpublished version 1 ...
Any idea of what could it be ?
Cheers,
Matthieu.