AnsweredAssumed Answered

How to make  .fetch() method synchronous ?

Question asked by Shijin Krishna on Jun 22, 2015
Latest reply on Jun 23, 2015 by EvilPeri EvilPeri
Hi All,

We can pass async:false to app.api.call() mehtod. Similarly is there any way to make .fetch() method synchronous.

For example I want ot synchronously fetch all notes using .fetch method as below.

var notes = app.data.createBeanCollection('Notes');
notes.fetch();

Thanks!

Outcomes