Hi,
I want to fetch the key-value pairs from the Firebase database collection to my Oustystems Reactive Web App to display it on the screen and perform CRUD operations.
If I make any changes to the data on the web app, it should be reflected in the database.
I've attached the Firebase collection (userData) with one of its documents containing key-value pairs. Please help me configure the database and fetch this data from the Firebase database to my web app step-by-step.
Currently, I have a blank app.
Step 1: setup integration form OutSystems to the Firebase Firestore
There is an OutSystems Forge component Firebase Firestore that will help you to quickly be able to access the data, that you can install in your environment: https://www.outsystems.com/forge/component-overview/7044/firebase-firestore
See the documentation tab on how to configure access.
The Forge component provides, for both Reactive and Mobile:
Step 2: Create a screen and Fetch the data
Step 3: Create actions to create or update data
Hope this plan helps achieve you to implement the requested functionality.
Regards,
Daniel
Thanks, I'm filling in these values in GetDocumentData Server Action but getting this message " Object Reference not set to an instance of an object".
Maybe you can share your OML without additional information it is hard to understand why you get that error.
Did you take care of the correct configuration of the service account, as documented here:https://www.outsystems.com/forge/component-documentation/7044/firebase-firestore/0
Hi Daniel Kuhlmann's, I have the listed values of the service account but don't know where to use them in Service Studio, where to configure them?