Reset resource cache
When creating a private derivation from the ODE Designer, one may change designer application resources while testing the designer with another development database. Since GUI resources are cached when being read once, those will not be updated when e.g. reopening a form. On the other hand, it is not very comfortable restarting the designer after each change made. Hence the reset cache action has been provided in order to remove GUI resources from cache. In order to reset the cache, Services/Reset Cache has to be selected from the main menu.
This is not a standard action, but has been implemented on the ODE project context, Since the feature is also useful when testing GUI applications, one may implement a corresponding action in the project context (see example below), which might be called by an event action activated by key sequence (hidden action) or via menu item as long as testing the application.
The function also removes OSI functions from the dictionary cache, which also will be reloaded when being requested, again. Since dictionary resources do not got an indication for being in use, it may happen, that OSI functions are removed, which are still in use, which may cause abnormal termination of the application. Hence, the function should never be called in a production environment.