Skip to main content
← Data, API & Backend
Data, API & Backend September 10, 2022 · 1 reply

Remote action success load the same datas twice

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Hello I have two pages one with a button (remote action) and one with a result list.

when you click on "voir tout" it trigger a remote action (Courses) with a filter attribut "Route" 

IMG_4554.jpg

here how it is in Adobe XD : [action:remote:Courses=route]

Capture d’écran 2022-09-10 à 02.08.18.png

binding it In bravo studio works perfectly it load the api list and once it's loaded it goes to a list page "liste des courses"

Capture d’écran 2022-09-10 à 02.08.47.png

the api look like that with an attribut ${courses} which works great

Capture d’écran 2022-09-10 à 02.10.42.png

now the list page look like this

IMG_4555.PNG

in bravo studio the list page "list des courses" need to call api again in order to be able to bind it

Capture d’écran 2022-09-10 à 02.21.14.png

THE PROBLEM :

As you can guess the fact that remote action calls an api and the result page calls the same api it trigger the loading screen twice. I can't bind "only" the element of the page (images, texts, etc..) without getting the records

is there any solution to bind the elements of the results page based only on the remote action ? so we can have only one loading screen ?

thank you very much for your help 🙂

1 reply

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord