Hello, I’m using cfs:standard-packages
and cfs:s3
to store uploaded images in Amazon S3. All is working fine with the app however occasionally I’d like to reset
my meteor project and run fixtures to create initial content/data.
I’m hoping I can manually insert values into my CFS collection. How would I go about this?
When trying the following → http://pastebin.com/iXFCvhS4
I get: Error: DataMan constructor received data that it doesn't support
→ http://cl.ly/image/0k1Z0n0g3m1V
I’m presuming this is because normally a CFS collection expects a file object, but is there way to manually override this insert data yourself? Similar to doing it via Meteor Mongo eg: db.cfs.avatar.filerecord.insert(obj)