Embed a Microsoft Form
Can we set up a way to handle embedding a MicroSoft Form? Here is the iframe code.
<iframe width="640px" height= "480px" src= "https://forms.office.com/Pages/ResponsePage.aspx?id=s_BgbwZfCU6XFZiduozH2MtKdek1fmVLlS4mgyizEINUQTk2RUVHRjBXWkhMM0QzNTNNT1NQQVBSOS4u&embed=true" frameborder= "0" marginwidth= "0" marginheight= "0" style= "border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>
I tried using Embed Any Document, but it just embedded the html file.
#1 Updated by Boone Gorges 5 months ago
- Status changed from New to Reporter Feedback
Yes, this is probably possible. Can you give me the URL of the corresponding form? I see that https://forms.office.com/Pages/ResponsePage.aspx?id=s_BgbwZfCU6XFZiduozH2MtKdek1fmVLlS4mgyizEINUQTk2RUVHRjBXWkhMM0QzNTNNT1NQQVBSOS4u works in a browser, but I'm unsure whether this is the URL that users are given immediately after creation. (I need to know so that I can know what kind of user input to expect when initiating the embed.)
#4 Updated by scott voth 4 months ago
Here is Salvatore's response:
"The URL for people to fill out the form is: https://forms.office.com/Pages/ResponsePage.aspx?id=s_BgbwZfCU6XFZiduozH2MtKdek1fmVLlS4mgyizEINUQTk2RUVHRjBXWkhMM0QzNTNNT1NQQVBSOS4u
That would be the form that should be embedded in the website. Any path forward is greatly appreciated."
#5 Updated by Boone Gorges 4 months ago
- Status changed from Reporter Feedback to Staged for Production Release
I've added embed support in https://github.com/cuny-academic-commons/cac/commit/a4d5cf34b5fe1b4e27a62472afdd879f3c9894ba.
Pasting the https://forms.office.com... URL on its own line will result in an embed.
You can also use the [msform url="..." height="..." width="..."] if you need to specify dimensions. (By default, it's 500px tall and 100% width.) This will be available after Tuesday's release.