Closed tecchan1107 closed 2 years ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
I can confirm on my end the bug.
I can confirm that this bug exists on my end as well
Can confirm that this bug exists on my end as well. Tried it on following browsers:
@tecchan1107 Thank you for reporting this.
filepreview
supports showing thumbnails of files in document library. The element itself gives some out of the box functionalities as a fallback in case the thumbnail fails to load.
The usage above is unsupported. While we understand the power of the scenario above, and various others shared by the community, we want to enable it post due diligence and security review.
We are working to enable such scenarios and would share an update as soon as we make progress there.
Thank you @shagra-ms for the feedback, understand the concerns and was also surprise with content access, hope in the future some type of whitelist url's can be provided after msft security validation or other type of approach that can improve the user experience.
Thank you for your response @shagra-ms πβ¨
I think it would be very useful and helpful if this were to become available in the future!!! I look forward to the day when I can use this.
Once again, thanks for all your thoughtful answers! I will close this issue.
Thanks @shagra-ms for your feedback. I would like to highlight that I shared iframes on LinkedIn as an experimental usage of @thumbnail (here and here), because this is not documented. While performing my testing about this hypothetical feature, some thoughts and doubts popped into my mind:
1) Service workload: are Microsoft IT Guys happy about a ridiculous amount of WopiFrame and TokenFrameFactory requests/replies generated per second all around the world?
2) Security: given that iframes work about X-FRAME options setup (as far as I know), what if I embed a compromised external website?
And your feedback seems to confirm my doubts. Thanks again.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Declarative list formatting
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Using List Formatting's filepreview, I created a card that previews the following files.
This file preview card was previewing files correctly until yesterday, but when I looked at it today, it no longer previews files. The code is unchanged between yesterday and today.
Is this a bug?
Steps to reproduce
Expected behavior
Files are previewed on the card.