I am trying to enable a siteMember download their respective data and I tried using iframe
WixStudio
I am trying to enable a siteMember download their respective data and I tried using iframe which clearly worked in the previewSite Mode when I ran the coded through it, but the same does not happen in live site, I am trying to let the site member download their custom From Responses from the cms using pdf I tried almost everything and I cant figure it row
I already tried :
using iframe and it worked complete fine during the local… but the depoloyed version does not work from some reason
Since you have mentioned that what you have coded using the iFrame is working perfectly fine in preview but you’re facing issues on the live site, I’m guessing it might most likely be a permissions issue.
You can learn more about CMS permissions here:
Now since Wix Forms Collections are considered as Wix App Collections, you cannot change the permissions or modify the data directly as you would for any other CMS collections. So for this you would have to use the relevant Velo APIs with elevated permissions to query submissions on the live site for your code to work. You can read more on that here:
Or if your form is a custom form built using various input elements and submitted through a dataset, then you can simply set the Collection permissions to Everyone and that should resolve the issue you’re facing on your live site.