Participant
1 year, 7 months ago
#40670
::
Hi Jan,
the variables of your module are stored in module context -> If you unload the module the context is destroyed as well. Values are stored in sap.ui.getCore().byId(“MODULENAME”).getModel(“variableHolder”).getProperty(“/”).
If you want to keep the values in app context you have to send the values via interface to the app and store it in the apps variables.
We do not recommend to reading/write data directly to the apps variable holder to have consistent api usage via the modules interfaces.
Kind regards,
Andreas
-
This reply was modified 1 year, 7 months ago by
Vitali Kurdasov. Reason: replaced "getId(" with "byId("