web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

IFrame on the Main Form isn't Showing the SharePoint Document Library

(2) ShareShare
ReportReport
Posted on by 183
Hello, 
 
I added an 'External Website' component, which is an IFrame with the URL being that of my Sharepoint Document Library, on the main form of one of my tables in Dynamics.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
I was able to see this library in my main form's iframe until I enabled 'Pass record object-type code and unique identifier as parameters'. I started seeing the error:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Please note that I need the record ID because I need to associate this record with the selected document using power automate (as seen in the first image).
I greatly appreciate any help as I have been stuck with this problem for a while and nothing is working.
 
Thank you in advance,
Joseph
I have the same question (0)
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    Try to add a simple JS on load of a form which will set Dynamic URL as per record id for the IFrame.
     
  • Joseph Nasr Profile Picture
    183 on at
    Hello Amit, 
     
    Apparently enabling Pass record object-type code and unique identifier as parameters modifies the URL of the iframe which is why it gave the error (it doesn't exist).
     
    Using JS is exactly what I did. My goal is to run a power automate flow for the selected sharepoint document (from the Iframe) and pass the record ID to that flow.
     
    I did manage to pass the record ID to the iframe, but I still can't get it automatically to the power automate flow.
     
    Thanks,

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans