Project

General

Profile

Actions

Feature #15267

closed

Embed a Microsoft Form

Added by scott voth about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Shortcodes and embeds
Target version:
Start date:
2022-02-05
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

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.

Actions #1

Updated by Boone Gorges about 2 years 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.)

Actions #2

Updated by scott voth about 2 years ago

I believe this is the only URL that Salvatore knows about, but I have written to confirm.

Actions #3

Updated by Boone Gorges about 2 years ago

  • Tracker changed from Support to Feature
  • Category name changed from WordPress - Media to Shortcodes and embeds
  • Target version set to 1.19.4
Actions #4

Updated by scott voth about 2 years 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."

Actions #5

Updated by Boone Gorges about 2 years 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.

Actions #6

Updated by Boone Gorges about 2 years ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF