An ongoing list of useful things you can do in Confluence!
...
Table of Contents | ||||
---|---|---|---|---|
|
Embedding Files From Google Drive
Paste your link
Change to fully embedded preview
...
This type of preview is fully interactable (you can edit the embedded doc within the page) and you can also click the blue text at the top to directly open google drive!
Note |
---|
We used to recommend the “Widget Connector” but this is no longer the best. As Confluence updates this may change again, but for now the above is the best option. |
Using Iframes
Confluence has awesome widgets to integrate nearly anything cleanly into a Confluence page (you can find these via inline /
commands or the +
at the top of the editing window). Sometimes these cannot handle everything however.
Iframes are a common tool used in web development to insert a window from one website into a “mini-browser” view of another. These can be used in Confluence to open just about any website when cleaner integrations don’t work.
Note |
---|
This is a lot closer to editing the page in raw HTML/CSS, so do note it will look uglier and should be avoided when possible |
One example of needing to use Iframes is for Google Calendar previews! Check out Calendars
Embedding Draw.io Diagrams
Embedding draw.io diagrams natively is an add-on feature for confluence we do not have. However, there is a way around that using iframes. This will still update as you edit the draw.io, just dont change the folder location and it should work OK.
How to add a draw.io diagram:
Go to the draw.io on google drive and click share, make it “Anyone with the link can view”
Open the draw.io diagram in draw.io
Go to File → Publish, and click create and copy the link
Go to File → Embed, IFrame, and take note of the “height” parameter. No need to click create here
Go to confluence page and edit it, then use
/iframe
to add an IFrame. Edit the IFrameEnter the URL you originally copied from draw.io
Make Width → 100%, Align → Top, frameborder → hide, Scrolling → yes, and check off allow fullscreen
Scroll back up and enter the height you found in step 4. Now look at the page in edit mode and change the height and width as you need to make it easily viewable. This is not going to look too good on mobile but eh better than nothing.
Deep Linking to Slack
Tip |
---|
This method works for now |
Linking to a person: https://nu-electric-racing.slack.com/team/{User ID}
For example: https://nu-electric-racing.slack.com/team/U0180PW1RDF
Warning |
---|
THIS NO LONGER WORKS. Confluence update broke it. We will see if it ever gets fixed… |
Slack allows for linking to its application and even specific parts within the app via a specially formatted link. Their full documentation of this feature is here: Deep Linking
...
Finding a channel ID
Desktop App
Click the channel name for more details
Scroll to the bottom for the ID
In-Browser
Just look at the URL!
...
Info |
---|
Your team ID starts with a T and your channel ID starts with a C |
Mobile App
Long press the channel and copy link
The channel ID can be found as described above
Linking to a Person’s DMs
...
Finding a user ID
Desktop-App & Browser
...
Open Profile of the user
Click the button with 3 dots
Copy member ID
Mobile App
Cry
Using Iframes
Confluence has awesome widgets to integrate nearly anything cleanly into a Confluence page (you can find these via inline /
commands or the +
at the top of the editing window). Sometimes these cannot handle everything however.
Iframes are a common tool used in web development to insert a window from one website into a “mini-browser” view of another. These can be used in Confluence to open just about any website when cleaner integrations don’t work.
Note |
---|
This is a lot closer to editing the page in raw HTML/CSS, so do note it will look uglier and should be avoided when possible |
One example of needing to use Iframes is for Google Calendar previews! Check out Calendars
Embedding Files From Google Drive
To embed a google doc or presentation into Confluence, the first step is to publish the document to the web. This is done by navigating to File → Share → Publish to the web.
...
Once you publish to the web, it will create a link at which you can view the document as a webpage. This window also includes settings to change who has access and to stop publishing the document.
...
Note |
---|
CAUTION! Do not use the link in the picture above for the Widget URL! The widget will only connect properly if you use the normal sharing link for the google document. |
Now that your file is published, go to the Confluence page you’d like to embed the doc in. Click the “+” icon, and insert a Widget Connector:
...
Once the widget connector is inserted, select it and click the “edit” button to change the URL of the embedded content. Enter the normal sharing URL for the google doc.
...
That’s it! You should get a window that shows a view of the document, and is updated automatically as the doc is edited.