youngmon/atlassian-qna huggingface dataset:
'On this page' box with links to sections on the page - how to do it?
Asked by Coptic Orphans:

Atlassian docs often have a box titled 'On this page' with links to sections on the page. I can't find documentation as to what that box is (macro? gadget?) or how to create it. Anyone know?


Answers:
author: Giles B
body: Hi,

It's a [table of contents macro](https://confluence.atlassian.com/display/ConfCloud/Table+of+Contents+Macro) inside a [panel macro](https://confluence.atlassian.com/display/ConfCloud/Panel+Macro).


Tags: confluence-administration
Can I hide instructional content with projectdoc macro in Confluence?
Asked by Scott Eade:

The projectdoc Confluence proivides, amongst other thinfs, three Hide macros

* Hide from Anonymous User Macro
* Hide from Reader Macro
* Hide Macro

I get what the first two are for, but the third one seems to do the same thing as the second one. I am curious to know if there is a version that allows me to simply hide content such that it is only rendered when the page is being edited. Sometimes I want to include instructions in a page and this seems like a nice way to do it.

I do note that content in a Document Properties Marker box that is not in the table of properties is only rendered in the editor, so this kind of does what I want, but seems like a hack when Hide Macro would appear to describe what I want.  
[](https://community.atlassian.com/t5/Confluence-questions/Can-I-hide-instructional-content-with-projectdoc-macro-in/qaq-p/432276?attachment-id=713){#link_1186f419392bed}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/73227/1/upload3.png){#display_1186f419392bed_0}


Answers:
author: Robert Reiner _smartics_
body: All Hide macros are simply shortcuts for specific needs.

The *Hide Macro* is intended to store values in some not-so-critical-password-like-things-you-probably-do-not-want-to-use use cases :smile:. Something like admin/admin for an intranet team wiki. Since everyone can see the value in view source, this is of very limited value. The difference to the *Hide from Reader Macro* is that the content of the *Hide Macro* is only plain text.

For your use case I suppose you could use a regular [Section Macro](https://www.smartics.eu/confluence/x/ugNk) and hide it with the [Hide Parameter](https://www.smartics.eu/confluence/x/ugNk#ContentMarkerMacro-Hide). If you need instructions without a title - for instance if you want instructions inside sections - you could also use the [Content Marker Macro](https://www.smartics.eu/confluence/x/vANk). The *Section Macro* has the advantage, that the title is 'greyed out' and could read something like 'Tips for the Author'.

Here is what it would look like in edit mode:

upload.png

And this is the view:

upload2.png

PS: You could also set the level of the "tip section" to make it appear smaller (and may also place it inside sections).

upload3.png  
[](https://community.atlassian.com/t5/Confluence-questions/Can-I-hide-instructional-content-with-projectdoc-macro-in/qaq-p/432276?attachment-id=7628){#link_1186f423ce8c01}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/73228/1/upload.png){#display_1186f423ce8c01_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Can-I-hide-instructional-content-with-projectdoc-macro-in/qaq-p/432276?attachment-id=7629){#link_1186f423ce8c01_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/73228/2/upload2.png){#display_1186f423ce8c01_2}

comments: author: Scott Eade
body: Perfect - thanks for your prompt reply.
How do I change the styles in a Confluence Page template?
Asked by Tom Fahey:

I want to create a page style where the second line of a numbered list is indented but not numbered. I need this style to be available to a writer using a modified page template. How do I do this? Thank you!


Answers:
author: Giles B
body: Hi Tom,

Can you not accomplish this using Shift+Enter?


author: Tom Fahey
body: Thank you, that solves the immediate issue. But I should have raised a more general question: Is a CSS the only way to add a style to the default list of styles?

comments: author: Giles B
body: I wouldn't say that's the only way---there's quite a bit of stuff in [here](https://confluence.atlassian.com/display/DOC/Customising+your+Confluence+Site)---but that really depends on what you're trying to do.
Why do some PDF links automatically download, but others open on the page?
Asked by Jessica Goodrich:

Some links on the pages open to preview, and others automatically download. How can this be made consistent? Is there a way to choose how they will open when they are clicked on?


Answers:
author: 105349
body: Hey Jessica!

My first thought is that the PDFs that are downloading have been added to the page as external links, and not directly attached to the page, (which would allow them to be previewed). Most browsers, when directed to a link containing a PDF, will download the file instead of previewing it.

Good luck!

comments: author: Jessica Goodrich
body: It seems as though the only option to upload the PDF links is from the "insert files and images" option. Is there another way these files should be uploaded to ensure they download the file? Or, if preview is the only option, how can I make it so only one file is previewed at once? Currently, once you open a file and it opens in preview, you are able to arrow through all PDFs on that page.


author: 105349
body: In doing some research, it looks like there's no way to currently disable PDF preview, sadly. There is a suggestion in place to have that option, though:

<https://jira.atlassian.com/browse/CONF-36899>

That said, currently, if you want your users to download the PDF, they'll either have to right-click on the thumbnail of the PDF on the page and Save As, or in the preview, click the download button on the upper right.


author: Jessica Goodrich
body: At this point, everything will open in preview without the ability to disable it. So, with preview being the only option, how to do you only allow one attachment to open in preview? Currently, if a link opens in preview from an attachment, it allows the user to scroll through ALL attachments on that page. I want only ONE file to be previewed at once...is that possible?


author: 105349
body: As far as I'm aware, it's currently not possible to preview only one attachment at a time.

I suggest that you vote on this issue linked above, and hopefully we'll see it in a future release.

Also, you may want to contact Atlassian Support directly to see if they have any suggestions as well:

[Atlassian Support - Portal](https://support.atlassian.com/customer/servicedesk-portal?utm_source=landingpage)


Tags: confluence-administration
With a 50 page PDF document... Does confluence have anything in place to navigate the document easily?
Asked by Kirk Chatteram:


Answers:
author: Marcel Woschek
body: You can set [anchors](https://confluence.atlassian.com/doc/anchors-139442.html)on the confluence page itself to navigate on the page. Maybe these anchors are set in the exported pdf, too.

Another way would be creating a TOC and use CSS counters.

If this doesn't work you could try the [Scroll PDF Exporter](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-pdf/server/overview).
recommended WebDAV clients
Asked by Robert McGrath:

Do Atlassian, have a list of recommended WebDAV clients?


Answers:
author: 105349
body: Hey Robert!

To my knowledge, Atlassian doesn't really have a list of recommended WebDAV clients. Honestly, in all my years I've just use Finder on OS X, and it's worked fine.

Here's the WebDAV documentation, just in case you haven't read through it yet:

[Configuring a WebDAV Client](https://confluence.atlassian.com/confcloud/configuring-a-webdav-client-for-confluence-724765538.html)

Good luck! :smile:


Tags: cloud

confluence-cloud
No email notification when task is completed and not watching page
Asked by Patrick_Vanhoof:

Hi,

I create a task on a page for a colleague. When saving an email notfication is sent to that colleague.

Then I stop watching the page. After that my colleague marks the task as complete.

I would expect me to get an email notification of that as it was me who assigned the task, but I do not get a notification.

Do I really hve to keep watching the page to get these notifications?

Thanks,

Patrick


Answers:
author: Patrick_Vanhoof
body: <https://jira.atlassian.com/browse/CONF-43313>
Gliffy Permission Error after Upgrade to 6.9.0
Asked by RobertH:

Our instance is currently 5.7.1 and our Gliffy plugin is 6.9.0. We upgrade this plugin and are now receiving the following error when attempting to edit or create a new diagram:

```
Sorry, you cannot create new diagrams but you may insert existing ones.No create permission or you are not logged in.
```

In the js console, I see the following 404 errors when trying to edit and insert a diagram:

```
https://domain.com/rest/gliffy/1.0/ceo/48399048/permission?_=1462278616866?https://domain.com/rest/gliffy/1.0/properties/com.gliffy.integration.confluence.ANALYTICS_OFF?_=1462278621212?https://domain.com/rest/gliffy/1.0/diagrams.json?query=&amp;index=0&amp;results=20&amp;spaceKey=&amp;sort=modified&amp;order=descending&amp;_=1462278621219https://domain.com/rest/gliffy/1.0/spaces/legacy.json?_=1462278621214
```

I've attempted to reinstall the plugin at version 6.9.0, clear plugin cache, use a developer license, and I've tried 3 different browsers.

Catching a lot of stack trace / dumps like the following:

```
Location:    com/gliffy/plugin/confluence/api/v1/DiagramResource.saveAs(Ljava/lang/String;JLjava/lang/String;Ljava/lang/Integer;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljavax/ws/rs/core/Response; @450: invokevirtual  Reason:    Type 'java/lang/Object' (current frame, stack[1]) is not assignable to 'com/atlassian/confluence/core/SpaceContentEntityObject'  Current Frame:    bci: @450    flags: { }    locals: { 'com/gliffy/plugin/confluence/api/v1/DiagramResource', 'java/lang/String', long, long_2nd, 'java/lang/String', 'java/lang/Integer', 'java/lang/Long', 'java/lang/String', 'java/lang/String', 'java/lang/String', integer, 'com/newrelic/agent/bridge/Transaction', 'com/newrelic/agent/bridge/ExitTracer', 'com/atlassian/confluence/core/ContentEntityObject', 'com/atlassian/confluence/pages/Attachment', 'com/atlassian/confluence/pages/Attachment', 'java/lang/String', 'java/lang/Object' }    stack: { 'java/lang/StringBuilder', 'java/lang/Object' }
```


Answers:
author: Mike Cialowicz
body: Hi Robert,

We've received your support request and are investigating the problem. Right now it looks to be caused by some sort of conflict with NewRelic. If possible, could you please temporarily disable the NewRelic agent to help us verify this?

As a workaround, you can downgrade to Gliffy 6.8.8 if that version worked well for you. In the meantime, we will continue investigating and will reach out to you with updates over the Gliffy support channel. I will also update this ticket once we have a final resolution (in case anyone else comes across the problem).

Regards,  
Mike Cialowicz  
Gliffy, Inc.


author: Vishal
body: Hi any updates on above question ?


Tags: confluence-administration

gliffy
Do you have plans to release a Confluence Server version of Mindmeister for Confluence?
Asked by Phill Fox:

Following the cloud version release have you a roadmap for the release of a server version? If so what is the lowest Confluence version it is anticipated to be compatible with?


Answers:
author: Pedro Felgueiras
body: I also think that will be very interesting to have it on the server

comments: author: Phill Fox
body: I note that there is no news yet on a Server version nor have there been any upgrades to the existing Cloud version for many months so I am beginning to wonder what level of support is being provided for this plugin by Mindmeister.


Tags: addon-mindmeister-confluence-connect
Is it possible to link Confluence on Cloud, with JIRA on prem?
Asked by Matthew Ferguson:

Is it possible to link Confluence on Cloud, with JIRA on prem?

I am planning to move one product from cloud to on prem, but I want to make sure they will still be allowed to link together


Answers:
author: Nic Brough -Adaptavist-
body: Depends on what you want from the link. Basic application linking is possible, but you can't share user directories.


Tags: confluence-administration
Move a page with "Create page" plugin
Asked by Robin Peters:

Hi,

I am using the "create page" plugin of adaptavist. If I use the macro with parent=@self, then I will get an error after moving.

```
Create Page        Unable to locate the desired parent page: &lt;old space key&gt;:@self    No fallback was set
```

I have to edit the page and have to change the old space key to the new one although before moving the old space key wasn't on page source.

The source look like:

```
          <ac:structured-macro ac:name="create-page">            <ac:parameter ac:name="addspace">false</ac:parameter>            <ac:parameter ac:name="labels">concept</ac:parameter>            <ac:parameter ac:name="target">edit</ac:parameter>            <ac:parameter ac:name="parent">              <ac:link>                <ri:page ri:content-title="@self"/>              </ac:link>            </ac:parameter>            <ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter>            <ac:plain-text-body><![CDATA[add Proposal]]></ac:plain-text-body>          </ac:structured-macro>
```

Can I fix this so I can move pages with this plugin?


Answers:
author: Robin Peters
body: Their Support told me solution. Just to do not fill the parent field.


Tags: addon-com.adaptavist.confluence.createpage

move
while using the excerpt include macro in a page, trigger email to "watch list" when content in the included page is modified ?
Asked by Sampath PB:

*This question is in reference to Atlassian Documentation: [Excerpt Include Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765190)*

*I am using the excerpt include macro in a page. I need to have automatic email trigger (to the people in watch list of the 'excerpt included' page)for the modifications done on the child page(having the excerpt).*


Answers:
author: Paul Guthrie
body: Just wondering if anyone has figured this out... this is also someting I need.


author: Jennifer Magoon
body: Is there any macros out there that can send a notification if a page with a macro include has been updated as a result of a change on the parent page?


author: Jon Cooper
body: I would love to see this as an option in the macro (i.e. "Trigger watchers when parent space is updated" or something) we are using the macro to pull together a "guidebook" from key areas of different project sites.

The intent would be people only need to follow the Guidebook space, then content changes that are pulled in from other sites/spaces via the Include macro would trigger an update to watchers.


author: Giles B
body: Hi Sampath,

If people are watching the page with the excerpt, and that page changes, they'll get a notification. They won't, however, get a notification if they're only watching the page with the excerpt include, as the page is just rendering the macro rather than parsing its contents.


Tags: confluence-cloud

documentation

excerpt
Dropping Office docs into Confluence "inlines" the doc instead of showing thumbnail
Asked by JamesT:

We have test and production Confluence servers, with nearly identical setup and add-ons installed. Both are running Confluence Server 5.9.6 (latest is 5.9.9) with Office Connector 3.4.16 (the latest as of this writing).

When editing a Confluence page on the Test server, if I drop an Office doc (any kind, Word, Excel, or Powerpoint) into the page, the doc renders as a thumbnail. Saving the page and clicking on the thumbnail opens a "viewer".

On the production server, the same steps results in the doc being rendered "inline" in the page. There is no option to display it as a thumbnail.

Using the Source Editor add-on (to look at the wiki/markup source), on the **Test server**, the doc is inserted like this:
> \<ac:structured-macro ac:macro-id="4201c61c-8da7-4d72-bf2f-13e7530cd8ea" ac:name="view-file" ac:schema-version="1"\>  
> \<ac:parameter ac:name="name"\>  
> \<ri:attachment ri:filename="Req Justification Form.doc"/\>  
> \</ac:parameter\>  
> \<ac:parameter ac:name="height"\>250\</ac:parameter\>  
> \</ac:structured-macro\>

On the **Production server**, the doc is inserted like:
> \<ac:structured-macro ac:macro-id="98f27baa-ea2e-4cd0-8a8f-53351a0d8f8e" ac:name="viewdoc" ac:schema-version="1"\>  
> \<ac:parameter ac:name="name"\>  
> \<ri:attachment ri:filename="Req Justification Form.doc"/\>  
> \</ac:parameter\>  
> \</ac:structured-macro\>

Our users prefer the Test server implementation, but we can't figure out what's the difference in the servers causing the thumbnail/preview implementation (the "view-file" macro). Disabling the Office Connector plugin had no effect on the Test server's thumbnail/preview functionality, leading us to believe that it's a different setting/add-on, but we're stumped!


Answers:
author: JamesT
body: Adding pics of the desired thumbnail/preview macro

thumbnails.jpg

preview.jpg  
[](https://community.atlassian.com/t5/Confluence-questions/Dropping-Office-docs-into-Confluence-quot-inlines-quot-the-doc/qaq-p/15990?attachment-id=10356){#link_1186f54573c6d1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/2705/1/thumbnails.jpg){#display_1186f54573c6d1_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Dropping-Office-docs-into-Confluence-quot-inlines-quot-the-doc/qaq-p/15990?attachment-id=10357){#link_1186f54573c6d1_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/2705/2/preview.jpg){#display_1186f54573c6d1_2}


Tags: confluence-administration
List of Incoming and Outgoing Links for Entire Space
Asked by Nick Lamb:

Our documentation team would like to be able to get a full list (report) of the Incoming and Outgoing links for all pages in the documentation space. We're able to get this information on a page by page basis with "Tools-\>Page Information" from any given page, but it would be great for auditing to be able to get this printed out in list form (or similar) like:

PageA  
Incoming Links:  
PageB, PageC  
Outgoing Links:   
PageF, PageD

Is this possible? I've looked for plugins in the marketplace but haven't found anything that quite does what I want. No one here has a lot of experience connecting via the REST API, but are willing to go that route if that's the best way to get this kind of report.

A nudge in the right direction, even "try this code via the REST API" would be super appreciated.


Answers:
author: Nick Lamb
body: In case anyone is looking to do this, we found the following link quite helpful: <https://answers.atlassian.com/questions/38519644>

You can then modify the query to include or exclude spaces as needed. This example modifies the query to show all links on pages in NEWSPACE that don't point to a page in NEWSPACE or CURSPACE. I've also added an order by on the first two columns as that made the most sense for our needs.

```
SELECT s.spacename as Space, c.title as Page, l.destspacekey as SpaceOrProtocol, l.destpagetitle as DestinationFROM LINKS lJOIN CONTENT c ON c.contentid = l.contentidJOIN SPACES s ON s.spaceid = c.spaceidWHERE c.prevver IS NULLAND (l.destspacekey!='NEWSPACE' AND l.destspacekey!='CURSPACE' AND s.spacename ='NEWSPACE')ORDER BY 1,2;
```

All you need is sql access to your confluence database. The format is perfectly usable for audit/reporting.

comments: author: srikanth duggineni
body: Hi Nick,

I am getting only Outgoing links with the above query. Incoming links are not appearing in the results. I use Confluence 6.6.7


author: Michael Hopwood
body: Hi [@Nick Lamb](/t5/user/viewprofilepage/user-id/600067) is that from here, or did they grab it from this thread?  

<br />

<br />

<https://confluence.atlassian.com/confkb/confluence-how-to-validate-links-952603062.html>


author: Michelle Rau HP
body: In case anyone still has this question, the Reporting add-on by ServiceRocket has a supplier that can list incoming and outgoing links for a page. Here is the supplier: [https://docs.servicerocket.com/suppliers/list-of-suppliers/page-supplier](https://docs.servicerocket.com/suppliers/list-of-suppliers/page-supplier?)

I have used it to find outgoing links in general and outgoing links to a particular URL that needed to be updated.


Tags: confluence-administration
include page and toc
Asked by Shannon Barnhart:

Is it possible to exclude certain macros from displaying on an included page using the include page macro? Specifically we want to exclude the TOC from the included page.


Answers:
author: Shannon Barnhart
body: It could, but also integrate with Comala Workflows so we want to ensure only published versions of a page are included.


author: Giles B
body: Would the [excerpt](https://confluence.atlassian.com/display/DOC/Excerpt+Macro) and [excerpt include](https://confluence.atlassian.com/display/DOC/Excerpt+Include+Macro) macros do the trick?
Link to auto download attachment
Asked by Rachel Berg:

Can an attachment link just be an automatic download? Instead of opening within the same window?


Answers:
author: Surbhi Soni
body: [@Rachel Berg](/t5/user/viewprofilepage/user-id/982355) here what I did it to get auto-downloadable links in Confluence.

Note: We have Cloud Instance.

1) Attach the file required using "Attachment" option.

![Screenshot 2021-05-07 at 12.46.13 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/142482iAC1D990A252798EA/image-dimensions/187x296?v=v2 "Screenshot 2021-05-07 at 12.46.13 PM.png")

2) Now go to the page in Edit mode.

3) Choose to add macro "Attachment". In the preview window of this macro, find your uploaded attachment ..

4) Copy its url. Click cancel. Do not add this macro. We just wanted its url.

5) On the page, make a text linkable (click "Link") , and add url and its required text.

And its done. :)


author: Rachel Berg
body: The files I attached last year automatically download to the local drive, any file attached recently just opens a preview. Also, in the context of my team wiki, it doesn't make sense to navigate from attachment to attachment in the preview window. Is there a way I could turn off that feature?


Tags: confluence-administration
Confluence cannot start on Ubuntu 16.04 (HTTP Status 500 - Confluence is vacant))
Asked by Michele Costantino Soccio:

Hello,

after upgrading to Ubuntu 16.04 (from 15.10) Confluence doesn't want to start any more. I have the following exception:

```
HTTP Status 500 - Confluence is vacant, a call to tenanted [public abstract net.sf.hibernate.connection.ConnectionProvider net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()] is not allowed.
```

My .

I have found a few answers about this same problem (for example [this knowledge base](https://confluence.atlassian.com/confkb/confluence-generates-confluence-is-vacant-error-on-install-779164449.html)), but none seems to apply to my case.

I am suspecting that the issue would come from MySQL, which in Ubuntu 16.04 is bumped to version 5.7, while Atlassian says that its (great) products support up to MySQL 5.6. But before hampering my system, I would like to see if I am missing anything.

Any idea?

catalina.out  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/71730/1/catalina.out){#display_1186f57d863770_0}


Answers:
author: Michele Costantino Soccio
body: Solution is described in [this knowledge base article](https://confluence.atlassian.com/confkb/confluence-fails-to-start-with-error-unknown-system-variable-storage_engine-using-mysql-5-7-x-789090576.html), and it's about the fact that
> MySQL 5.7.x uses InnoDB by default, and has removed the storage_engine system variable.

Following the instructions solved the issue.

While I'm writing Confluence does not support MySQL though. So I wouldn't recommend this setup for production environments.


Tags: confluence-administration

mysql

ubuntu