Hi. I have written a code that interacts with items in a collection and edits that data as well as sending an email to a user. Everything runs perfectly in preview mode but not on the live site. Also, I have changed the permissions of this collection to ‘anyone’ for all fields.
Maybe you forgot to sync it with the live site? Maybe you set the permission to anyone for reading and not for writing?
I wish that were the case but I’ve already taken care of all of those issues.
I too am having an issue with code that works in preview only while within editor but not after I leave the editor. Auto save is on but I also manually “save & preview” or “preview & manually save” while in editor especially when it shows as working great. My site is not live. I exit out, close the browser (current version of Chrome) and upon return it doesn’t work. I’ve tried returning by going into the editor & immediately previewing - and - I’ve also gone to site history and viewed backups. I’m a novice so kept thinking it was me.