Get data from DB over javascript

Get data from DB over javascript

Is there some way to get data from site database over javascript on the page.
For example get list of contacts (id, name).
Maybe something like this:
   $.post('', function(response) {
          // response may be look like this:
              response = [
                   { Id: 1, Name: 'John' },
                   { Id: 2, Name: 'Mike' }

Hi Taras,

Currently we don't have that feature ready to be used out of the box, but we expect it to be out on one of the next revisions of the OutSystems Platform.

Either way, you might have a workaround of exposing a REST API and then use JSON to manipulate data. Please take a look at this forum post and check if there is something relevant to you.

Nuno Parreira