I am trying to create an app that works like fileshare but I cannot find a way to upload zip, rar etc. files.
It’s worth noting that Wix has its own file sharing app found in the App Market - Wix File Share | Wix App Market | Wix.com - I don’t know your specific requirements, but potentially an option to explore.
Regarding accessing the DOM, it’s not possible to interact with it from within Velo, although it it may be possible using Custom Elements.
Thank you for your reply!
Unfortunatelly, Wix File Share doesn’t check for duplicate names on upload (probably because it bases its data structure around the file IDs that are always unique. There are other issues that Wix File Share has, that make it impractical for my intended uses, but the lack of an overwrite feature is the most important one.
Still, thank you for the reply!
Makes sense. I’d be sure to submit this as a Feature Request over on the Product Roadmap.
And most likely, yes it’s done on some sort of ID system. In the meantime, I’ll take a look and see if I can find any info. Are you building using Wix elements, like the file upload button, or exploring building an app using something like the Dev Center?
I’m using wix blocks and only using wix elements. (I am pretty sure, in very unorthodox ways). The idea behind the app was to be able to upload files and check the name against a CMS for duplicates. Since, I can’t bypass the restrictions on the upload button, though, I decided to use the media manager and perform the same check on the dashboard via “snapshots”, (of the number of elements in a folder before and after the check, storing everything in arrays and splicing out the new files).
I even tried to use the “Media/Fileshare” CMS but I failed.