Mar 30 2023 11:13 AM - edited Mar 30 2023 11:21 AM
I'm currently using the following embed code on an Embed web part.
<iframe width="640px" height="1100px"
src="https://xxx.sharepoint.com/sites/xxx/Lists/xxx/newform.aspx?source=https://xxx.sharepoint.com/sites/xxx/Lists/xxx/newform.aspx">
</iframe>
But when tried embedding the editform.aspx or dispform.aspx it does not work.
Also tried the Param() and added the parameter in the URL (i.e. ScreenNav=1) but Navigate doesn't seem to work for SharePoint Integration OnStart from what I've read so far but those posts were few years old. I'm wondering if there are new developments that might solve this, embedding specific app screen, issue now?
Mar 31 2023 12:42 AM
You can use List Details web part if it will fit to your requirement shown below:
Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community
Mar 31 2023 01:16 AM
Solution@Tamras1972 You have to include the item ID in URL in order to make it work in embed web part.
For example:
<iframe width="640px" height="1100px"
src="https://xxx.sharepoint.com/sites/xxx/Lists/xxx/dispform.aspx?ID=10">
</iframe>
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
Apr 03 2023 10:31 AM
@ganeshsanap Thanks, forgot about the ID part. Now to figure out how to hide the top part of the form in the embed web part.