youngmon/atlassian-qna huggingface dataset:
Template in confluence
Asked by Sujata:

I have a template in confluence. I want to add red, yellow \& green buttons in the template so my team members can select the right color coded status, how can do this?


Answers:
author: Nic Brough -Adaptavist-
body: I'd have a quick look at the "status" macro

comments: author: Sujata
body: I did but it doesnt let me add in the template.


author: Nic Brough -Adaptavist-
body: So you put in Bluea status and what happens? What does "doesn't let me" mean?
linking to different tableau servers
Asked by Cristine Kinross:

We have multiple tableau servers in our company - but the company uses a single instance of Confluence.

How do we configure individual spaces, using the Tableau plugin, to point to different servers?

Thanks,

Cris


Answers:
author: Roel Gerrits
body: Hi Cristine,

This is possible by adding an entry in the configuration of the plugin.

1. Goto confluence admin
2. Manage add-ons
3. Search for tableau plugin
4. Choose configure
5. Add a key value, for instance; "acc" with value "[https://acc.host.com](https://acc.host.com,)"
6. Now you can specify the environment with the key "acc" when using the plugin.

Roel


Tags: cloud

confluence-cloud

tableau
Exporting PDF-documents with default style and customized style
Asked by thamm:

Hello,

I have coded some html/css to style PDF's generated by the PDF-space-export-tool. Now i am able to get a custom-styled PDF when using the PDF space export function. Unfortunately i am no longer able to get the standard pdf since the single page export will be affected by the entered code in the "PDF Stylesheet"/"PDF Layout"-section.

Is it possible to generate two types of PDF's of a confluence-page? One with my customized stylings and a pdf with the default style?


Answers:
author: Milo Test
body: Short answer, no.

But you could just create a Raw PDF space and use the Include Page macro to pull the page from the customized PDF space.

comments: author: thamm
body: Is this also possible if I inserted the code in the admin-section? Can i exclude some spaces to get a "Raw PDF space"?


Tags: export

pdf

stylesheet
Tables in confluence - how to change length and so
Asked by Corinna:

Hello i need different tables in confluence to have the same lenght of the cells---could this work as in excel ?


Answers:
author: Alex Yasurek
body: Hi,

You would need to use CSS. An easier solution may be to us Bob Swift's Advanced Table macro. You can customize the columns and rows in the macro with CSS, as well as add sorting and a bunch of other features.

<https://marketplace.atlassian.com/plugins/org.swift.confluence.table/cloud/overview>


author: Stephen Deutsch
body: It's not completely implemented yet, but it might also be nice to be aware that this functionality should make it's way into Confluence 6.0:

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


Tags: confluence-administration
Confluence cold failover without Data Center
Asked by Dmitri Abrosov [Teamlead]:

Is it possible to make cold failover for not DC Confluence? Here is what I'm planning to do:

1. Replicate Confluence DB to another server.
2. Rsync Confluence Data folder to another server.
3. In case of main Confluence server stops answering we either switch our web-server to another server or automatically by balancer.

Have anybody used such configuration? Is there any hidden pitfalls?


Answers:
author: Doug Swartz
body: In theory this should work. We do something very similar to replicate our production environment into a separate environment for testing new releases.

As with any backup procedure like this, your biggest problems will likely come about because your file system is out of sync with the database because of differences in timing between the rsync and replication.


Tags: confluence-administration
Free sum calculation in confluence cloud?
Asked by ST Kambor-Wiesenberg:

Hi!

Is it possible to perform a simple sum calculation in a table in confluence **++cloud++** for ++**free**++?

regards  
Stephan


Answers:
author: CelesteCS
body: Hello,  
Among not free plugins for calculations over table cells have a look at [CelesteCS Math for Confluence](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math) plugin. It is available for both Confluence Server and Confluence Cloud. Using it, you will be able to perform any calculations over table data on your page. A lot of functions and EXCEL notation are also supported.

Thanks


Tags: calculation

cloud

confluence-cloud

free

sum

table
Does setting up public access cause Confluence to be indexed in Search Engines?
Asked by Sebastien Primout:

I need to make a Confluence page public (i.e. accessible to people with no Confluence account) but not indexed in Search Engines. (Making it public appears to be easy enough (see <http://bit.ly/1UGhJcy>).)

In this forum I read a possible solution which is to append "?os_username=\<username\>\&os_password=\<password\>" after the URL (see <http://bit.ly/1XzZ2qd>). But it seems to me that this solution is based on the recipient having a username and password; which is not the case for me since these people have no Confluence account.

Is there a way to make a page public but not indexed?

Thanks.


Answers:
author: Nic Brough -Adaptavist-
body: The usual trick here is to ask bots not to crawl it. They still can, but all the big players respect the request.

See <https://confluence.atlassian.com/display/DISC/Prevent+Search+Engine+Indexing+Using+Robots.txt>

Note that on Cloud, Atlassian have that set for you, and I don't think you can change it (yet. There's a request at <https://jira.atlassian.com/browse/CLOUD-5915> )


Tags: cloud

confluence-cloud
Confluence Attachments macro : filter by "no label" not possible
Asked by Corentin M?hat:

Hello,

on a Confluence page I am using the macro listing all the Attachments to this page. The "filter by label" works perfectly for files WITH a label, but I would also need to be able to list all attachments that were not labeled in anyway yet.

I tried the following with no luck : "(none)", "NONE" ,"NULL", "not in ("label1", "label2") " and a few others.

Question 1 : in the attachment macro, how can I list only attachments that **do not have any** label set ?

Question 2 : in the attachment macro, how can I list only attachments that **do not match** some specified labels ?

Thanks in advance for your help


Answers:
author: Corentin M?hat
body: FYI, this question lead to the following suggestion : <https://jira.atlassian.com/browse/CONF-41419>

comments: author: Stephen Deutsch
body: Sounds like the Confluence attachment macro would benefit from the same CQL upgrade as happened to the "Content by Label" macro, for example :smile:
Printing stylesheet and image scaling
Asked by Hans J?rgen Ekker:

I have a table with one row and two columns. In the first cell there is a small image (icon-size). In the other cell there is an explanation text.

It looks fine on the web. The first cell is small (same size as the small image), and the second cell is much longer because of the text.

But when I export to PDF the little image scales up and the first cell expands at the same time. Both columns now have the same width (50% each).

How can I (with css stylesheet) prevent the images inside a cell from scaling up like this?**I like the images to have their original size in the PDF export.**

This figure shows my problem. Upper image: this is how it looks on the web. Lower image: this is how it looks when I export to PDF.

cell_image.png

[](https://community.atlassian.com/t5/Confluence-questions/Printing-stylesheet-and-image-scaling/qaq-p/69343?attachment-id=2863){#link_1187297790914b}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/184649/1/cell_image.png){#display_1187297790914b_0}


Answers:
author: Hans J?rgen Ekker
body: You're right. When I set the size in the Editor the PDF looks fine. Simple as that... thank you :smile:


author: Steven F Behnke
body: Can I ask, what happens when you set a specific size on the image via the Confluence Editor?


Tags: css

image

pdf-export
Version Function in Confluence
Asked by Corinna:

Hello, i heard that in Confluence you can easily manage the versioning of a Document. How does this work and how does it work with attached files ? They do no more need a different configuration name than ? Befor uploading them...how can i add versions of my table with data which I created in Confluence itsself ?


Answers:
author: Nic Brough -Adaptavist-
body: Every page you edit is a new version, and there's a full history of every change (unless you deliberately delete)

Every attachment you upload gets a version too, as long as the file name is the same. It's simple versioning (no branching or other clever structures, just file v1, v2, v3 etc), but it's all you need for attachments.


author: Corinna
body: Thanks and I see you can have this version information in the back of Confluence but also put it on the page itsself ?! So everybody can see it

comments: author: Steven F Behnke
body: How would you want this displayed? What do other people do with this information?


Tags: confluence-administration
How to quickly access viewpage.action?pageId=XYZ URL
Asked by Martin Wermers:

Hi,

I don't like the tiny links, in my opinion they they look ugly, so I don't want to send and use them. However, I do need stable links that don't break when renaming a page. So I figured out I can access the Page Information page, and then change the URL from 'viewinfo' to 'viewpage' and use that link instead of the tiny URL. However, this is quite tedious, so I'd like to have a shortcut to get this URL. Could you please simply display this link in the 'Link to this Page' dialog box (K on keyboard), too?

Best regards  
Martin


Answers:
author: Stephen Deutsch
body: Hi Martin,

if you include this code in your custom HTML, it should do the trick:

```
&lt;script&gt;AJS.bind("show.dialog", function(e, data) {  if (data.dialog.id === "link-page-popup") {    setTimeout(function() {      if (!document.getElementById('link-popup-field-pageid-link')) {	    AJS.$("#link-page-popup-form &gt; fieldset").append('&lt;div class="field-group"&gt;&lt;label for="link-popup-field-pageid-link"&gt;Page ID Link:&lt;/label&gt;&lt;input id="link-popup-field-pageid-link" readonly="readonly" value="' + AJS.params.baseUrl +'/pages/viewpage.action?pageId=' + AJS.params.pageId + '" class="text" type="text" onclick="this.select();"&gt;&lt;/div&gt;');	    data.dialog.updateHeight();	  }    }, 100);  }});&lt;/script&gt;
```

comments: author: Martin Wermers
body: Hi Stephan,

thank you very much for posting the script. However, I don't know how and where to insert custom HTML. Can you help out? Or do you happen to know a HOWTO tutorial?

Best regards  
Martin


author: Stephen Deutsch
body: Here's a page I found:

<https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html>

But there's nothing so specific.

What you need to do is click on the gear icon at the top of the Confluence page (you must be a system administrator to see this) and click on the "General configuration". You may be prompted to insert your password.

On the next screen, look on the left sidebar for an option called "Custom HTML"

After clicking there, you'll have to click on the edit button.

Copy and paste the script above and paste it into the field under "At the end of the HEAD". Be careful not to overwrite anything already there.

Save, and then it should be active, and you can go back to any page and test it.


author: Martin Wermers
body: Hi Stephen,

In the meantime, our Confluence Administrator added your code, and it works like a charm! Thank you so much for your help on this matter!

Best regards  
Martin


Tags: link
Filter confluence notifications to hipchat room
Asked by Jim van Dam:

*This question is in reference to Atlassian Documentation: [Use HipChat and Confluence together](https://confluence.atlassian.com/pages/viewpage.action?pageId=678561679)*

We would like to filter the confluence notifications that are sent to a specific HipChat room. Only changes of a certain page (or subpage) or with a certain label.

Jim


Answers:
author: Steffen Opel _Utoolity_
body: That makes a whole lot of sense - Confluence meanwhile features [CQL](https://developer.atlassian.com/confdev/confluence-rest-api/advanced-searching-using-cql) similar to JIRA's [JQL](https://confluence.atlassian.com/jira/advanced-searching-179442050.html), and the latter is used in the [JIRA HipChat integration](https://confluence.atlassian.com/jira/configuring-jira-with-hipchat-296093745.html#ConfiguringJIRAwithHipChat-Connectingprojectstorooms) for this very purpose.  

I would have expected a resp. feature request to exist already, but surprisingly couldn't find one - here's one that comes close though, which you might want to watch/vote/comment accordingly to raise awareness for this use case:

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

Given that this issue predates the introduction of CQL, it might well be expanded since it would be covered by a Confluence HipChat integration with CQL.

* While CQL had been introduced as a developer level API only initially, the Confluence team has meanwhile surfaced CQL filters in the powerful [Content by label](https://confluence.atlassian.com/doc/content-by-label-macro-145566.html) macro, so adding it to the Confluence HipChat integration would be an obvious and similar powerful choice.


Tags: hipchat
some people with personal space do not show up on page of "People with personal spaces"
Asked by Larry Brock:

Myself and a few others do not show up on the "People with personal spaces" page although we have a personal space. What are the proper steps to fix this? (This may have happened as a result of an upgrade to v5.5.3 but it's existed too long now for me to be certain.)


Answers:
author: Phill Fox
body: I suspect that the spaces you cannot see are ones that have been built as or migrated to "Private personal spaces" and so are not visible to other users.

<https://confluence.atlassian.com/conf53/setting-up-your-personal-space-411108754.html> talks about how personal pages are setup and step 2 is to decide if it is private or not.

To change from private to open you need to edit your space permissions for each personal space that is set as private at present but should be public. See the instructions at <https://confluence.atlassian.com/conf53/assigning-space-permissions-411108824.html>


Tags: confluence-administration
how can I display the space id in the article itself?
Asked by Tanay Audi:

I want to assign an id to every knowledge article created. As I dont want to do it manually, I was hoping to have the actual relevant article id displayed on the page itself.

How can this be done?


Answers:
author: Steven F Behnke
body: I use a bit of javascript in the **Custom HTML**section of Confluence to add this effect --

image2016-3-21 1:9:59.png

You could extend it to add the Page ID.

```
&lt;script&gt;AJS.toInit(function(){    var pageIdentifier = ", page ID " + AJS.Meta.get('page-id');    AJS.$('.last-modified').append(pageIdentifier);});&lt;/script&gt;
```

[](https://community.atlassian.com/t5/Confluence-questions/how-can-I-display-the-space-id-in-the-article-itself/qaq-p/402503?attachment-id=10908){#link_11872a01740151}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/68136/1/image2016-3-21%201%3A9%3A59.png){#display_11872a01740151_0}


author: Steven F Behnke
body: How would you want this displayed? Are you on Confluence Server or Confluence Cloud?


author: Bill Bailey
body: Every page within confluence is assigned a page ID. You can see this when you edit an article, are in attachment or page information view (under Tools menu). It appears at the end of the URL in the form "pageId=1146905". Would this page ID work?

comments: author: Tanay Audi
body: Hi Bill,

Thanks for the inputs. I'm looking for the page id to be displayed quite visibly near the title so that it can be easily picked up/viewed/searched.
How can I check out my Confluence contents and contribute like a git repo?
Asked by Justin Pitta:

Having worked this way with GitHub I expected to be able to do the same here and am having a hard time figuring out how to do this.

I want to be able to clone my Confluence contents like a git repository to my local machine and use local text editing to make changes to my documentation then push those changes back up via git.


Answers:
author: Paz
body: This is not possible for Confluence.

I recommend reporting this to the Confluence team as a suggestion, you can do that here: <https://jira.atlassian.com/browse/CONF>.

I use Confluence a lot, and I'm familiar with Git, and I agree that this would be an awesome way to work with a wiki.

comments: author: Paz
body: Maybe a [static site generator](https://wiki.python.org/moin/StaticSiteGenerator) is the kind of experience you're looking for?


Tags: cloud

confluence-cloud
I can't find the "Confluence HTML macro" under cog > add-on > under drop down menu select "systems".
Asked by Cindy Luong:

I can't find the "Confluence HTML macro" under cog \> add-on \> under drop down menu select "systems".

I have admin access and I should have this option.  
[](https://community.atlassian.com/t5/Confluence-questions/I-can-t-find-the-quot-Confluence-HTML-macro-quot-under-cog-gt/qaq-p/95456?attachment-id=12490){#link_11872a3b2dd542}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/16027/1/image2016-3-17%2016%3A19%3A35.png){#display_11872a3b2dd542_0}


Answers:
author: Milo Test
body: Are you using Confluence Cloud or Server?

comments: author: Steven F Behnke
body: Excellent point. This is *only* available for Confluence Server and JIRA Server.


author: Cindy Luong
body: I have no idea. How can I tell? Most likely it might be Confluence Cloud.


author: Milo Test
body: If your Confluence URL is https://something.atlassian.net then you are using Cloud which unfortunately means no HTML macro.


author: AnnWorley
body: Milo is correct, please see:

<https://confluence.atlassian.com/display/ConfCloud/Restricted+functions+in+Confluence+Cloud>


author: Cindy Luong
body: Great, thanks for explaining that. I am on the cloud.


author: Steven F Behnke
body: Perhaps consider opening a support issue?

image2016-3-17 16:19:35.png


Tags: confluence-administration
What is the maximum number of records you can add to a Confiform dropdown?
Asked by Jennifer Lucas:

What is the maximum number of records you can add to a dropdown?


Answers:
author: Alex Medved _ConfiForms_
body: Hi @Jennifer Lucas

We do not have any limits on the options count in the dropdown, but Confluence editor, does have a limit for parameters size it seems.

What I suggest to do is to use a field called "smart dropdown" which enables you to reference data from another form in ConfiForms and that can have as many rows as you want (there will be no limit of the Confluence editor).

You can contact us directly at vertuna(at)vertuna.com or using the contact form on <http://wiki.vertuna.com/display/VERTUNA/Vertuna+LLC+Home> and we will help you setting this up.

Best Regards

Sash


author: Nic Brough -Adaptavist-
body: It may depend on which drop-down you are talking about. For many though, it's technically "more than your browser can handle", and most certainly "way more than your users could ever find useful" (humans won't usefully set a drop down correctly when they're offered thousands of choices)

I'm curious as to why you ask?

comments: author: Jennifer Lucas
body: Hi Nic,

Thanks for your response - we are using a basic dropdown not a dynamic drop down in a confiform. It has a requirement to add records as new suppliers come on board current - need exceed 100 records. At this stage we have an issue were we can only hold 100 records so need to find a solution to meet the business need.

Apparently our team are under the impression that we can only have a maximum of 100 records - is this correct and if not how do I fix the issue.

Thanks Jenn


author: Nic Brough -Adaptavist-
body: Ah, you hadn't mentioned "confiforms" before, your edit to include that does help a lot. I don't know if they limit the fields somehow.

<br />

But, from what I've read, they used to limit drop-downs. I don't know if it's still the case, but I suspect it is, because too many options on a list is slightly bad for performance, and really bad for the end-user.


Tags: addon-com.vertuna.confluence.plugins.confiforms
Default text in Confluence's "Page Tree Search" macro
Asked by Tim Crall:

anyone know if there's a way to put default text into Confluence's "Page Tree Search" macro?  
[](https://community.atlassian.com/t5/Confluence-questions/Default-text-in-Confluence-s-quot-Page-Tree-Search-quot-macro/qaq-p/221396?attachment-id=9852){#link_11872a65e505f7}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/37511/1/Screen%20Shot%202016-03-18%20at%2010.10.49%20AM.png){#display_11872a65e505f7_0}


Answers:
author: Tim Crall
body: I'm trying to put placeholder text into the search bar the same way that you can with the Livesearch macro's "placeholder text" option.

Screen Shot 2016-03-18 at 10.10.49 AM.png


author: Paz
body: Can you attach a mockup/screenshot of where you're trying to put text?

What precisely are you trying to do?


Tags: confluence-administration
How are anonymous edits tracked if system does not permit anonymous access?
Asked by Karl Dandenell:

*This question is in reference to Atlassian Documentation: [Viewing Site Statistics](https://confluence.atlassian.com/pages/viewpage.action?pageId=123043962)*

We are seeing a listing for "Anonymous users" under "Most active contributors" even though we do not permit anonymous access to site. What might cause this erroneous report?


Answers:
author: Nic Brough -Adaptavist-
body: I am not sure this is the only way you can get anonymous contributors, but it is one way. Deleting users who have contributed can cause this.


Tags: cloud