2016-04-27 12 views

Antwort

0

Wenn Sie Daten von einem anderen Modul dann möchten, rufen Sie eine API in JS-Controller wie folgt.

app.api.call('GET', app.api.buildURL('Accounts/' + this.model.attributes.accounts_lab_coc_1accounts_ida), null, { 
      success: _.bind(function (response) { 
       //response comes back from your api, maybe you want to set some value on your model or alter a response? 
       console.log(response); 


        } 
       }, this); 

      }, this) 
     }); 

    }, 
+0

Ich versuche, die Daten mit Rest API in Sugarcrm online zu holen, aber ich bekomme keine Antwort – rajju