Skip to main content
All CollectionsLEARNDESIGN
I want to embed Microsoft 365 Files.
I want to embed Microsoft 365 Files.
Asia Ali avatar
Written by Asia Ali
Updated over 8 months ago

If you are looking to embed Microsoft 365 files like Word and PowerPoint into your Cognota course to allow for easy edits, updating and review, follow these steps.

1. Open up the 365 file that you'd like to embed, and navigate to the left menu. Click on Share and then Embed.

2. Copy the Embed Code and paste into a document or notepad on your computer, there are some slight modifications you will need to make.

Note: if you are looking to embed a Excel file, you may need to first select "Generate HTML" in order to locate the iFrame code.

3. This is an example of what the iFrame copy looks like and what you’ll specifically need to copy and modify.

PowerPoint Example:

a) First, copy the URL that is in bold below:

<iframe src=“https://onedrive.live.com/embed?resid=A0D92634271F6047%21163&amp;authkey=%21AIlEtdje1jozRXU&amp;em=2&amp;wdAr=1.7777777777777777” width=“350px” height=“221px” frameborder=“0">This is an embedded <a target=“_blank” href=“https://office.com”>Microsoft Office</a> presentation, powered by <a target=“_blank” href=“https://office.com/webapps”>Office</a>.</iframe>

b) Remove anywhere the URL has "amp;" as bolded below:

https://onedrive.live.com/embed?resid=A0D92634271F6047%21163&amp;authkey=%21AIlEtdje1jozRXU&amp;em=2&amp;wdAr=1.7777777777777777

c) This will be the URL you’ll paste into Cognota in Step 4.

Word Example:

a) First, copy the URL that is in bold below:

<iframe src=“https://onedrive.live.com/embed?resid=A0D92634271F6047%21153&amp;authkey=%21AKSxWKp6y4Za25I&amp;em=2&amp;wdStartOn=1” width=“476px” height=“288px” frameborder=“0">This is an embedded <a target=“_blank” href=“https://office.com”>Microsoft Office</a> document, powered by <a target=“_blank” href=“https://office.com/webapps”>Office</a>.</iframe>

b) Remove anywhere the URL has "amp;" as bolded below:

https://onedrive.live.com/embed?resid=A0D92634271F6047%21153&amp;authkey=%21AKSxWKp6y4Za25I&amp;em=2&amp;wdStartOn=1

c) This will be the URL you’ll paste into Cognota in Step 4.

Excel Example:

a) First, copy the URL that is in bold below:

<iframe width="402" height="346" frameborder="0" scrolling="no" src="https://onedrive.live.com/embed?resid=A0D92634271F6047%21166&authkey=%21AG3IZcZHfoekv7k&em=2&wdAllowInteractivity=False&wdHideGridlines=True&wdHideHeaders=True&wdDownloadButton=True&wdInConfigurator=True"></iframe>

b) This will be the URL you'll paste into Cognota in Step 4.

4. In Cognota, add an Embed asset and paste the URL in the Page Link field.

5. You will see a sample of the document appear in the editor and can change the height of the frame.

Word Example:

PowerPoint Example:

Excel Example:

If you are looking to allow users to make changes to the embedded document, follow these steps:

1. In the Microsoft 365 document, you'll need to click Share and change the permissions for who can view and edit the document. Copy the Share URL.

2. In Cognota, replace the "Open URL" with the URL you have copied.

The most recent version of the file will then always appear in Cognota and your editors can click on Open in a new tab to be able to make changes to the document.

Did this answer your question?