on 2019 Dec 11 6:51 AM
Hello.
Unsure how to get a value that exists in another view.
I want to get the number of lists in the list output view from other views.
How can I create a global variable that can be handled between multiple views?
Thank you in advance.
Daisuke Hosokawa
Request clarification before answering.
Hi,
You can create a global model (with name) in the component -> this.setModel("<name>") It will be available in all controllers.
You can set/get properties in that model and use them using this.getOwnerComponent()
--> get/setProperty("")
For more reference..you can see any SDK sample codes.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
22 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.