on 08-20-2015 10:48 PM
Hi fórum...
I have a SAP UI5 XML View and a JSON Model, the view show the value in a text component:
<Text xmlns="sap.m" id="iduser" text="{userapi>/displayName}"></text>
That´s correct, and show the value in the App,,,, "But i want to setting the value in a JavaScript Variable.... for use it in another thing.. i don´t know how to do it... "
I call the JsonModel from the index.html... and i want the variable there.
!!
var __displayName__ = this.getView().getModel("userapi").getData().displayName
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.