Questions tagged [flamelink-cms]

14 questions
3
votes
2 answers

Firebase Cloud Firestore - Accessing a collection from a reference

High level: In Cloud Firestore, I have two collections. fl_content and fl_files. Within fl_content, I am trying to access fl_files. Detailed: In fl_content, each document has a field called imageUpload. This is an array of Firebase Document…
Joe
  • 3,772
  • 3
  • 33
  • 64
2
votes
2 answers

How to populate firebase reference type in flutter

This is how my firebase firestore data look like You can see that I have the person data field which is a reference type. And this is how I retrieve data from my flutter dart, Query> persons = FirebaseFirestore.instance …
Steven Sann
  • 478
  • 1
  • 7
  • 27
2
votes
2 answers

Query two Cloud Firestore collections into 1 object

I am using Flamelink as a headless CMS integrated with Firebase. All of my string fields are working just fine; I am just having a little trouble getting a URL of the media that was uploaded to Firebase Storage. The collection that I'm getting my…
Joe
  • 3,772
  • 3
  • 33
  • 64
2
votes
1 answer

Cannot get DownloadURL or StorageReference from DocumentReference in Flutter Firebase

Using the Firebase powered CMS Flamelink, there is a certain Firestore and Storage structure provided by the CMS. Images are stored in the Storage and references to it in Firestore. Firestore does provide me a DocumentReference to the Asset in the…
1
vote
1 answer

Typescript `esModuleInterop` ignored with module import

I'm trying to import this module into my Typescript file but it is throwing an error about how the module is imported. This is a Google Firebase Function script but I am importing this module in other areas of my project code just fine. 10 const…
1
vote
0 answers

How can I retrieve the attributes for images using the populate attribute in Flamelink?

I'm trying to use the populate attribute in the Flamelink get() query to populate images, as I've noticed that setting populate: true slows down the response time for the request. I'm trying this: const content = await flamelinkApp.content.get({ …
mfisher91
  • 805
  • 1
  • 8
  • 23
1
vote
1 answer

I can't load images from Flamelink that is integrated with Firebase and Vue

Right now, the code is working for all the strings I passed however, I can't retrieve my images from storage and see the fieldId needed. I followed the documentation of flamelink-js-sdk but it doesn't seem to clarify what should be done for…
0
votes
1 answer

I can't upload an image to Flamelink

I'm trying to upload images to my Flamelink project from Media menu. I add images and click UPLOAD, then it shows Upload cancelled: Tap to retry. Why is this happening? The internet connection that I'm using has no issues.
Whezer
  • 101
  • 1
  • 7
0
votes
1 answer

FirebaseError: Missing or insufficient permissions. Read Only

My development site was running fine with 'allow read: if true'. In production I made the changes below which should allow read access to the public collections. I am able to download the data and my frontend renders correctly but I am getting…
0
votes
1 answer

Problem when adding a picture from flamelink

I have a problem when I'm trying to load a picture from my Flamelink schema that is connected to my Firebase DB. I have a simple component that displays a puppy for sale: const PuppyCard = (props) => { return (
0
votes
1 answer

Firebase multiple environments with Flamelink

I'm using firebase functions with Node.js and I'm trying to create multiple environments for that. As far as I read I just need to create separate projects for that in Firebase, which I did. I'm using Flamelink as well and I want to achieve the…
Zolcsak Tamas
  • 147
  • 1
  • 8
0
votes
1 answer

Flamelink CMS retrive data pure js

i am already setup firebase and flamelink how i get data to manipulate from global i try this but it not work: var obj ={} app.content.get({schemaKey: 'berita'}) .then((data) => { obj = data …
rifo pangemanan
  • 344
  • 1
  • 3
  • 15
0
votes
1 answer

How can I assign content to specific signed in user within Flamelink and React Native?

I am using Firebase with React Native and just started with Flamelink as my CMS. Before using Flamelink, I was able to obtain specific content from a logged-in user via firebase realtime database because the schema was:…
0
votes
1 answer

Cloud Firestore rules - Allowing anybody to update one specific field in a document

I'm working on a PoC (Proof of Concept) application that users can download wallpapers to their device. All of the data is served using Cloud Firestore & Storage. There is NO LOGIN for this application. Anybody can download the application, and…