youngmon/atlassian-qna huggingface dataset:
confluence and outlook integration
Asked by Shelly:

Is there a way to integrate confluence 5.7 with outlook, so we can use distribution lists to control page permissions?


Answers:
author: Nic Brough -Adaptavist-
body: No, not unless your distribution lists are fed back into Active Directory as groups.

comments: author: Shelly
body: Can you please elaborate a little on this?


author: Nic Brough -Adaptavist-
body: Page permissions in Confluence are handled by allocating either users or groups to them. Those two things are Confluence specific objects. Although Confluence can use its internal directory to hold them, it can also ask other services to provide them - Crowd is one route, LDAP is another. Active Directory is a form of LDAP.But distribution lists are NOT groups. They are distribution lists. If you want to use them to control Confluence access, then you need to convert them to groups. Probably via Active Directory.


author: Shelly
body: Okay, got it. Thank you.
How can I customize the Dashboard with a navigation bar, library, pictures, etc;
Asked by Gabriella Leone:

We are looking to turn our Confluence into our global organization knowledge base, but to do this the Dashboard page needs to serve as a homepage to our team spaces.

I want to know if it is possible to add a navigation bar to the left side of our dashboard, mimicking the spaces.

Basically, we have chosen Confluence over SharePoint for it's ease of collaboration but we need to make our "home page", per say, look like a SharePoint page.

Thanks in advance.


Answers:
author: Davin Studer
body: You cannot customize the dashboard for the cloud offering. But you could make a new page and set it as the global home page. On that page you could do whatever you want.


Tags: cloud

confluence-cloud

custom-field

dashboard

sharepoint
Is it possible to create multiple site-wide Confluence color schemes?
Asked by Katherine Wertz:

We want to create a set of color schemes to use site wide in our Confluence instance (red for internal-only, green for external, etc.). Is it possible to create multiple custom site-wide color schemes that appear as color scheme options in every space? If not, is it possible to copy space-level custom color schemes to other spaces? Thanks!


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Katherine,

There is a way that can be pretty convenient, using Confluence [panel macro](https://confluence.atlassian.com/display/DOC/Panel+Macro) within your website to generate coloured containers as depicted below:

Shades_of_colours.png

Alternatively you can [create a stylesheet](https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS) for content that would change the look of information according to the space, page or blog location. More about the actual form the HTML/CSS markup would take can be [reviewed here](http://stackoverflow.com/questions/12999649/change-color-of-fonts-in-div-css).  
[](https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-create-multiple-site-wide-Confluence-color/qaq-p/278319?attachment-id=2369){#link_1188a016650ea3}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/47126/1/Screen%20Shot%202015-04-14%20at%205.12.39%20PM.png){#display_1188a016650ea3_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-create-multiple-site-wide-Confluence-color/qaq-p/278319?attachment-id=2370){#link_1188a016650ea3_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/47126/2/Shades_of_colours.png){#display_1188a016650ea3_2}
I would like to know if there is a mean to extract all permissions of Confluence, for instance in order to legimitate all the roles to comply with an audit?
Asked by Udaya L?ost:

Hi all,

I would like to know if there is a mean to extract all permissions of Confluence, for instance in order to legimitate all the roles to comply with an audit?

Thanks a lot.

Udaya


Answers:
author: Rodrigo Girardi Adami
body: Hi Udaya,

There are 3 tables in Confluence database that you must verify. The spacepermissionn content_perm and content_perm_set. The spacepermissions contains the global and space permissions of Confluence. The other 2 tables contains the page restrictions.

With these tables, you can retrieve all permissions from the application to audit who has what permission, but it will involve some SQL development to create the reports.

Cheers,

Rodrigo


author: Udaya L?ost
body: Hi Rodrigo,

Thanks a lot for your answer.

I have another question, do you think there is a mean to visualize all the changes done by the administrator (for instance, the news right permissions, the changes in an article, the spaces created, etc...) and done the same thing for each contributor?

Maybe via the dashboard, I don't know...

Cheers,

Udaya
Web connection issues when installing Confluence
Asked by David B:

I am looking at purchasing Confluence. I download demo and set it up on CentOS on a VM in VMware Player. I have the networking setup so that the VM Host and this VM can ping each other and communicate (Tested using ssh and ftp) however when I try to go to <http://192.168.2.113:8090> it doesnt display a page. I have tried telnet on port 8090 and this connection will not work. They are on the same network using same router so I cant imagine the firewall is blocking this port (I also forwarded the port to make sure). I checked netstat -ano and it has an entry on there listing listening to ipv6 on port 8090. HELP I am stuck.


Answers:
author: Nic Brough -Adaptavist-
body: What does the Confluence log say when you get the blank page on port 8090? Also, you've given an ipv4 address, then said netstat is listening on ipv6 port 8090 - have you checked it's listening on ipv4, or what you get it use the ipv6 address?

comments: author: David B
body: I am not currently using ipv6 and as I read something online say that if it lists ipv6 its listening on both? But I havent found concrete evidence of this. Which log are you referring to? I am currently looking in /opt/atlassian/confluence/logs


author: Nic Brough -Adaptavist-
body: It is possible to listen on just ipv4 or 6 (although generally most systems listen on both if they're enabled), it's worth explicitly testing both thoughThe log is atlassian-confluence.log - that's the main application log. A blank screen implies Tomcat is running and listening, but not a lot else, and the main app log might tell us more about what the application is doing (it's obviously telling Tomcat it's all ok, but then doing nothing more)The other thing that my memory is muttering is "try disabling ipv6". If you stop Confluence, go find the setenv.sh file under \<confluence install\>/bin and find a line that says something like JAVA_OPTS=" $JAVA_OPTS -Djava.awt.headless=true " , try adding " -Djava.net.preferIPv4Stack=true " and restarting confluence.


author: David B
body: I apologize I was very unclear in my comment about the blank page... It says "This website cannot be displayed"


author: Nic Brough -Adaptavist-
body: No problem, could be the same thing though!
Confluence stops communicating, any ideas?
Asked by Erkki_Aalto:

One of our installations of Confluence 5.5.7 on RHEL 6 stopped suddenly responding. Confluence is behind an Apache ajp proxy The Apache error logs give messages like

\[Thu Apr 09 12:04:43 2015\] \[error\] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header (error log)

\[Wed Apr 08 14:56:49 2015\] \[error\] ajp_read_header: ajp_ilink_receive failed\[Wed Apr 08 14:56:49 2015\] \[error\] (70007)The timeout specified has expired: proxy: read response failed from (null) (localhost) (ssl error log)

Confluence and Tomcat think everything is fine: the logs contain no error messages.

This started suddenly without any changes made to the configuration. Restart and boot won't help. Any ideas what this could be?


Answers:
author: Erkki_Aalto
body: Yes, there was some kind of deadlock in the Crowd server and it made Confluence noncommunicative. Restarting the Crowd server helped!


author: Erkki_Aalto
body: Indeed, the Crowd server (RHEL7) was patched and booted at the time the problem appeared. Unbelievable, but cannot be a coincidence.


author: Erkki_Aalto
body: We are using Crowd 2.8.0 for authentication. Did not mention it as this did not look like an authentication problem.


Tags: confluence-administration
How to print atlassian-confluence-access.log by time?
Asked by Willam Won:

I want to confluence print atlassian-confluence-access.log with date, such as atlassian-confluence-access.log.20150409 not by default atlassian-confluence-access.log.1  
How to configure the log4j?  
`log4j.appender.accesslog=org.apache.log4j.RollingFileAppender`  
`log4j.appender.accesslog.Threshold=DEBUG`  
`log4j.appender.accesslog.File=${catalina.home}/logs/atlassian-confluence-access.log`  
`log4j.appender.accesslog.MaxFileSize=20480KB`  
`log4j.appender.accesslog.MaxBackupIndex=5`  
`log4j.appender.accesslog.layout=com.atlassian.confluence.util.PatternLayoutWithStackTrace`  
`log4j.appender.accesslog.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n`


Answers:
author: Willam Won
body: I want to print pageId in atlassian-confluence-access.log besides view action?How to configure?


Tags: confluence-administration
RE: Space management. Anyone know of a quick way to move select content from one general space to a new dedicated space?
Asked by Hugh Bathurst:

We have created many Confluence pages, some with many file (PDF) attachments, in a mockup general space.

Our mockup has been accepted but now we want to arrange things so all content there resides in its own space.

Being new to the Confluence game, my first thoughts were to delete and recreate in the new space but am hoping there is a move content option as I believe exists for moving content around within the same space.

Could likely make myself clearer but based on my limited knowledge this is the best I could do right now. Thanks in advance. HB


Answers:
author: Jonathan Simonoff
body: Once you've created the new space, just use the Move command under tools to move the pages to the new space. If the pages are arranged in a hierarchy, so that all are under one top page, you just need to move the top page and the others will come along.

comments: author: Hugh Bathurst
body: Many thanks Jonathan. I realised (after posting the question of course) that the Tools menu \>\> Move function does this effectively between spaces even (it appears) with large numbers of file attachments. Many thanks.


Tags: confluence-administration
We would like users to be able to submit changes to a page that could then be reviewed by an admin before posting live. Is there a way to set that up?
Asked by Nick:


Answers:
author: Nic Brough -Adaptavist-
body: Not natively - Confluence is a Wiki, it is built for rapid editing and immediate publication of change.

Of course, there's a lot of perfectly good reasons for controlling the publication, and, as you'd expect, you have addon options. Take a look in the marketplace for Comala Workflows and Scroll Versions - they both do this sort of thing, albeit in very different ways.


Tags: confluence-administration
How to upgrade to Confluence 5.6.4 from 5.1.3
Asked by William:

Atlassian Support. How do we upgrade to 5.6.4 from 5.1.3. The 5.6.4 SQL database requires a different collation which means the normal upgrade procedures will not work, simply upgrading the app.

Do you have details instructions on how to perform this upgrade for a large Confluence instance?


Answers:
author: Rodrigo Girardi Adami
body: Hi William,

You might be looking for this KB article.

Confluence must be using the SQL_Latin1_General_CP1_CS_AS as collation and also the net.sf.hibernate.dialect.SQLServerIntlDialect dialect in the confluence.cfg.xml before the upgrade to make sure that it will create the [new datatypes.](https://confluence.atlassian.com/display/CONFKB/Confluence+Upgrade+Fails+Because+SQL+Server+Could+Not+Complete+Schema+Update)

I hope this helps,

Cheers,

Rodrigo

comments: author: William
body: Hello Rodrigo,

I believe I may have seen that article. But we have a large confluence instance and I have read that performing an XML backup and restore is not recommended, possible data loss, which I cannot have.


author: Rodrigo Girardi Adami
body: this is a drawback indeed. I can recommend you to use in this case some third party database tool to change the collation of the database. In this doc, you can find the [collation changer tool](http://www.codeproject.com/Articles/12753/SQL-Server-2000-Collation-Changer) that might help in this case.

Cheers,

Rodrigo


Tags: confluence-administration
Intelligent search - Searching for space with part of the name in it
Asked by Sujatha Gopalakrishnan:

I have a space named "DevExchange". When I search for "Dev Exchange", I would like Confluence to return the "DevExchange" space in the results. Since I am introducing a space in my search string and the Confluence space name does not have a space, it does not return the intended result. Is there any way to make the Search more broader and include use cases like this? Often people add blank space between the words or group them together when searching as it is impossible to remember hundreds of spaces that people create. Is there a way to achieve this? We are on 5.6.6 version.


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Sujatha, there is a good discussion about this topic into [this thread](https://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax?focusedCommentId=128287135#comment-128287135). The page also verses about the functioning of Confluence search syntax in general, and is a good reference to be reviewed.

Recently Confluence has been improved with another search method called CQL which is documented in this [other location](https://developer.atlassian.com/confdev/confluence-rest-api/advanced-searching-using-cql#AdvancedSearchingusingCQL-Keywordreference).

Please post to this if you have additional queries. Hope this can get you started in the topic.
Cannot update pages when editing over VPN.
Asked by Gbowe:

We have a very strange and crippling issue with Confluence 5.6.3. We can access Confluence and edit pages with no issues while in the office. However, when we connect via VPN 95% of the time we cannot update pages. Once in a while it works. The error we get is:

Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.

Note: that we are using a simple java keystore. We have confirmed the keystore is present in our browsers certificates cache.

Now here is the really strange part. If the remote user, the one logged in via VPN, shares his/her desktop over MS Lync to a user that is in the building, then committing changes to pages works every time. ??????

We have tried removing all McAfee from the server and from the user's machine with the same results.


Answers:
author: whees
body: Same issue here.


author: April
body: Hey @Gbowe, was there ever a resolution to this? We have exactly the same issue.


Tags: vpn
hide block if page has child
Asked by Cedrick GAILLARD:

Hello,

I'm trying to hide a button in a page if there is at least a child page.

I tried the following without any success

```
{builder-hide:exists=@children}stuff to hide{builder-hide}
```

Please can you point me where i am wrong?

thanks for help

PS: It is confluence 5.6.3


Answers:
author: Lukas Knoch -Rumpelcoders-
body: Hi,

i can't test it but according to the documentation at [Adaptavist](http://www.adaptavist.com/doco/display/Builder/builder-hide+macro)

this should work:

```
{builder-hide:page=@child} stuff to hide {builder-hide}
```


author: Cedrick GAILLARD
body: Thanks it works.
How can I hide who created or edited a page/space in Confluence Cloud?
Asked by Casey Elmore:

I am working on a knowledge base and do not want the who edited or changed what to be visible.

I am using confluence cloud.

I did see a way to do it on layouts, but I do not have this option in the cloud.

I did have an issue where something could be done, but I had to submit a ticket for it to be changed. I was just wondering if I can do this myself, I will have to submit a help ticket, or if can be done at all?


Answers:
author: Nick Muldoon
body: Hi Casey,

You may want to take a look at [Instant Websites for Confluence Cloud](https://marketplace.atlassian.com/plugins/instant-websites). It will enable you to collaborate internally on the KB articles and publish the space to a fast, public, mobile responsive website. Get your customers the answers they seek sooner.

We use it for [docs.arijea.com](http://docs.arijea.com/documentation/redaction/redaction-for-confluence-user-guide/).

Cheers,  
Nick Muldoon ([@njm](https://twitter.com/njm), +1 415 568 7064)  
[Arijea](http://arijea.com/)


author: Paulo Junior
body: Hi Casey,

I'm afraid it's not possible to be done on Confluence Cloud, once it would require some customisation, leading us to a [Restricted Function](https://confluence.atlassian.com/display/Cloud/Restricted+Functions+in+Cloud+Applications).

Kind Regards,

Paulo.


Tags: cloud

confluence-cloud

edit

hide

instant-website

page

space
Sort page properties report macro by created date
Asked by Angus Law:

Is it possible to sort by date of creation on the Page Properties Report macro? The pages are very difficult to keep track of as the current default is "last modified date"


Answers:
author: Davin Studer
body: This should work for you. Create a user macro using the code below. It will take the create date and output it in yyyy-MM-dd format so that it is sortable (the report macro does string sorting, so other formats of the date won't work). Then add another property to the page properties macros called Created, or some such thing, and include this user macro in the right column. Then in your report macro have it sort on the Created property.

```
## Developed by: Davin Studer## Date created: 12/04/2014## @noparams$action.dateFormatter.formatGivenString("yyyy-MM-dd", $content.getCreationDate())
```

comments: author: Angus Law
body: Thanks Davin - I assume that it's not possible normally hence the workaround!


author: Davin Studer
body: Correct. There is no native way in the report macro to do it.


author: Angus Law
body: Nightmare
import a space in confluence version 5.0.3 in local from 3.4.9
Asked by Shelly:

I have upgraded from confluence 3.4.9 to 5.0.3 in my local, following the below mentioned path:

3.4.9 -\> 3.5.17 -\> 4.3.0 -\> 5.0.3

I had created a wiki space in 3.4.9 production where I used almost all the commonly used macros and plugins so that I could test how data migration will affect these pages/spaces but, after upgrading to 5.0.3, I decided to involve one more space that includes more macros and complex things to test. I exported it in xml format but, was not able to import it in my local (version 5.0.3). It must be because we can restore data from the same major version only but, is there any way to include that space now?


Answers:
author: Rodrigo Girardi Adami
body: Hi Shelly,

That's right. You can't import spaces from different major versions. In this situation, I recommend:

1. Install a Confluence vanilla 3.4.9
2. Import the Space XML into that one.
3. Upgrade this vanilla instance to 5.0.3. (Follow this path 3.4.9 -\> 3.5.17 -\> 5.0.3)
4. Export the Space again to XML
5. Import into production (they will be from the same version now)  

I hope this helps!

Cheers,

Rodrigo
User Macro to Pull Headings from Different Page
Asked by MarkC:

Here's what I want to accomplish:

A user places a user macro on the page. The macro requires two fields:

* Page Title
* Heading Title

I want the macro to have ability to search the page title (like other macros do). After the page has been found, I would like the Heading Title drop-down list to populate with all the headings on that particular page. Then the user can select a heading, click Insert, and the macro produces a link to that heading.

Can this be done?


Answers:
author: Stephen Deutsch
body: Ask and ye shall receive:

```
## @noparams&lt;form class="aui top-label"&gt;  &lt;div class="field-group top-label"&gt;    &lt;label for="requested-page"&gt;Find headings on this page:&lt;/label&gt;     &lt;input id="requested-page" class="autocomplete-page text" data-max="10" data-none-message="No results" data-template="{id}"&gt;    &lt;label for="select-heading"&gt;Heading&lt;/label&gt;    &lt;select class="select" id="select-heading" name="select-heading"&gt;    &lt;/select&gt;    &lt;p&gt; &lt;/p&gt;    &lt;div id="link-output"&gt;&lt;/div&gt;  &lt;/div&gt;&lt;/form&gt;&lt;script&gt;jQuery("#requested-page").change(function() {  setTimeout(function() {    var pageId = jQuery("#requested-page").val();    jQuery.ajax({      url: contextPath + "/rest/api/content/" + pageId + "?expand=body.view",      success: function(response) {        var pageData = jQuery("&lt;div&gt;&lt;/div&gt;").html(response.body.view.value);        var headers = pageData.find(":header");        jQuery("#select-heading").empty();        jQuery("#link-output").empty();        headers.each(function() {          jQuery("#select-heading").append('&lt;option value="' + this.id + '"&gt;' + this.innerHTML + '&lt;/option&gt;');        }).promise().done(function() {          var linkAddress = response._links.webui + "#" + jQuery("#select-heading &gt; option").first().attr("value");          jQuery("#link-output").html('&lt;a href="' + linkAddress + '"&gt;' + linkAddress + '&lt;/a&gt;');        });        jQuery("#select-heading").change(function() {          var linkAddress = response._links.webui + "#" + this.value;          jQuery("#link-output").html('&lt;a href="' + linkAddress + '"&gt;' + linkAddress + '&lt;/a&gt;');        });      }    });  }, 100);});&lt;/script&gt;
```

I couldn't test it extensively, but it worked on my system. You must be running Confluence 5.5 or later.

comments: author: MarkC
body: You are correct, that does work for essentially what I described. Obviously, I described it a bit wrong.What I was looking for was this functionality INSIDE the macro. So when the user adds the macro to a page, the NAME OF MACRO dialog displays and requires you to specify the page on which to find headings, then populates the list of headings. Once selected, the macro is saved. When the page renders, it provides a link to that heading (maybe Page Title: Heading). I'll try to work with what you provided to make a macro do that, but my programming (and user macro writing) skills are a bit dull.


Tags: anchor

confluence-administration

user-macro
attachment url for attachments attached to space, not page
Asked by Martin Sander:

It seems we have attachments that are attached to a space (i.e. spaceDescription), not to a page.

Trying to edit/view them using the standard: /pages/viewpageattachments.action?pageId= triggers a bad exception (after all, it is no abstractpage, but a spacedescription).

How do I display/edit these attachments?


Answers:
author: Martin Sander
body: We ended up deleting the attachments via the REST API, see <https://confluence.atlassian.com/display/CONFKB/Confluence+REST+API+Lacks+DELETE+Method+for+Attachments>


author: Sateesh Chandra
body: Try moving the attachments from Space to page. This should work

comments: author: Martin Sander
body: And how exactly would you suggest doing that, if I am not able to access any GUI to even display the list of attachments on the space?


Tags: confluence-administration