Forum Discussion
Tamras1972
Mar 30, 2023Iron Contributor
Emded web part - to edit form
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?
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
3 Replies
Sort By
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
- Tamras1972Iron Contributor
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.
- kalpeshvaghelaSteel Contributor
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