youngmon/atlassian-qna huggingface dataset:
I am setup to be a Space Administrator. I need to be able to is let others add "sub-pages", but restrict editing of the primary section pages. Is this possible?
Asked by Willis Njuguna:

Confluence v 4.3.5


Answers:
author: Isaac Montes
body: Hello Willis,

If I understand your question correctly what you need is to add restrictions to the pages you want edit restrictions. To do this select the Tools(gear) then select restrictions and add the users or groups this page is restricted to. Child pages should inherit the restriction. If you want different restriction on the child page you can add them.

Refer to [Page Restrictions](https://confluence.atlassian.com/display/DOC/Page+Restrictions)


Tags: child-page

restriction

space
Can output of an inline macro with no body be searchable?
Asked by Matthew J. Horn:

I have a macro that ouputs a class name as a link to our API references. The output is currently inline, so that there are no breaks before or after the macro itself. This lets you write a sentence like "For more information about the BlahBlah class, see xxx...." where BlahBlah is a link to the class.

There's no macro "body" (changing the macro to render the "body" lets it be searchable -- but this also causes Confluence to wrap the macro in \<p\> tags so that its output is no longer inline).

The bottom line is that when I search for "BlahBlah", this instance of the term does not show up, probably because its defined by the macro.

So, the question is, is there a way to make an inline macro searchable?


Answers:
author: Sean King
body: If you set the Macro Body Processing to "Rendered" it doesn't put the content inside paragraph tags.

Setting it to "Unrendered" will put in p tags and setting it to "Escaped" will put it in p tags and show those p tags on the page.


Tags: macro

search
"Edit document" button is disable(Office Connector)
Asked by Pedro Sousa:

Hi users,

I have a version 3.3.1 of Confluence Installed in my company and exists a user with a problem when he tries edit a document using office plugin.

"edit Document" button is shown disabled, I would like to know why happens this event.

The user has permission to Edit page and Add Attachments in Space.

Best Regards

Pedro Sousa


Answers:
author: Chuck Gould
body: Pedro,

I would encourage you to work with the group that maintains your systems and see if they can adjust the configuration on one machine or test this option for you or provide an additional browser option for you.

We have learned over time that Internet Explorer on some sites and some web applications needs this setting. In practice what we recommend is having alternative browsers available so an individual can switch if needed to another browser.

In general we have found FireFox to be the most consistent behavior across web sites and applications. I hate to say that because I am a Chrome user, but I have fewer problems with FireFox than any other browser.

comments: author: Pedro Sousa
body: Hi Chuckthis problem occurs only with one user. The button is shown disabled for him. Another users can edit documents using office conector.Then the problem is not the browser, is the user, but I don't know how to solve the problem.I've tried remove the user from the group and re-add, but it's unsuccessfully.


author: Chuck Gould
body: We found in Confluence 3.4.9 that Internet Explorer needed to be set to Compatibility mode for some features to work, perhaps this is a similar situation.

Typically this is found under the Tools menu.

comments: author: Pedro Sousa
body: Hi Chuck

Im My Company, the option "Compatibility mode" was disabled of browsers. I don't able to active this option beacuse I am not Administrator of my Computer :(


author: Bruna Griebeler
body: Hi Pedro!

Check if the user have MS Office and or Open Office properly installed. Usually this is the problem.

But just in case, also check if the Webdav Plugin is properly enabled. You can check this on Confluence Admin \> Plugins.


author: Pedro Sousa
body: Someone help me?


author: Pedro Sousa
body: Hi Bruna,

This user has Microsoft Office 2003 installed in his computer and his browser is IE8


Tags: confluence-app
Converting MediaWiki to Confluence in OnDemand setup?
Asked by Philip Lehmann-B?hm:

Hi,

I'm having the task to migrate a Mediawiki to our OnDemand Confluence instance. Is the Universal Wiki Converter available in such a situation? If not, do I have an alternative beside a lot of manual copy \& pasting?


Answers:
author: Abdulrazaq Mohammed Ali Omar
body: You'd need to do this on a local Confluence installation, and follow similar steps [as this post.](/questions/32751/migrating-documents-from-mediawiki-to-confluence) Make sure you download [Confluence OD](http://www.atlassian.com/software/confluence/download-od) locally. Then prepare a space by space export to be import into OnDemand. It's a fair amount of manual work, but I believe it might be better than manually copy/paste everything.


author: stevehallock
body: Hello,

We are also looking to migrate/import our mediawiki to our Confluence cloud.

As the cloud portion and mediawiki are already in place, I am wondering if the local install of Conlfuence cloud is the recommended path to doing so? From what I gather (with the exception of this article), this may not be necessary and the steps to migration require an install of UWC outlined here <https://migrations.atlassian.net/wiki/display/UWC/UWC+Quick+Start>, then an export of the mediawiki outlined here <https://migrations.atlassian.net/wiki/display/UWC/UWC+Mediawiki+Notes>.

Can you confirm the recommended path to achieve such a migration?

Thank you kindly,

-Steve


Tags: cloud

confluence-cloud

universal-wiki-converter
Linking to Archived Mail in Confluence 5.0.1
Asked by Giles Parnell:

Is it possible to link to Archived mail in Confluence 5.0.1?

I saw this page in the [Conf 3.5 documentation](https://confluence.atlassian.com/display/CONF35/Linking+to+Mail), but can't find someting similar in the latest version of the documentation.

Does anyone know if this is still possible?


Answers:
author: LuizA
body: Hello Giles,

In a first moment I think this is not possible due to doesn't have documentation that explains this procedure for Confluence 5.0.1, however IMHO I would suggest you to try this configuration in your Confluence 5.0.1(even it is for Confluence 3.5) and see the results.

Hope this helps.

Kind Regards,

LJ.
SQL Marco fixing the position of the header row & 1st left column
Asked by Wei:

Dear all,

I am using SQL marco inside wiki's page, however, is it possible to fix the 1st row (header) and the 1st left column?

The SQL query like here:

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ``` SELECT ASSET_NUMBER AS 'Server',LOCATION_NAME AS 'Location',MAX(IF(LABEL='x64 / x86',STRING_VALUE,NULL)) AS 'x64 / x86',MAX(IF(LABEL='DNS',STRING_VALUE,NULL)) AS 'DNS',MAX(NETWORK_ADDRESS) AS 'IP Address',MAX(IF(LABEL='Internal IP',STRING_VALUE,NULL)) AS 'Internal IP',MAX(IF(LABEL='(RDP) IP Address',ST ``` ``` ? ``` ``` ? ``` |


Answers:
author: Wei
body: Thank you Bob.


author: Bob Swift (personal)
body: The only options you have are css on the table :(.


author: Wei
body: @Bob Swift, it is not the whole table we wanted to modify. We just want to add a \<div\> on the header row. So I can apply CSS on this \<thea\> div

i.e.

```
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;header&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;/table&gt;
```


author: Bob Swift (personal)
body: You have [Common table capabilities](https://bobswift.atlassian.net/wiki/display/TBL/Common+table+capabilities) which allows you to set the class of the table, perhaps that will work. You can also use the div macro.


author: Wei
body: @Bob Swift, I have found out a way to fix the header row while scrolling via CSS. However, I need to put an extra \<div\> in place to achieve this, however I am restricted by the control I have on the HTML output by SQL query marco. Is it possible to have more control on the SQL macro's HTML output?


author: Bob Swift (personal)
body: Ah, having the header row fixed while scrolling. I do not know how to do that with the current implementation.


author: Wei
body: @Bob Swift, thank you for getting back to me on this. I have found a way to embed CSS on the page, however due to the fact this table was done by the SQL query, I can't style the header row the way I wanted. Ideally I wanted to fix the header row where it just stays regardless eihter you scoll up or down the page. Currently if you scroll down the page, the header row disppears. Hopefully this makes more sense.


author: Bob Swift (personal)
body: Not sure what you mean by **fixing** . For a specific page, use the css/style macro's front [Content formatting plugin](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.contentFormattingMacros)


author: Wei
body: I have found out I can edit global CSS, however is there a way to put a CSS for a specific page?


Tags: macro

sql
Importing Word document - heading transformation
Asked by Martin Kellner:

After importing a word document and splitting it at the import, the headinglevels are reset for the documents that are not on the top-level of the document tree. if Heading was "Heading 3" e.g. it is now "heading 1" in the subpage. Can I keep the levels when importing the word document?


Answers:
author: RianA
body: It seems that you're hitting a known bug with splitting on headings, and unfortunately there's no workaround yet. For more information please refer to the following bug report.  
\* <https://jira.atlassian.com/browse/CONF-23002>

comments: author: Martin Kellner
body: I don't know if it fits the issue.

If I have a Word document using e.g. 4 heading levels and I split it in a way that the word heading levels 3 +4 are together on single Confluence pages (each H3 makes a new page containing H4s), they become H1 and H2 in the Confluence pages. Does this fit?


author: RianA
body: It seems it fits. As if you split from the headings, and the rest is heading 3, and heading 4, it won't preserve the heading, instead it will convert to heading 1 and heading 2 :)


Tags: heading

import
Storing confluence attachments in database or file system / best practice
Asked by chrisi:

Hi,

what reasons would there be other than running confluence in a cluster to store attachments in the database? ok backup may be a little bit easier but since I backup the home-directory anyway there is no big difference, isn't it?

The local file system access is much faster than our db-connection and if there are a lot of large attachments i would think this would slow down confluence noticeably.

Besides, there must be a reason why file system storage is the default configuration...

thanks in advance for your opinions and experiences!


Answers:
author: Tiago Comasseto
body: Hi Chrisi,

I can't think in any other reason besides facilitate the backup operation in a non-clustered environment, in fact, depending on the system configuration, store into the database can be wrost than storing into the file system, as you mentioned, file system tends to be faster than database.

Cheers


author: David Grierson
body: Not so much back-up but production/DR replication for site failover purposes would be easier with the attachments held in the database.

If the attachments are on a filesystem being replicated (e.g. SRDF or snapshots) and the database replicated separately then to recover to DR you need to make sure that your replication is in sync.

Holding all of the data in the same place would mitigate this requirement.


author: Craig Oliver
body: It depends on the features of the database you have available and its performance. For example if you can afford a well specified Oracle Database and sufficient cache memory then performance of confluence with attachments is pretty good.

If you also have a database replication option such as Active DataGuard then you can replicate your whole database (with attachments) to another site and configure confluence for high availability using DNS resolution (e.g. F5 GTM).

Your attachments and pages are always going to be kept in sync on the remote site, and your recovery point and time of operation will be almost immediate.

If you were trying to do this with your attachments stored in a filesytem - perhaps using a regular rsync with cron... in the event of failure the attachments are likely to be out of sync with the database data.

However Atlassian have now deprecated database attachment storage... I would like to the reasons behind this decision.


Tags: attachment

database

file-system
Can we have Verified Atlassian ID?
Asked by Vi?ar Svansson [Tempo]:

I have tremendeous problems beating the CAPTCHA system in Confluence. I am sure I am not the only one. This is very frustraiting when working on CAC or other public Confluence instances.

I propose that Atlassian accounts can be verified. Verified accounts should not be promted with a CAPTCHA.

Cheers,  
Vi?ar


Answers:
author: Giuliano C.
body: Hi Vi?ar,

<br />

I know how you feel about it, since it could take your time with the errors on the verification of both ID's asking for CAPTCHA. It's a good propose to take a look.

However, could you please clarify what kind of issues are we experiencing beating the CAPTCHA system in Confluence? May be we can find a possible way to avoid you to experience this kind of frustration.

Regards,

Giuliano

comments: author: Vi?ar Svansson [Tempo]
body: My problems with CAPTCHA in Confluence is that it takes me from 2-5 tries to guess the text after trying a few strings. I don't consider myself to be handicapped in any way so that I should not have a problem with it or need any special aid.

I assume that Atlassian employees do not have to enter the CAPTCHA on COC. So you could try to enable it for all users. I am sure that you will discover what I am talking about very soon after :-)


Tags: atlassian-id

captcha
How to repeat table header on new page
Asked by Steffen Heller:

Hello,

did anyone manage to create PDFs with long tables that extend over several pages and have a table header on every new page?

I tried

```
thead {display: table-header-group;}
```

And on this [page](http://stackoverflow.com/questions/274149/css-repeat-table-headers-in-print-mode "page")someone mentioned that for Flying Saucer this had to be added:

```
table {-fs-table-paginate: paginate;}
```

I tried PDF exports with both but nothing happened. When I create a PDF with the print function of the browser it works though.


Answers:
author: Erik S?derstr?m
body: Did anyone find an answer to this? I'm stuck trying to get repeating headers for our tables in our PDF Exports from Confluence 5.4.

comments: author: Cheryl Schmelzer
body: Has anyone been successful at getting table headers to repeat? Thank you.


author: Steffen Heller
body: I am also still interested (but also pretty certain that it doesn't work).Just tried again with.wiki-content .table-wrap .confluenceTable thead {display: table-header-group;}.wiki-content .table-wrap table {-fs-table-paginate: paginate; }


author: Sean Curtis
body: I'm guessing this is for Confluence? If so does the markup use a and elements? I remember seeing elements styled as heading rows. If they are cells then check if their surrounding has a class relating to it being a heading row as opposed to a content row. If it does then try adding display: table-header-group; to it.

comments: author: Steffen Heller
body: Well, the heading of the table is surrounded by a \<thead\> element and the header cells are \<th\>. But when I add the "display: table-header-group" to any of these element it has no effect.

I suppose it is not working with flying saucer. But proof of the opposite would be more than welcome.

@Sean: The following sentence I do not understand. Is there a word missing perhaps?
> If so does the markup use a and elements?


author: Sean Curtis
body: I will have a play when I'm at work tomorrow. Not sure if keeping the thead at the top is default browser behavior or not. Printing to PDF is probably different too.


author: Sean Curtis
body: Sorry it looks like HTML chars are removed. It was thead and td


Tags: css

table
Multiple plugin upload
Asked by AyJay:

Can I upload multiple plugins (add-ons) in a batch, or do I need to upload and install each one separately.


Answers:
author: RianA
body: Hi there,

Please bear in mind that you **can't do the same thing like JIRA** as Confluence stores their plugins inside PLUGINDATA table in Confluence database. If you would like to upload the plugins, you could download them in batch and upload the jar or zip file one by one. For more information please refer to the following documentation.  
\* [https://confluence.atlassian.com/display/UPM/Installing+Add-ons](https://confluence.atlassian.com/display/UPM/Installing+Add-ons?from=x2Q)

Hope this helps

comments: author: childnode
body: so, the answer is no?!

Is there a feature request we can vote on?! ;)


author: Rilwan Ahmed
body: You can upload in bulk using this shell script which needs to be run in CONFLUENCE server.  

#!/bin/bash  
# Put plugin names in plugins.txt in same folder from where you execute this script

<br />

function get_tocken() {  
token=$(curl -sI "$url?os_authType=basic" \| grep upm-token \| cut -d: -f2- \| tr -d '\[\[:space:\]\]')  
}

function upload_plugins() {  
for i in \`cat plugins.txt\`  
do  
echo -e "\\n$i"  
get_tocken  
echo -e "\\n$token"  
curl -XPOST "$url?token=$token" -F plugin=@$i  
if \[ $? -eq 0 \]; then  
echo -e "\\n$i is uploaded successfully"  
else  
echo -e "\\n$i upload failed"  
fi  
done  
}

url="USERNAME:PASSWORD@localhost:PORT/rest/plugins/1.0/"  
upload_plugins

<br />

Follow below steps:  
-----------------------  
1. Copy all plugins to any directory in the server. Consider: /tmp as example  
2. Create a file plugins.txt which should contain the full path to the jar/obr file.  
/tmp/PluginFileName1.jar  
/tmp/PluginFileName1.jar  

3. create above script in the /tmp folder.  
4. Grant appropriate permissions to all related files and folders  
5. Run the script.  

Output will be like this.  

comments: author: sapsi rodut
body: hello,

i'v tried your script with a bulk of over 20 apps it only uploads the last plugin in jira


author: AyJay
body: Yes, I am aware that I can install them one by one. Downloading them in batch is not the problem.

That is why I am asking how to **upload and install** them in batch.

But I gather that it is not possible.


author: Rahul Aich [Nagra]
body: Yes, you can do it by manually copying the plugin(s) to your plugins/installed-plugins/ directory.

Have a look at this link for details

https://confluence.atlassian.com/display/JIRA044/Managing+JIRA's+Plugins

Rahul

comments: author: AyJay
body: Well, not quite what I was looking for since I need to stop/restart **Confluence**. Also, I have to do the installation checks manually. And it broke some of the links/labels...


Tags: confluence-app

download
How to remove unwanted macro of wiki pages ? [Confluence 4.3.5]
Asked by Rowens Hsu:

Because the license of table-plus macro is no longer valid, the wiki page displays the following message:

![](../../upfiles/2_6.png)

Edit the page:

![](../../upfiles/1_11.png)

Doing the copy-and-paste or using source-editor is not so intuitive.

What is the best way to remove unwanted macro?

Thanks.


Answers:
author: Bob Swift (personal)
body: This has been answered before. Briefly, you can

1. Implement a simple user macro with the same name that just renders the macro body unchanged
2. Disable the table plugin
3. Test

Make sure you are not using the csv macro on your site - there is no easy replacement for that.


author: Rodrigo Girardi Adami
body: Hi Rowens,

To remove a macro from a page you can click over the macro name (in the picture above click over Table plus name for example) and the whole macro will be marked. After that you can hit the delete button to remove the macro.

If you can't access a page due some corrupted macro, you can use this URL to access and edit the page:

http://\<baseurl\>/pages/editpage.action?pageId=\<pageID\>

Just change the baseURL and the pageID for the actual ones being used.

Hope that helps!

Regards,

Rodrigo
How to refer to an anchor in page A from page B
Asked by MPal Pal:

Say I have an anchor named "test" in page A. I use A#test from page B. So when user clicks the link in page B, I expect him to be navigated to the anchor point in page A.

But this doesn't happen right now. User gets landed somewhere in the middle of page A where is there is no anchor. I am using firefox. Can this be a browser issues please?


Answers:
author: Kirstin Seidel-Gebert
body: I have got the same problem. This may be due to a Firefox bug (that is known for a long time): <https://bugzilla.mozilla.org/show_bug.cgi?id=645075>

Try it with IE or Chrome - with me it works then.


author: MPal Pal
body: I am using cofluence 4.2.2 but this problem might occur in other versions as well. Not sure about that.


author: MPal Pal
body: Hi Park,

1. It happened right after adding the anchor to page A and referring from page B.

2. It works correctly in IE 9.

3. Both pages are on the same space.

Maybe there is a setting in Firefox which I can change to get this to work?

comments: author: Chung Park Chan
body: Which version of Confluence is affected?


author: Chung Park Chan
body: 1. When do you start experiencing this issue?
2. Have you tried this with other browsers?
3. Is the two pages in the same space?

Besides, the guide for using anchors in Confluence can be found here:

<https://confluence.atlassian.com/display/DOC/Working+with+Anchors>


Tags: anchor

link
How can i customize the system error web page displayed when a stack trace occurs?
Asked by Joe Linoff:

How can I customize the system error web page so that it does not show a stack trace?

We use SSO (CAS based) and during development saw stack trace messages that would give an attacker information that might be useful so we would like to turn it off for production.

My preference would be to display a message like "an internal error occurred". We could then troll the logs on the server to find the stack trace information.


Answers:
author: dleng
body: <https://confluence.atlassian.com/display/JIRAKB/Remove+information+from+the+500+page>

comments: author: Joe Linoff
body: Thank you. This is exactly what I needed.


author: Cheryl_Fogle
body: The link above no longer works. Is it still possible to turn off the stack trace that appears on error pages? If so, where might I find the instructions on how to do this.


Tags: confluence-administration
How to do I access an an html file stored in /var/confluence/confluence-data/script/ via the confluence url ?
Asked by Julio Mugabe:

I don't know whether this is possible or not but I have an html file that is stored on the Confluence home directory, see location above and would want to access it via the url.

For example I would like to enter something like <https://confluence.abc.com/script/xyz.html>

Let me know if this is possible or if there is another way of doing this. Please note that this html file will not display via the iframe and html macros.


Answers:
author: Amalia
body: This is not possible. A workaround is to store this html file in the Installation Directory of Confluence instead. For example, if you store *test.html* inside *\<confluence-install\>/confluence/html* folder, then you need to access this file by: *http://\<confluence-url\>/html/test.html*

comments: author: Julio Mugabe
body: Thanks Amalia..

That was very helpful.