Forum Discussion
Display iFrame in Body of Sharepoint Form
Not sure if this is possible. If I have an iFrame embed code for a document in a sharepoint library, can I render that iframe in the body of Sharepoint list form? Is there an elmtype that would work? Code samples desperately welcome.
Unfortunately, No. This is not possible using SharePoint list JSON formatting.
Check:
- SharePoint JSON formatting supported elmType
- List form body customizations do not support all JSON formatting functionalities like header/footer formatting or column/view formatting: SharePoint JSON formatting - configure custom body with one or more sections
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.
Unfortunately, No. This is not possible using SharePoint list JSON formatting.
Check:
- SharePoint JSON formatting supported elmType
- List form body customizations do not support all JSON formatting functionalities like header/footer formatting or column/view formatting: SharePoint JSON formatting - configure custom body with one or more sections
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.
- Jared BennettCopper ContributorDoes that mean I could potentially pull it off in the header or footer? Just curious if the restriction is form wide, or specific to the Body field?
You cannot render it in form header/footer as well.
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.