I've added a S3 bucket to Retool storage to our selfhosted Retool. Ha dsome difficulties with the proper permissions in S3 as I'm an Azure guy....But I've managed to get it to work. I'm able to upload/delete files from an app.
However, I was wondering how I can change the public access dynamically within an app. Now I'm only able to toggle between private and public within the Resource query, but I would like to toggle that with a button or checkbox. How can I do that? Am I overlooking something?
Hi @mbruijnpff,
It is unusual for Retool to NOT make something connected to a variable, maybe they'll change this soon. How are you uploading files? If you're using a fileinput component, they have Retool storage handling built in, and, oddly enough, they have the "public/private" option set as a variable
Just click that fx
icon when you hover near it and you can connect it to anything boolean.
1 Like