youngmon/atlassian-qna huggingface dataset:
Hide Confluence buttons
Asked by Clarisse Messey:

We hide the "Tools" button but we did it for each user. Is it possible to hide a button for a group?


Answers:
author: jing_hwa_cheok
body: Hi Clarisse,

<br />

You can put the code below before the **\<head\>** tage in your C***onfluence Admin \>\> Layout \>\> Main Layout*** . Replace the **\<** **group-name\>** with the name of the group you wish to hide the tool.

```
#if ($userAccessor.hasMembership('&lt;group-name&gt;', $helper.action.remoteUser.name))&lt;style type="text/css"&gt;  #action-menu-link {        display:none !important;    }&lt;/style&gt;#end
```

Please note, this only work if you are using the default theme.

<br />

Hope this helps!

Regards,  
Jing Hwa

comments: author: m.w
body: Hi,

Is there a way for this to work for the Documentation Theme aswell?

Thanks for any help.


Tags: confluence-administration
Can the confluence-users group be deleted?
Asked by James Roberts:

Can the confluence-users group be deleted? What ramifications might come about if it is deleted? Would removing the group force the entire application to be "closed" rather than "open"? Any ideas, insight would be appreciated.


Answers:
author: RambanamP
body: you may get more information from the following issue

[](https://jira.atlassian.com/browse/CONF-26864)<https://jira.atlassian.com/browse/CONF-26864>


author: Nic Brough -Adaptavist-
body: Depends on how you are using the group.

By default, it's a group meaning "anyone who can log in", so if you kill it, you may well find no-one can log in any more. Your space owners may have used it in their permissions, so again, people will lose access.

But, if you've set up your own login group and aren't using confluence-users anywhere, then yes, it's safe to delete it.


Tags: confluence-administration
Administrator notified when a new Space is created
Asked by Greg Della-Croce:

As the Admin for our Confluence I would like to be notified when a new space is created. Can someone tell me how/where to set this up?

Thanks

GregDC


Answers:
author: RambanamP
body: it seems not possible as per following issue

[](https://jira.atlassian.com/browse/CONF-20952)<https://jira.atlassian.com/browse/CONF-20952>


author: Greg Della-Croce
body: I was hoping that others would speak up on this issue. But I am closing it down for now.


Tags: confluence-administration

space
How to Show JIRA Agile board in confluence?
Asked by Maksim Pavlov:

How to Show JIRA Agile board in confluence?  
Is this possible? How?


Answers:
author: John Price
body: Hi Aleksey -

Have you tried the Jira Wallboard gadget? If you're not aware, you can go beyond the basic Jira macros that Confluence provides by allowing Confluence to trust and user Jira's native gadgets. See [](https://confluence.atlassian.com/display/DOC/Registering+External+Gadgets)<https://confluence.atlassian.com/display/DOC/Registering+External+Gadgets>(Subscribing to all of the application's gadgets). A couple of things to note:

\* Putting the base Jira URL in the Gadget Feed URL didn't auto-convert to the feed URL for me. I had to give the full feed URL, which is going to be: <http://yourjira.yourdomain.com/rest/gadgets/1.0/g/feed>

\* It doesn't work if you have GZIP on for both Jira and Confluence. See [](https://jira.atlassian.com/browse/JRA-29795)<https://jira.atlassian.com/browse/JRA-29795>

Hope this helps.


author: Mark Bowden
body: When I follow these instructions, and hit save after inserting the Macro, I just get a bar scolling horizontally and nothing ever populates.

What would cause something like that?


Tags: board

jira-software
AJP Connector - Cannot open pdf attachment
Asked by Fabio Racobaldo _Herzum_:

Confluence 5.1.3 access through Apache Reverse Proxy using the AJP Protocol. PDF attachments can't be opened through IE/Chrome. The same situation apperead if as a user I try to download a pdf file from confluence using both IE and Chrome browser.It works using Firefox.


Answers:
author: Fabio Racobaldo _Herzum_
body: No errors on server side logs.

I finally found the solution. If you access Confluence througth a reverse AJP proxy you have to disable "Compress HTTP Response".

General Configuration -\> Feature Settings -\> Compress HTTP Responses need to be unchecked.

This fixed my problem.

Regards,

Fabio


author: Alex Perez
body: Any errors on the browser or server side?

The error persists if you access conflence directly by http to tomcat?
Edit search results content
Asked by Coen Huijsmans:

I'm looking for a way to edit the search results content. In our situation a search results in lots of attachments, since these attachments are just printscreens of our manual (with a filename that correspondents with the search) we would like to exclude the attachments by default.

Stated differently, our goal is that the search results on the '/wiki/dosearchsite.action' page only shows 'pages' content instead of 'all content' by default. Maybe in the future we would like to add 'questions' to the search results as well.

Hope anyone can help me. Thanks for your response in advance.


Answers:
author: Davin Studer
body: In the Custom HTML section of Confluence Admin you could add some javascript to to add a hidden input element to the form with the id of "quick-search" to specify the type.

\<script\>

AJS.$("#quick-search fieldset").prepend('\<input type="hidden" name="type" value="page"\>');

\</script\>

comments: author: Coen Huijsmans
body: We use the OnDemand version. Is it still possible to add the script you mention?

Thanks for your help :)


author: Davin Studer
body: Um, I'm not sure. Probably not, but just check in Confluence Admin -\> Look And Feel. If there is an option for Custom HTML then yes you should be able to use it. I can't remember if that is enabled in OnDemand or not ... me thinks no.


author: Coen Huijsmans
body: You're right, I can't find this option under Look And Feel.


author: David Maye
body: Currently, you can select a few options when it comes to searching in Confluence on the 'wiki/dosearchsite.action' page (including only selecting 'Pages' or 'Questions' content). Are you asking to have 'Pages' selected instead of 'All Content' by default when the search page loads up?

![Confluence Search](https://s3.amazonaws.com/uploads.hipchat.com/10804/330526/nm6RndMScZKEjX2/Screen%20Shot%202013-12-12%20at%2010.12.56%20AM.png)

comments: author: Coen Huijsmans
body: Yes, I'm indeed asking if it is possible to show only 'pages' by default instead of 'all content' when the page loads up.

We have this want since we use Confluence for manauls and documentation that is available for our external customers (anonymous users).


author: Coen Huijsmans
body: David, can you pls response on my comment. Thanks!


Tags: cloud

confluence-cloud
Gantt Gadget in confluence is given the AJAX-based request error
Asked by Yoo InChul:

Hi,

When I setup the Gantt-Chart Gadget in Confluence page, it is given the below error message.

Security aspect:  
You are not allowed to request content from within the JIRA Gantt-Chart gadget, most likely due to your same-origin-policy!  

AJAX-based request to <http://test.skhynix.com/>is denied.  
Please contact your administrato

Our system configuration is like below;

I used the apache with reverse proxy and tomcat and each machine is consisted of same apache and tomcat structure.

Jira Server URL : jira.domain.com:8080

Confluence Server URL : confluence.domain.com:8090

Also, I used the trusted application as Application Links.

Other plugins, Structure and Agile is well working in this environments.

Can you give me any suggestion to solve this problem ?

Thanks

Inchul, Yoo


Answers:
author: Frank Polscheit
body: Hi,

my Gantt-Chart Gadget loads additional data via AJAX using JIRA's baseUrl. Please ensure, that your local setup of Confluence and JIRA do not violate the "[same origin policy](http://en.wikipedia.org/wiki/Same-origin_policy "same origin policy")" (have a look at wikipediaand other online sources for more details). This security aspect might block your Gadget! - I do not implement any workaround to overrule that browser security and Atlassian by itself has swiched away from using e.g. JSONP. Application Links are used for authentication and authorization on a higher OSI-level and have nothing to do with lower level security on the basis of http.

My suggestion is to configure baseUrls llike "**<http://my.company.com:8080>** /confluence" and "**<http://my.company.com:8080>**/jira" in order to fullfil the security requirements (keep same internet-protocol, domain and port for Confluence and JIRA). If you want to operate with 2 different Tomcats, each per Atlassian application, you should put a http-server like Apache in front of them on "http://my.company.com:8080", redirecting to JIRA or Confluence based on the following path.

As an alternative, you can use a reverse proxy: setting up a simple [reverse proxy](http://en.wikipedia.org/wiki/Reverse_proxy) on the server, will allow the browser to use relative paths for the Ajax requests, while the server would be acting as a proxy to any remote location.

If using [mod_proxy](http://httpd.apache.org/docs/2.0/mod/mod_proxy.html) in Apache, the fundamental configuration directive to set up a reverse proxy is the`ProxyPass`. It is typically used as follows:

    ProxyPass/ajax/ http://other-domain.com/ajax/

In this case, the browser would be able to request `/ajax/web_service.xml` as a relative URL, but the server would serve this by acting as a proxy to <http://other-domain.com/ajax/web_service.xml>.

Beside this, one interesting feature of the this method is that the reverse proxy can easily distribute requests towards multiple back-ends, thus acting as a [load balancer](http://en.wikipedia.org/wiki/Load_balancer), too (if you have a large clustered implementation of JIRA/Confluence).

Regards,  
Frank
How do I delete a table within a table?
Asked by Cindi Jenkins:

How do I delete a table within a table?


Answers:
author: Cindi Jenkins
body: I made a table. I went to cut and paste, and instead of taking just the text, it took the whole table and inserted those lines into the original table. I just want to delete the extra table that inserted when I went to cut and paste.

comments: author: JulianA
body: does navigating to the table and clicking the "delete table"-button not work?


author: JulianA
body: can you provide us more details about your problem please?


Tags: confluence-administration
Restrict viewing of a macro's content
Asked by Clarisse Messey:

I included column macros in Confluence pages and I would like to know if it is possible to restrict the content of a column macro to some users only? I use the column macro to insert buttons on pages and I need to restrict the viewing of some buttons. Any idea?


Answers:
author: Bob Swift (personal)
body: Use the [Visibility Plugin](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility).

comments: author: Clarisse Messey
body: Hi,

We tried to use the Visibility Plugin and we got an error message: The license could not be verified: There is no license certificate installed for CustomWare Visibility Plugin for Confluence.

We don't understand as it is a free plugin.


author: Bob Swift (personal)
body: Contact [ServiceRocket](http://support.servicerocket.com/) (formerly CustomWare).


author: Davin Studer
body: You have to go to ServiceRocket's site and create an account to get the free license.


author: Stephen Deutsch
body: It would be hard to filter by groups, but if it is only a few users that you want to restrict or allow, you can use this user macro that will filter by username.

For each of these macros, select "Rendered" for Macro Body Processing.

This macro will restrict viewing to only those usernames that you enter in the options:

```
## @param allowedusers:title=Allowed Users|type=string|desc=Users allowed to view#if($paramallowedusers.contains($action.remoteUser.getName()))$body#end
```

This macro will allow viewing by all usernames except those that you enter in the options:

```
## @param blockedusers:title=Blocked Users|type=string|desc=Users to block from viewing#if(!$paramblockedusers.contains($action.remoteUser.getName()))$body#end
```

Just insert the content you want to restrict in the body of the macro, and put the usernames that you want to restrict in the macro options (you can separate the usernames by spaces, commas, whatever you want). Hope that helps!

comments: author: Clarisse Messey
body: Hi,

we will test your solution, thank you.


Tags: confluence-administration
Does Confluence support Apache Tomcat Native library?
Asked by Christian Schulz:

Hello everyone,

in comparison to JIRA Confluence doesn't log anything about Tomcat Native library while starting.  
Is there support for the Apache Tomcat Native library?


Answers:
author: Zeger Knops
body: Use [](http://www.sheroz.com/installing-apache-tomcat-native-linux-ubuntu-1204)<http://www.sheroz.com/installing-apache-tomcat-native-linux-ubuntu-1204>to compile and setup the native lib.

Then add

\<Listener className="org.apache.catalina.core.AprLifecycleListener" /\>

To the server.xml


Tags: confluence-administration
How do I hide "Spaces" and "Browse" in an Anonymous accessed space?
Asked by Scott McWilliams:

I am putting my company's release notes in a documentation space in my On Demand account. I have it set up so people can see it anonymously, but I don't want them to see the Spaces or Browse dropdowns at the top. Is there a way to disable those?


Answers:
author: Mauro Badii
body: Hi Scott,

You can hide spaces by aplying permissions but if you want anonymous users to see the Spaces' content but not browse them, then I am afraid this can't be done on OnDemand.

Regards  
Mauro

comments: author: Scott McWilliams
body: Thanks Mauro. I was able to hide things for now. What I'd really like is to be able to completely kill the "Spaces" and "Browse" dropdown as they lead to no useful content (for anonymous users) and can only lead to confusion. At least I was able to hide everything.


Tags: anonymous

cloud

confluence-cloud
How can I integrate external HTML pages in Confluence?
Asked by Tobias Rapp:

I have some HTML pages generated by a tool from source code that describe APIs for in-house usage. It would be great if I could integrate these HTML pages into Confluence so that users that are logged in to Confluence can see the pages and non-authenticated users cannot.

How can I integrate these external pages? Is it possible with plugins?

Background:

My team tries to replace our current MediaWiki instance with Confluence. In MediaWiki we used a simple Special-Pages plugin to integrate external pages.

The external HTML pages that I try to include are generated by NaturalDocs. See [](http://www.naturaldocs.org/documentation/html/files/NaturalDocs-.html)<http://www.naturaldocs.org/documentation/html/>for an example of how the HTML output is structured (relative links, stylesheets, javascript).


Answers:
author: Matthew J. Horn
body: I did this and blogged about it here:

[](http://www.confluenza.com/2013/01/04/protect-static-html-pages-using-crowd-and-confluence/)<http://www.confluenza.com/2013/01/04/protect-static-html-pages-using-crowd-and-confluence/>


author: Davin Studer
body: You can use the HTML Include macro for this. You will need to also configure your whitelist (Confluence Admin-\>Configuration-\>Configure Whitelist) to allow you to pull in content from the other site.

comments: author: Tobias Rapp
body: I have tested both the "HTML Include" Macro that comes with Confluence and the "HTML Include Replace" plugin from the marketplace.

The built-in macro has the problem that relative links are not handled properly (see [CONF-6567](https://jira.atlassian.com/browse/CONF-6567)) and the third-party plugin requires the user to already have access to the external HTML pages. But this is why I wanted to integrate the pages in the first place (a [catch-22](http://en.wikipedia.org/wiki/Catch-22_%28logic%29)).


author: Andy Brook [Plugin People]
body: If your tool generated HTML content is not protected, just obscurely served, then would including the content from Confluence, and making the space/page not visible to people who aren't logged in address the visibility?


author: Tobias Rapp
body: What do you mean with "obscurely served"? Just not mentioning the URL outside of the protected Confluence pages? That would be a bit too weak, I guess.

My current thinking is about writing an Apache auth module for the external HTML pages which connects to the Confluence SQL database backend directly.


Tags: confluence-administration
Space PDF Export
Asked by Marcel Cebulla:

I want to write a manual in confluence and update this again. This manual I would like to download it as a PDF in corporate design. Now I have tried a lot, but with a simple CSS programming I do not get out some things. For example: I want to see at the PDF document the Date of the last change, a version number, and the last editor. Is that possible without another plugin?

And how can I hide the table of contents numbering?


Answers:
author: Nils Bier _K15t_
body: Hi Marcel,

you can use multiple placeholders in your PDF. In your special case the following placeholders would match:

$lastModificationDate -- The name of the user who updated the page to the current version.

$page.version - Current version of the page

$lastModifier.name -- Modifier's account name

For more information about the available placeholders, please have a look at the following page: [](http://www.k15t.com/display/PDF/Using+Placeholders)<http://www.k15t.com/display/PDF/Using+Placeholders>

Cheers,  
Nils


author: Marcel Cebulla
body: Hi Nils,

thanks for your answer.

But is it possible to see at the PDF document the Date of the last change, a version number, and the last editor?


author: Nils Bier _K15t_
body: Hi Marcel,

maybe you could have a look at our [Scroll PDF Exporter](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-pdf). Though it's another plugin, I think our PDF Exporter offers exactly the things you are looking for.

We just published a blogpost about it: [5 Reasons to use the Scroll PDF Exporter](http://blog.k15t.com/2013/12/5-reasons-to-use-the-scroll-pdf-exporter)

Maybe you could give it a try ;-)

Cheers,  
Nils

comments: author: Marcel Cebulla
body: Hi Nils,

thanks for your answer.

But is it possible to see at the PDF document the Date of the last change, a version number, and the last editor?


Tags: pdf-export
Isn't it bad karma to suspend some of your top Atlassian Answers contributers?
Asked by Thomas Alfred:

I can't help but notice that top contributers such as David Simpson (16k+ karma) have been suspended from Atlassian Answers for some time and are therefore missing from the "All Time" Leader Board.

What gives?


Answers:
author: Joe Clark
body: We had a parting of ways with the members of the AppFusions team on Atlassian Answers. I'm a big fan of Atlassian's [Open Company, No Bullshit](https://www.atlassian.com/company/about/values) policy and try to work by it every day, but in this case I do not think it is polite or appropriate to go into the details behind this decision.

The Answers team (Jeremy, Dennis and I) are deeply thankful for the effort that the guys \& gals from AppFusions have put into the Answers community (David especially!) and they have played a big part in making this site the success it is today.


Tags: community

jira
Cannot renew gliffy license ("Unable to parse the license key")
Asked by Frank Rabold:

hallo,

we have gliffy-plugin v5.0 installed on confluence 4.3.5. after purchasing a Maintenance Renewal for gliffy, i want to update the license key. when pasting the new license key into the "gliffy plugin administration" license field an pressing "renew", confluence says "Unable to parse the license key".

how can i update my gliffy license key?

regards, frank


Answers:
author: KatyK
body: Hi Frank, If you are using the new license key from Atlassian, you must be on Gliffy v5.4 or above. If you are not on at least this version, you would need to upgrade. This shows how to upgrade the plugin: <http://www.gliffy.com/user-manual/?productId=1#article_127>Once upgraded to at least v5.4, you will be able to apply the new license key.Kind Regards,KatyGliffy


Tags: gliffy

licence
Changing username not possible in Confluence 5.3
Asked by Horst Gutmann:

We use the internal as well as an LDAP based directory for managing our users, but accidentally had created a user in the internal directory which should have been imported later on from the external one.

Because of that I intended to rename this user and deactivate it using the new "rename user" feature in Confluence 5.3. Sadly, for some reason the username field in the user admin is still read-only. Could this be caused, for instance, by the order of the user directories or what else could cause this?


Answers:
author: RambanamP
body: try this

**To change a username:**

1. Navigate to the user's record:
   1. go to the user's profile and choose **Adminster User**, or
   2. go to **Confluence Admin** \> **Users** and search for the user
2. Choose **Edit Details**.
3. Enter the new username and choose **Submit**.

check this doc,

[](https://confluence.atlassian.com/display/DOC/Changing+Usernames)<https://confluence.atlassian.com/display/DOC/Changing+Usernames>

comments: author: Horst Gutmann
body: That's exactly what I'm doing and how I even got to the edit form ;-) And as I said: I don't doubt that this approach normally works but for some reason it doesn't give me an editable field here.


Tags: confluence-administration

user-directory

user-management
Restoring a Site | Full Index?
Asked by Fabian Unterreiner:

If I'm in Confluence and want to restore a site via 'Administration' - 'Backup \& Restore'.

If I check the option 'Build Index', will this lead to a full index rebuilt or only for the imported space?


Answers:
author: RambanamP
body: it is re-indexing all the content in your site,

check this doc

[](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch)<https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>

[](https://confluence.atlassian.com/display/DOC/Content+Index+Administration)<https://confluence.atlassian.com/display/DOC/Content+Index+Administration>


Tags: confluence-administration
Confluence Categories and Spaces link in Database
Asked by AKASH BHARDWAJ:

Hi All,

Can anybody tell me how Spaces and Categories and Sub-categories are linked into Database.

I know about the Space_key and Space _ID under table.

I am using BreadCrumb plugin which shows the flow of my current page.

I need to know how this call is made, which tables are queried to bring the data in front.


Answers:
author: Gregory Kneller
body: Space categories are actually labels. Here is the relation:

```
select s.spacekey, l.name from spaces s, content c, content_label cl, label l     where s.spaceid=c.spaceid     and c.contentid=cl.contentid    and cl.labelid=l.labelid    and l.namespace ='team'
```


author: z
body: Spaces can have more than one categories. In case you want them in a single row per space with MYSQL you can use the following query:

```
select s.spacekey, GROUP_CONCAT(l.name) from SPACES s, CONTENT c, CONTENT_LABEL cl, LABEL l 
    where s.spacetype = 'global' and s.spaceid=c.spaceid 
    and c.contentid=cl.contentid and cl.labelid=l.labelid 
    and l.namespace='team' group by s.spacekey
```

I also added a criteria to get only the site spaces.


Tags: space