AnsweredAssumed Answered

hbs data not showing

Question asked by sugardeveloper11 on Oct 20, 2015
Latest reply on Oct 20, 2015 by sugardeveloper11
Hello,

I have followed the tutorial: 
<br>http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/UI_Model/Views/Examples/Passing_Data_to_Templates/<br>
but the vareiable does not show up.

Reference from the tutorial,
I have placed

        loadData: function (options) {        //populate your data
        myData=new Object();
        myData.myProperty = "My Value";
        this.myData = myData;
        this.render();
    },


after initialize function and in hbs 
{{#with myData}}{{myProperty}}{{/with}}

but nothing shows up,

Please advise, thanks!!

Outcomes