These are chat archives for reactioncommerce/reaction

Feb 2018
Feb 22 2018 13:34
how to implement upload any file type with CollectionFS? @zenweasel any prompt ? thanku
Michael Jenny
Feb 22 2018 14:14
@zzh1234567 I think you can set the content-type on the File object and insert it. Something like that:
CollectionFS should pick that up when the appropriate filter is matched:
Loan Laux
Feb 22 2018 16:11
Could anyone here guide me about adding custom fields to the ProductSearch record? Reading the source code of search-mongo, I understood that I'll have to specify my custom fields in settings.private.products.includes, inside my custom search plugin's register.js. Is that correct? If so, is this feature documented anywhere?
I'm referring to line 78 of /imports/plugins/included/search-mongo/server/methods/searchcollections.js