SharePoint Connector for Confluence - Cloud

Add SharePoint Online Document macro

The SharePoint Online Document macro displays a SharePoint or OneDrive document on a Confluence page, either as a live preview or as a link.

Before you start

The macro shows content based on each viewer's SharePoint permissions. Users only see documents they are authorized to access in SharePoint. You can embed documents from SharePoint Online and OneDrive for Business.

Add the macro

You can add a document in two ways.

Using the macro browser:

  1. In the Confluence editor, open the macro browser by typing / or clicking the + icon.

  2. Search for SharePoint Online Document and select it.

  3. The macro editor opens.

    Bildschirmfoto 2026-06-23 um 09.34.11.png
    Image 1: Adding SharePoint Online Document (click to enlarge)

Using URL pasting:

  1. Copy the link of a SharePoint or OneDrive document.

  2. Paste it at the desired position on the page in edit mode. The macro is created automatically.

  3. Publish the page. By default, the document is embedded as a link.

Configure the macro

Use the navigation in the macro editor to find your document:

Browse All

Shows your recent SharePoint files and lets you search all files and filter by sites. You can sort the list by SharePoint default order, last modified date (newest or oldest), or filter by the person who last modified the file. You can only see files you have at least read access to. Click the arrow next to a file for a preview. Clicking the square next to the document selects the item, which then appears in the selected items section on the left. Hovering over a folder lets you pin it (it appears in the Pinned Folders section for quick access) or upload documents to the folder.

Bildschirmfoto 2026-06-23 um 09.39.10.png
Image 2: Browse all (click to enlarge)

My OneDrive

Browse files and folders in your personal OneDrive. You can sort the list by SharePoint default order, last modified date (newest or oldest), or filter by the person who last modified the file.

You can upload one or more files from your device or drag and drop them into the table using the upload button on the right. Files are uploaded to the folder or library shown in the document table.

Hover over a folder to open a dialog with pin and upload buttons. The pin lets you pin the folder; it then appears in the pinned folders section below. The upload button lets you upload documents to the selected folder.

OneDrive files are private by default. Before other users can see an embedded file, share it in OneDrive. See Microsoft's guide on sharing OneDrive files and folders.

The default OneDrive library is named Documents, so to find it quickly, select the My OneDrive tab first.

Bildschirmfoto 2026-06-23 um 09.40.30.png
Image 3: My OneDrive (click to enlarge)
Bildschirmfoto 2026-06-23 um 09.42.15.png

 

Space Folders

Select configured SharePoint folders as sources for your space.

  • No folders configured: An informational message provides links to the Space Apps – SharePoint Folders settings and documentation.

  • Folders available: All accessible folders appear as selectable and pinnable sources.

  • Search and filter: Use the search bar to filter the folder list or search within a specific folder's contents.

Bildschirmfoto 2026-06-23 um 11.34.52.png
Image 4: Space Folders (click to enlarge)

Pinned Folders

Folders you pinned for quick access.

Bildschirmfoto 2026-06-23 um 11.43.20.png
Image 5: Pinned folders (click to enlarge)

Display options

Choose how you would like the document to appear:

  • Embed: shows a preview on the page. The default is the responsive view. Multiple embedded files appear as a carousel.

  • Link: shows a persistent link that opens in the Office web app, even if the document is renamed or moved. Multiple links appear as a list.

Bildschirmfoto 2026-06-23 um 11.51.00.png
Image 6: Display options (click to enlarge)

Select your items and click Save on the bottom right of the screen.

Use the macro

SCR-20260806-kjie.png

On an embedded document, you can:

  1. Open the Smart Assistant to ask AI questions about the document. See Use the Smart Assistant.

  2. Edit in SharePoint to open the document in SharePoint in a new tab.

  3. Full-screen to open the document in a full-screen view.

  4. Open parent folder to go to the document's folder in SharePoint.

  5. Adapt display options to switch between embed and link view.

  6. Support and feedback to open the support menu. In the support menu, you can choose between:

    1. What’s new to look at new features.

    2. Give Feedback to open our feedback form.

    3. Get support to be redirected to our support portal.

    4. Feature request to request new features.

    5. Documentation to be directed to our apps documentation.

Bildschirmfoto 2026-07-08 um 10.58.45.png
Image 9: Options in Support and Feedback menu (click to enlarge)

The same actions are available for the entries in a multiple-links list.

Limitations

  • Moving an item between two different SharePoint document libraries breaks its display on the page. Moving within the same library, including OneDrive, continues to work.

  • Previews for password-protected documents are not supported.

  • Adding special permissions through a sharing link is not supported.