Confluence: Add SharePoint documents (v 1.7)
Dorrit Riemenschneider-Denecke
Users can in Confluence via "SharePoint Online Document" macro only see content they are allowed to see in SharePoint itself, too.
(See also /wiki/spaces/KB/pages/7379686)
Add macro
To embed a document form SharePoint into a Confluence page open the Macro Browser and select the "SharePoint Online Document" macro
 Image 1: Search for SharePoint documents (click to enlarge)
Configure Document macro
The Macro contains several options to either select the relevant document or choose the correct layout of the document.
Image 2: Overview macro preview (click to enlarge)
The logged in user to SharePoint should have at least read access to the SharePoint site collection in order to perform search queries on the SharePoint Document macro configuration.
1) Searchbar
Filter and find documents by searching for the documents name.
2) Show/hide Filter Settings
Show or hide additional filter settings.
3) Filter Settings
Several filter settings are available to refine the searchresults.
4) Show/hide Display options
This option defines the way the document will be rendered. "Link" provides a persistent link - even if the document has been renamed or moved. By clicking this link, the document will be opened in Office Web App if it is configured with SharePoint. Otherwise, the document is going to be opened depending on default browser behavior. Documents that are not supported by Office Web App, will also trigger the default browser behavior. Â
Image 3: Document link preview (click to enlarge)
In contrast to this, "Fixed View" (700px width) or "Responsive View"Â (max width) will render the document to appear as a preview on the page, so you can see the content of the Office document inside of confluence.
Image 4: Â Document preview (click to enlarge)
Supported File Types
View type Fixed View and Responsive View supports:
Powerpoint: odp, pot, potx, potm, pps, ppsm, ppsx, ppt, pptm, pptx
Word: doc, docb, docm, docx, dot, dotm, odt
Excel: ods, xls, xlsb, xlsm, xlsx, xlt, xltm, xltx
PDF: pdf
View type Link supports in addition to the above mentioned Office document types:
Image: jpg, jpeg, png, gif
Movie: mp4, m4v, wmv, avi, mpg, ogv, 2gp, 2g2
Audio: mp3, m4a, ogg, wav