Hey all,
I am having some trouble filtering Firebase data. For context, I have an app where users can post a document to a firebase collection with 5 or so fields. I want to filter by name. I am using Firebase, and I use the API Data resource instead of the connector due to my familiarity with it. Currently when the page loads, I use the standard Get Collection flow and repeat the documents from the collection. I want to enable the user to type in a name (pageVars.name) and click a button and perform the same get collection, but limit the results to the name from the collection below. I have tried the no code powerup from Appgyver on YouTube as well as a few help articles on these forums but cant get this to work. I was hoping someone may be able to provide a formula I could use for this.
I have tried the following and can’t find anything that works:
Different variations of: SELECT(outputs[“Get record collection”].records, CONTAINS(outputs[“Get record collection”].records, pageVars.name))
FIND(outputs[“Get record collection”].records, outputs[“Get record collection”].records[“”].fields.name.stringValue == pageVars.name)
FIND(outputs[“Get record collection”].records, item.name == pageVars.name)
FIND(outputs[“Get record collection”].records, item.fields.name.stringValue == pageVars.name)
Here is the firebase collection:
Here is the item in repeat which works as expected without filtering: