youngmon/atlassian-qna huggingface dataset:
How do I get the {toc} macro to exclude certain headings, such as the table of contents header itself
Asked by Jennifer Peterson:

When I use {toc} it lists its own header "Table of Contents" in the table of contents. How do I get it to ignore certain parts of the space, like tip boxes?


Answers:
author: Pepe
body: Your only real configuration option is to limit the depth that is shown so you have a couple options.

1. Don't include a heading above your toc

2. Use a h1 above the toc and h2 or less in the document - configure the marco to show a depth of 2 to 7

#1 is the best way to not show the toc heading and limiting your toc depth is usually a good thing anyway.


author: Jan Anderson
body: By the way, someone else has provided the answer to my "exclude multiple headings" question. In Exlude headings you simply put: (Table of Contents\|Assumption). Very nice and easy.


author: Jan Anderson
body: Put "Table of Contents" in the Exclude Headings field. Then it doesn't really matter where you place it or even what Heading type you put on it. But you first have to add and Save the Table of Contents heading (it shows in Preview) BEFORE you will be able to exclude it.

What I am trying to figure out is how to exclude 2 or more headings. Haven't quite figured that one out yet.

image2015-3-13 11:20:12.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-get-the-toc-macro-to-exclude-certain-headings-such-as/qaq-p/345618?attachment-id=3412){#link_118bf5362628d6}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/156444/1/image2015-3-13%2011%3A20%3A12.png){#display_118bf5362628d6_0}  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-get-the-toc-macro-to-exclude-certain-headings-such-as/qaq-p/345618?attachment-id=3413){#link_118bf5362628d6_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/156444/2/image2015-3-13%2011%3A18%3A4.png){#display_118bf5362628d6_2}


author: Sneha_Ganesh
body: I tried this workaround for "mini-TOC".

**Scenario:**

Using current TOC Macro, my test page would look like this:

**FRUITS**

* Apple
* Mango
* Grapes

**VEGGIES**

**SNACKS**

**To include a Mini-TOC within the First heading:**

1. Insert TOC Macro
2. Edit the TOC Macro
3. In the Include and Exclude fields,

I use the following Regex :

In the Include field **start** word with .\* Example .\* FRUITS

In the Exclude field **end** word with .\* Example SNACKS.\*

If you want to include more than a word use this format .\*(Apple\|Mango\|Grapes)

If you want to exclude more than a word use this format (SNACKS\|VEGGIES).\*

**Result:**

FRUITS {#toc-hId--1416402889}
-----------------------------

Some types of fruits

* Apple
* Mango
* Grapes

### Apple {#toc-hId--725841415}

A fruit a day keeps the doctor away

### Mango {#toc-hId-1761671418}

A fruit a day keeps the doctor away

### Grapes {#toc-hId--45783045}

A fruit a day keeps the doctor away

VEGGIES {#toc-hId--56286149}
----------------------------

SNACKS


Tags: table-of-contents
Getting error: The Atlassian Marketplace server is not reachable. To avoid problems when loading this page, you can disable the connection to the Marketplace server.
Asked by J:

When I navigate to Manage Add-ons, from the Confluence Admin page, I get the error:

The Atlassian Marketplace server is not reachable. To avoid problems when loading this page, you can disable the connection to the Marketplace server.

The error in the log is:

2013-03-01 18:37:02,756 WARN http-80-52 atlassian.upm.pac.PacClientImpl unknown Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

-- url: /plugins/servlet/upm \| userName: xxxxx\| referer: [http://xxxxx/authenticate.action?destination=%2Fplugins%2Fservlet%2Fupm](http://xxxxx/authenticate.action?destination=%252Fplugins%252Fservlet%252Fupm)


Answers:
author: J
body: The solution to this issue is found here:

[https://confluence.atlassian.com/pages/viewpage.action?pageId=321850263\&utm_source=SAC\&utm_medium=hercules-issue-view\&utm_content=420060](https://confluence.atlassian.com/pages/viewpage.action?pageId=321850263&utm_source=SAC&utm_medium=hercules-issue-view&utm_content=420060)


Tags: universal-plugin-manager
Customising the Confluence OnDeman Dashboard
Asked by James Lancer:

Does anyone know how to customise the Confluence OnDemand Dashboard for the 5.0 version just updated over 2/24? The only reference I can get is for JIRA but not Confluence for the OnDemand instance.

For example I'd like to eliminate the whole "Get Started" region, reduce the updates region size OR provide the ability for the Space Directory to be the default Dashboard page.

Thoughts welcome?


Answers:
author: Bruno Rosa
body: Currently it's not possible to edit the Confluence OnDemand dashboard, the only thing that you can change on it is the welcome message. If you really need to customize the landing page of your instance, Jeison's suggestion would be your best bet.

Cheers,

Bruno Rosa


author: Michael Knight
body: Note that the "Get Started" section is only shown for administrators.


author: Jeison
body: How about editing a page as you wish and make it the landing page for Confluence?

You can do that by creating a page in a Space, setting it as the Space homepage (through space admin), and then setting this space as the site Homepage (through Confluence admin \> General Configuration).

Hope that helps!


Tags: cloud

confluence-cloud
Insert Zoho Form
Asked by Matt Wood:

I am trying to insert a Zoho Form (iframe snippet) into a Confluence Page, but all I am seeing is the definition, which includes a link to the form:

Thanks!

\<iframe height='500px' width='100%' name='zoho-Feedback' frameborder='0' allowTransparency='true' scrolling='auto' src='this is where the link to the form is'\>\</iframe\>


Answers:
author: JohnA
body: Hi Matt,

I'm sorry to say that it isn't permitted to use iFrames or any other HTML macros in OnDemand because they could allow arbitrary HTML and JavaScript to be run in Confluence, which would be a security vulnerability, and therefore this is one of the restricted functions of the OnDemand platform: <https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>

All the best,  
John


Tags: cloud

confluence-cloud
Why does custom logo display in circular format?
Asked by Sandy H.:

When I started setting up Confluence a few weeks ago, I added our company logo to the top of each page. Now it displays in circular format, which looks terrible. Is there some way to revert back to the rectangular display? Thanks in advance.


Answers:
author: Bruno Rosa
body: Sandy, as it turns out it's not possible to revert it back to the rectangular display. You can find more information about this change - as to why it happened - here:

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

Cheers,

Bruno Rosa


Tags: cloud

confluence-cloud
Multiple users editing a spreadsheet at the same time
Asked by Chuck Minarik:

I've run into a problem using the Office Connector in Confluence.

How do I prevent two users from editing a spreadsheet at the same time and overlaying each other's changes?


Answers:
author: Ryan Goodwin
body: Hi Chuck!

There is a plugin available for purchase on the [Atlassian Marketplace](https://marketplace.atlassian.com/plugins/com.arsenale.plugins.lockpoint) that allows for checkout functionality with attachments. Confluence does not natively have attachment checkout. I believe this will meet your requirements for single user edits at a time on an attachment.


author: Sukhbir Dhillon
body: [@Chuck Minarik](/t5/user/viewprofilepage/user-id/723562) [Excellentable](https://marketplace.atlassian.com/plugins/Addteq.Excellentable/cloud/overview "Excellentable") spreadsheet for confluence provides collaborative editing. Now multiple users can edit the same spreadsheet without waiting for other users to complete their work. We are supporting up to 5 users to work in the same session and are working to support it up to 20 simultaneous users in the near future.


author: Thomas Kreft
body: This really should be standard functionality, and there are long standing Confluence feature requests for this - please consider watch/vote/comment on the following issues:

<https://jira.atlassian.com/browse/CONF-2841>  
<https://jira.atlassian.com/browse/CONF-4462>  
<https://jira.atlassian.com/browse/CONF-17104>

comments: author: Steffi Frank
body: Done!
How can i add an add on to my Confluence OnDemand ?
Asked by Edgar Edel:

i would like to download some templates for pages, currently there is just only one blank template for pages for Confluence OnDemand i would like to get a template for my meetings


Answers:
author: Bruno Rosa
body: Edgar, currently external Confluence templates are not supported, as per the Restricted Functions in [Atlassian OnDemand](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand).

Cheers,

Bruno Rosa


Tags: cloud

confluence-cloud
Can you restrict viewing/editing to a set of pages within a given space?
Asked by Jonathan Mendelson:

Suppose I have a space FOO. In FOO, there are several pages:

FOO

- Page A

-- Page A1

-- Page A2

--- Page A2.1

--- Page A2.2

- Page B

-- Page B1

-- Page B2

--- Page B2.1

--- Page B2.2

Additionally, suppose that I have two groups. Users is the default group and has permission to view/edit all pages in the space by default. External is another group setup to handle a select set of contractors who should ONLY see Page B2 and its children (no other pages should be visible or editable).

Is there a way to set up the permissions within Confluence to cause this sort of behavior? I don't know that it is is possible without changing the hierarchy.


Answers:
author: AndrewA
body: I assume B2 is a child page of B yes? If so, then no I'm afraid there is no way to do this. In order to see B2 and it's Children the contractors gorup will need to have view permissions of page B. Also, you can restrict viewing of page A to the non contractor group which will keep them from seeing A and all it's children.

For more details on this topic, you may find the follwing link helpful.

[Page restircitons in Confluence](https://confluence.atlassian.com/display/DOC/Page+Restrictions)

Cheers,  
Andrew
medical product directory
Asked by Alexander Theiss:

I have a question.

We are working in a medical office in germany. Our authorities demand a written directory of all the instruments we use in our office (ultrasound devices, endoscops aso). Is there an app oder something that can help us to register all this porducts, add the operating instructions and the certificates of the required cheks of these products?

Thanks


Answers:
author: Alexander Theiss
body: we decided to buy another aoftware for organizing this content, confluence wasn t ideal to do this.


author: Ryan Goodwin
body: Hi Alexander,

This can be done by customizing JIRA to track inventory as issues which takes some detailed configuration to make it work the way you need in your org.

<https://confluence.atlassian.com/display/JIRAKB/Using+JIRA+for+Resource+or+Portfolio+Management>

There are also some plugins out there that can do this:

<https://marketplace.atlassian.com/plugins/com.polontech.jira.warehouse>

Next I would search the web for blogs or stories of successful implementations.

<http://www.thesimplepmo.com/2012/01/jira-for-server-inventory-management.html>

Hope this helps!


author: Julia Levcovets
body: You find helpful checking our JIRA Warehouse plugin, it can manage instruments you are using in office etc.:

<http://polontech.com/en/portfolio/jira-warehouse-automate/>
Confluence 2.10.2 stopped working due to connectivity issue between cluster nodes, especially multicast traffic?
Asked by Mervyn Fealy:

We are currently unable to access our test deployment of Confluence. The following error is present when we try to access the homepage:  
Database is being updated by an instance which is not part of the current cluster. You should check network connections between cluster nodes, especially multicast traffic.  
We have a 2 node Oracle RAC and we are running a clustered version of Confluence v2.10.2. Our application server is running Oracle Weblogic 9.2  
I have troubleshooted the issue using the Confluence documentation online. Consequently we ran a Multicast test on both nodes. Here are the results of the Multicast Tests we ran.  
on Node 1:  
\*\*\*\*\*Problem\*\*\*\*\*\*\*  
java.net.UnknownHostException: igb1: igb1  
at java.net.InetAddress.getAllByName0(InetAddress.java:1145)  
at java.net.InetAddress.getAllByName(InetAddress.java:1072)  
at java.net.InetAddress.getAllByName(InetAddress.java:1008)  
at java.net.InetAddress.getByName(InetAddress.java:958)  
at utils.MulticastTest.\<init\>(MulticastTest.java:68)  
at utils.MulticastTest.main(MulticastTest.java:233)  
on Node 2:  
\*\*\*\*\*Problem\*\*\*\*\*\*\*  
java.net.UnknownHostException: igb1: igb1  
at java.net.InetAddress.getAllByName0(InetAddress.java:1145)  
at java.net.InetAddress.getAllByName(InetAddress.java:1072)  
at java.net.InetAddress.getAllByName(InetAddress.java:1008)  
at java.net.InetAddress.getByName(InetAddress.java:958)  
at utils.MulticastTest.\<init\>(MulticastTest.java:68)  
at utils.MulticastTest.main(MulticastTest.java:233)  
Does anyone know how we can resolve this issue and get our test deployment of Confluence running again?


Answers:
author: twong_atlassian
body: Looks like you're having name resolution problems: the host doesn't know what igb1 is. Try nslookup or dig from the problem host for igb1?


Tags: connection

data-center

error

host

weblogic
jira gadget parameter
Asked by Mathias Diehl:

sorry folks, but after reading docu for some hours I still can't find how to define paramater when adding a jira gadget to a confluence page.

I registered the communication between my jira and confluence and can add issues for example.

I found the gadget URL as follows:

{gadget:url=http://pm.xx.net/jira/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:road-map-gadget/gadgets/roadmap-gadget.xml}

{gadget}

the gadget is empty. How to configure the project and other details of this gadeget?


Answers:
author: Joe Clark
body: You need to use the Confluence macro browser to edit the gadget options before saving it in the page.

You should see a dialog like this where you can configure the gadget:

![](../../upfiles/gadget_4.png)

comments: author: Andrew Frayling
body: Similar question, but for JIRA gadgets, can you pass parameters in the URL, e.g.

https://netcollab.atlassian.net/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:created-vs-resolved-issues-chart-gadget/gadgets/createdvsresolved-gadget.xml?projectOrFilterId="DEMO"

???

See [https://answers.atlassian.com/questions/129575/adding-jira-gadgets-in-a-google-site](/questions/129575/adding-jira-gadgets-in-a-google-site) for more details on what I'm trying to do.

Cheers,

Andrew.


Tags: gadget
Confluence local user login error
Asked by Blazej Chabierski:

Hi,

I need to login as a local user admin to edit ldap informations but I'm having some problems with it.

I've created a local user and gave him admin rights and after loggin in I get this error:

System Error {#toc-hId-1647387457}
----------------------------------

A system error has occurred --- our apologies!

### (...) {#toc-hId--1101283009}

### Cause {#toc-hId-641527326}

java.lang.ClassCastException: com.atlassian.confluence.user.SessionSafePrincipal cannot be cast to com.atlassian.user.User  
at com.atlassian.confluence.user.AuthenticatedUserThreadLocal.getUser(AuthenticatedUserThreadLocal.java:25)

(...)

Does anyone have any ideas how to solve this ?

Thanks


Answers:
author: dleng
body: There is a bug report for this here:https://jira.atlassian.com/browse/CONF-26547

It appears that you are using a custom authenticator. Have a look at the comment in the bug report and see if it helps in any way.

comments: author: Blazej Chabierski
body: Thanks,

I've changed the authenticator to newer version and there is no more error.


Tags: error

ldap

login
Is it possible to use JavaScript and HTML tags for user macro?
Asked by Daisuke Niwa:

Hello there,

Is it possible to use JavaScript and HTML tags within "template" form for user macro?

Please advise.

Regards,

Daisuke Niwa


Answers:
author: RianA
body: By right it should be possible to use HTML tags for user macro as long as you use **Rendered**on the body option. For more information please refer to the following documentation.

\* <https://confluence.atlassian.com/display/DOC/Writing+User+Macros#WritingUserMacros-CreatingaUserMacro>

comments: author: Daisuke Niwa
body: Thanks.

Just to make sure, is it possible to use JavaScript as well?


author: Mustafa Abusalah
body: Yes, I used javascript before and it worked.
Automatically move a page
Asked by aaron wideen:

Is there a way to automatically move a page upon publishing? either it be a macro or a URL.

I am trying to do a work around with a problem I am running into and have my pages set up as so: a macro creates a page based off template in a different space then where the macro is housed. When the user saves the page I would like the page to automatically be moved to another space.

I tried watching the redirects confluence does when moving a page via firebug but couldnt find a URL that would be manipulated to move a page. I could use this in conjunction with the redirect macro and have the page automatically be moved.

I've also tried looking for a macro to copy or move the page but am not having any luck.

Any input will be appreciated!

Thanks,

Aaron


Answers:
author: LuizA
body: Hello Aaron,

Natively in Confluence is not possible to perform this kind of change in the way that the page is published to make an automatic redirection to another space (this is hard-coded), but what could be done here would be a customization to adjust the page publishing/creation in order to achieve this goal. To work with customizations in Confluence the best option is our Atlassian Experts, you can contact them by the following:

<http://www.atlassian.com/resources/experts>

Kind Regards,

LJ.


Tags: move
confluence JVM crash when display PDF in a page
Asked by zhang zining:

i want to display a pdf file in a confluence page

first i insert a PDF file as a attachment to a confluence page

and then i click insert -\> other macros -\> PDF

insert and save and then the confluence died

JVM crash ,

who can tell me why ?

i have tried confluence 4.1bin , confluence 4.3.6bin, confluence 4,3,7bin on centos 64?the result is same.

but windows XP 32 is ok ? why?


Answers:
author: AndrewA
body: Hi Zhang,  
During the crash you are recieving a segmentation fault correct? If so, I have come across this as well and it is a fault in the way curves are calculated by the JVM (as far as I can tell). In the terminal that Confluence is started in you see an error similar to the following yes? If so it is indeed the same issue.

```
Feb 25, 2013 3:22:44 PM com.sun.jersey.spi.inject.Errors processErrorMessagesWARNING: The following warnings have been detected with resource and/or provider classes:  WARNING: A HTTP GET method, public javax.ws.rs.core.Response com.atlassian.confluence.tinymceplugin.rest.DraftsResource.getDrafts(int,int), should not consume any entity.Invalid memory access of location 0x1bf7e240 rip=0x11bf5c55d/Applications/Atlassian/DatabaseBackend/atlassian-confluence-4.3.3/bin/OS X - Run Confluence In Terminal Window.command: line 7: 32823 Segmentation fault: 11  `dirname "$0"`/catalina.sh runlogout
```

I have yet to find a bug report with Oracle for the issue and if one is not in place I will be submitting one. With that in mind, the only option currently is to not display the PDF until a patched version of the JVM is released.

Cheers,  
Andrew


author: RianA
body: There's a [bug](https://jira.atlassian.com/browse/CONF-22867) for this earlier for this. But by right it should be fixed in 4.1.2. Please try to use normal standalone installation and see if this issue occurred there instead of installer.
CustomWare Reporting Plugin can not be instlled in Confluence 5.0 instance
Asked by Xiangfei.Li:

Dear Atlassian Support,

Currently I'm evaluating Confluence 5.0 version,and having created an instance in our test server. But when I tried to install CustomWare Reporting Plugin v4.1.0, it always failed, details you can find from attachments. Please help to investgate the problem, Thank you.

Best Regards

Li Xiangfei


Answers:
author: Septa Cahyadiputra
body: Hi Xiangfei,

In regards to your issue, the cause of the issue seems to be incompatibility of CustomWare reporting plugin to Confluence release version 5.0 as describe here:

* [CustomWare Reporting Plugin](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.reporting)

It is necessary for you to wait till the plugin become compatible.

Cheers,

Septa


Tags: reporting-plugin
How do I disable the drag image attachment
Asked by Stanley Zhang:

When I'm in a wiki page that have pictures (image) and if I accidently click and drag the picture, it will create a dupliate copy of the picture in attachment. How do I disable that?


Answers:
author: Chung Park Chan
body: Disable Confluence Drag and Drop Plugin in the System Plugins. You can also refer to the documentation here:

<https://confluence.atlassian.com/display/DOC/Using+Drag-and-Drop+in+Confluence#UsingDrag-and-DropinConfluence-Disablingdrag-and-dropforexternalfiles>


Tags: attachment

image
Assign space permission
Asked by Stanley Zhang:

Is there a way to assign the space permission to all spaces? Instead of going to every single space and grant the permission. I do have a lot of spaces on my wiki.


Answers:
author: Septa Cahyadiputra
body: Hi Stanley,

In order to achieve it you could configure your "[Default Space Permissions](https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions#AssigningSpacePermissions-Settingdefaultspacepermissions)". Please try it and see if it is what you are after.

Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: permission

space