1
 Follower
7
 Likes

Fetch data from other sources - for web

Backend
Implemented
on 02 Oct 2018
Platform Server Release Oct.2019 CP1

This is an incredibly useful feature that only implemented in mobile, and that I believe that should be implemented in web as well.

Created on 10 May 2017
Comments (3)

Hi Maria,

In web, you have a preparation action that runs server-side which is a logic flow where you can fetch data from the database and other sources. Isn't this what you want?

Hi André.

Not quite, because you can't refresh the preparation action as you refresh the 'Fetch data from other sources' in mobile. When I can use aggregates to fetch data in web preparation actions, it's okay because I can use the 'refresh data' element to refresh the aggregate. However, when I am using actions that return lists, for example, I would like to be able to automatically refresh the data source instead of having to manually fetch the data again, assign it to my local list, etc.

Changed the status to
Implemented
on 02 Oct 2018


Hi MariaP,

Thanks for your idea. It can indeed be helpful and we have implemented it for new web apps. As you might know, we have recently released reactive web apps, that take the best of what mobile apps have to offer, and builds upon that with several improvements.

One of the things that is similar in these new web apps is that you can fetch data from other sources, that, as you were saying, makes it possible to refresh individually.

You might also like to know that Aggregates and Data actions have also have a new property "Fetch", that allows you to specify that they only run on demand, i.e. they do not run automatically when the page is shown (check it out on the link above).

Thanks again for your ideas and keep them coming.

Cheers,
Tiago Simões

views
725
Followers
1