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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 463
WarrenBelz 364 Most Valuable Professional
11manish 275