How WikiTraccs handles Confluence macros
WikiTraccs contains transformation rules for a range of Confluence macros. They are transformed on the fly and ideally the macro is replaced by something native to the SharePoint world.
If there is no SharePoint way of replacing a Confluence macro then WikiTraccs tries to find an approximation. But often there is just no equivalent for a Confluence macro. In those cases a text placeholder will be used to mark the spot where the macro has been in Confluence.
Tip
Macros so far unknown to WikiTraccs are also transformed, but in a generic way. The number of such macros is logged by WikiTraccs as “Crystal Ball Transformation Count” for each page.List of known macros
The following table shows macros that are explicitly known to WikiTraccs and how they are handled.
Macro | Support Level | Macro Transformation Details |
---|---|---|
Status | π | The macro will be transformed to text with a color that tries to match the original (not so many choices here in SharePoint…). |
Noformat | π | The “no formatting” content formatting will be mirrored in the SharePoint page. |
Code Block | π/π‘ | Code macros are transformed to SharePoint code web parts which provide comparable functionality. But if the code macro in Confluence is part of a table or any other nested structure then there is no 1:1 representation in SharePoint. The web part in this case will be replaced by a placeholder and the web part inserted at a top level place in the SharePoint page. |
SharePoint Online Document (by Communardo) | π‘ | The macro will be replaced by a link to the SharePoint document. |
SharePoint Online List (by Communardo) | π‘ | The macro will be replaced by a link to the SharePoint site containing the list; the link text contains the SharePoint list ID. |
Profile Picture | π‘ | The profile picture will be transformed like user @-mentions in the page (see section below for details). |
User Profile | π‘ | The user profile card will be transformed like user @-mentions in the page (see section below for details). |
Enhanced Profile (by Communardo) | π‘ | The user profile card will be transformed like user @-mentions in the page (see section below for details). |
Jira Issue Link | π‘ | The Jira macro will be replaced by a link to the Jira issue. |
Jira Issue List | π‘ | The Jira issue list will be converted to a static table showing links to Jira issues. If the table had multiple pages, a snapshot of only the first page is migrated to SharePoint. So, for a query that covers 1000 issues only the first 20 or so will be shown. A link to Jira is added to the SharePoint page so you can jump to Jira to see the live issue list. Note that in Confluence Cloud this does only work with Interactive authentication; see Confluence Cloud Specialties for details. |
Spreadsheet (by Elements) | π‘ | The spreadsheet macro will be replaced by a link to the file attachment. |
View File | π‘ | The file card will be replaced by a link to the file attachment of the SharePoint page. |
Office Powerpoint | π‘ | The file card will be replaced by a link to the file attachment of the SharePoint page. |
Office Word | π‘ | The file card will be replaced by a link to the file attachment of the SharePoint page. |
Office Excel | π‘ | The file card will be replaced by a link to the file attachment of the SharePoint page. |
Microsoft Stream Video | π‘ | The file card will be replaced by a link to the video. |
Panel, Info, Note, Warning, Tip | π‘ | The macro will be replaced by a table rebuiding the macros’s structure as far as possible; this can introduce nested tables which will be a challenge for page layout (see section below for details on nested tables). |
Expand | π‘ | The expand functionality will be lost and the content remains expanded in the SharePoint page. |
Gliffy | π‘ | The Gliffy diagram will be replaced by an image of the diagram (that should be present in Confluence as page attachment); if there is no image a placeholder text will be used instead. |
draw.io / draw.io board/sketch (by //Seibert/Media) | π‘ | The draw.io diagram will be replaced by an image of the diagram (that should be present in Confluence as page attachment); if there is no image a placeholder text will be used instead. |
Roadmap | π‘ | Will be exported as image. |
Widget Connector | π‘ | The macro will be replaced by a link to the content it links to (for example a YouTube video), if there is such a link. |
HTML | π‘ | The HTML content from the macro will be transformed to a code web part in SharePoint; so the HTML is transformed to code and especially JavaScript will not be executed in the SharePoint page. |
Tabs Container, Tabs Page (by Adaptavist) | π‘ | This macro displays multiple tabs which is a challenge because SharePoint has no tabs. So the tabs are each one transformed to “normal” page content and all tabs are added one after another to the page. |
Attachments | π‘ | Note that the actual attachments of Confluence pages are always migrated to SharePoint. The Page Attachments macro is migrated as a static view of the macro at the time of migration. So the SharePoint page will show a static table with attachment links and some metadata. |
Brikit Theme Press | π‘ | The Brikit Theme Press is recognized by WikiTraccs. Brikit Theme Press layers will be converted to modern SharePoint page sections. Each SharePoint page section will have a number of columns that corresponds to the number of columns in the Brikit Theme Press layer. SharePoint can only have a maximum of three columns in a section, so WikiTraccs will create additional sections if there are more columns in the Brikit Theme Press layer. The content from Brikit Theme Press blocks will be added to the corresponding SharePoint section columns. Note: available as of WikiTraccs v1.16.0. |
Page Tree | π‘ | The Page Tree macro is migrated as a static view of the macro at the time of migration. The SharePoint page will show a static tree of page links. |
Table of Contents | π‘ | Migrated as a static view of the macro at the time of migration. The SharePoint page will show a static tree of page links. |
Children Display | π‘ | Migrated as a static view of the macro at the time of migration. The SharePoint page will show a static tree of page links. |
Shared Block / Include Shared Block | π‘ | Those macros are part of the Include Content app by Keysight Technologies. The shared block macro content is migrated as is, without surrounding text placeholders. The include shared block macro is now migrated as copy of the referenced “shared block” macro, instead of just a text placeholder. Note: available as of WikiTraccs v1.23.16. |
MultiExcerpt (by Appfire) | βΉ | |
Table Filter (by StiltSoft) | βΉοΈ | Filter functionality is lost, the table remains. |
Excerpt | βΉοΈ | |
Single Cite (by Purde Software) | βΉοΈ | The macro will be replaced by the citation content. |
Table Chart | βΉοΈ | The chart will be replaced by a table of the underlying data. |
No Print | βΉοΈ | The no-print functionality will be lost, the content remains. |
Linchpin macros | π»/βΉ | There is no special handling built in for Linchpin macros, but they seem to transform fine to either text placeholders or macro body. |
Livesearch | π» | |
Anchor | π» | The anchor link will be removed, its text or content remains. |
Content by Label | π» | |
Excerpt Include | π» | |
Metadata News (by Communardo) | π» | |
Metadata (by Communardo) | π» | |
Recently Updated | π» | |
Profile List (by Communardo) | π» | |
Include Page | π» | |
Team Calendar | π» | |
Jira Chart | π» | |
Task Report | π» | |
Content Report Table | π» | |
Create from Template | π» | |
Page Properties | π» | |
Page Properties Report | π» | |
Page Tree Search | π» | |
Search Results | π» | |
Create Page | π» | |
Cite Summary (by Purde Software) | π» | |
Blog Posts | π» | |
Display Metadata (by Communardo) | π» | |
Metadata Overview (by Communardo) | π» | |
Metadata History (by Communardo) | π» | |
Content by Metadata (by Communardo) | π» | |
Other macros | π»/βΉοΈ | The macro will be replaced, either by a text placeholder or its body content. |
Transformation types:
- π “nearly 1:1” - there is a SharePoint or HTML equivalent allowing to rebuild the functionality in SharePoint
- π‘ “changes in layout or functionality” - transformation with changes to layout or functionality; this is a transformation that is more than just a generic placeholder, but it does not fully meet the original macro functionality
- βΉοΈ “to macro body” - this works for macros that contain “richt text content” which is just normal wiki page content; this transformation type will replace the macro by its rich text content, thus kind of “unboxing” it
- π» “to placeholder” - transforms to a non-functional placeholder text, showing the macro’s parameters
All macros not explicitly mentioned here are transformed to placeholders, so are either βΉοΈ or π». When macros contain rich content then the macro is replaced by its rich content.
Static macro snapshots
Many macros could be migrated as a static snapshot. WikiTraccs currently does this for the page attachments macro. After transformation, this macro is represented as a table of attachment links in the target SharePoint page. This table is a static snapshot of how the macro looks in Confluence at migration time.
If you’d like to see additional macros migrated as static snapshot, please get in touch by opening an issue describing your use case.