Dear Community and Support,
We wanted to open and view a PDF in a Web Embed component, and not to allow user to download or click on the pop-out to avoid downloading in a browser setting
We have use the following but in vain:
Any suggestions and advise will be most appreciated!
Technically if anyone’s willing to deep dive a bit into the source code, that URL is presented even when you hide the button. Do you still want to hide the button?
Hi hi… thanks for your reply!
Yes hiding the button will help. Tried
still doesn’t help.
Have tried an image component to open this link but user can right click and save as png picture file
https://drive.google.com/file/d/{@}/view?usp=drivesdk
I remember in the Classic App, there’s an option to open link in Webview. But now there’s no more such options!
Not sure if using custom CSS helps.
Do you have access to custom CSS?
Yes I think so. Is this the one:
Ours is business plan
I tried using CSS to disable it but seems like the iframe loads after the code. I haven’t been able to use display:none
to hide it.
What if you just disable downloading on the Drive file instead?
2 Likes
I tried to change Drive folder access . But the component won’t even load
I mean restricting on the file level, not the folder.
You can follow this walk through.
2 Likes
Thanks for your advise! Checking on the details and hope it works!
1 Like
Unfortunately changing the file access right manually may not work in the long run. Checking with Florbs if they provide API support on this.
Thanks for your assistance and really appreciate your time and effort!
Can you explain why it would not work in the long run?
Since we cannot change the access rights of the files, we need to go into the drive folder to update each uploaded pdf file access right manually.
We need to standby and monitor any new file uploaded by the users.