Notifications
Announcements
Hi,
I was trying to have the SharePoint documents library within a Canvas app.
I did an API call to Microsoft Graph API to generate a preview link, then used that link in a custom iFrame component to show the file preview, the problem is I cannot find a way to have an editable view.
Currently, with view only a preview, my app looks like this:
But when I tired using direct SharePoint link (without generating preview URL) in the iFrame, I was getting what I want:
But it works only while editing the view, once published I get the following message:
Ref:
Yes, the SharePoint team is adamantly against being IFramed in as content. I had an open ticket with them for almost four months trying to get them to allow IFraming in a different but similar context, and the final answer was, "never going to happen."
If you need to edit SharePoint documents from a Canvas App list experience, I recommend opening them in a new tab using Launch() with the Target param set to New: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-param#launch
Thank you for the information 👍.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 759 Most Valuable Professional
Michael E. Gernaey 310 Super User 2025 Season 2
Power Platform 1919 228