[Firebase] How to trigger firebase event from server side (Create/Update entity action)
firebase
Reactive icon
Forge component by Labs
Application Type
Reactive

In the past (older version) it was possible to use a Firebase server action to trigger firebase.

Since the switch to Firebase Javascript SDK 8 it's only possible in a browser (where javascript is processed).

My usecase: When we receive information from external service. We update our entities and want to trigger all the clients that a currently subscribed on that channel. How is this now possible?

mvp_badge
MVP
Solution

Hi Peter,

I used https://www.outsystems.com/forge/component-overview/2121/firebase-web in one of my timers and it seems to work like a charm.

Kind regards,
Eric

Hi Eric,

Thanks for replying.

Just to be sure. You use the action called "FirebaseNotifyEventREST" for this?

I am putting it in my test project to check it out!

mvp_badge
MVP

Yes FirebaseNotifyEventAPI indeed.
Let me know if it works for you! :)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.