Andreas Dallner
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
10 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 10 months ago by Vitali Kurdasov. Reason: replaced "getId(" with "byId("