youngmon/atlassian-qna huggingface dataset:
Combining multiple Team calendars on a Confluence space
Asked by Rick Laudeman:

We want to show multiple team calendars on a confluece space like how you can see mulitple calendars under My Calendars.

For example I will create an Operations team assignment calendar and a Operations team vacation calender. I don't think I can embed one calendar in the Operations space that shows events from both in one calendar.   

I am trying this only because we cannot assign different colors to events in 1 calendar.


Answers:
author: Martin Cooper
body: You can add a single calendar that shows events from mulitple calendars.

When using the team calendar macro to embed inot a Confluence page just select the calendars you want to display and they will be merged into the one on the page.

WIth the events from diffferent calendars showing as different colors.

comments: author: Rick Laudeman
body: Thank you very much.


author: suruchi bharati
body: Wanted to ask- when i try to embed multiple calendars - calendars from other spaces are not showing when giving space names and trying to search. Any ideas?


author: suruchi bharati
body: I mean calendars from projects under other spaces are not showing up. What am I doing wrong


author: suruchi bharati
body: whats the best way to search for calendars from other spaces that i would like to add. i am searching by the name of space but cannot find the calendar


author: Sergej Zr
body: Thanks, Martin,

they are merged, but it is not possible to subscribe to all at once. The idea would be that it would be possible to subscribe to all events at once. At the moment one has to choose between the merged calendars :(
Copy page and attachments to another site
Asked by justindowning:

I have two Confluence servers. I would like to copy a page and all of its attachments from one site to another. What is the best way to go about doing this? (I'm not adverse to using the command line on each site if necessary)


Answers:
author: Bob Swift (personal)
body: [Confluence Command Line Interface](https://studio.plugins.atlassian.com/wiki/display/CSOAP) use something like **confluence --action copyPage --targetServer ...**

comments: author: justindowning
body: Thanks Bob! This worked great! I just add to add the --copyAttachments directive and I was in business.

One more thing to note while I was testing this...my targetServer had HTTP Basic Auth built into Tomcat. I was able to use Confluence CLI by adding the username and password to the address. See [https://studio.plugins.atlassian.com/browse/CSOAP-30](https://studio.plugins.atlassian.com/browse/CSOAP-30%20)for more info.


author: MatthewC
body: you could do it through the front end if you don't want to do anything too complex. Assuming that both Confluences are the same version.

1. Create a dummy export space, keep it empty

2. Move your page across to the dummy export space.

3. Export the space

4. Re-import to the other confluence

5. Move the page to it's final space

6. Delete the dummy export space in both the new \& old confuences.

It's not ideal if you are going to be doing a lot of this as it's creating \& destroying spaces but you could always omit the last step \& have just the one space used to ferry content between servers.
How to use Visio plugin - how to import drawings and editing them.
Asked by Trond Magnussen:

Hello

I have installed the visio plugin into Confluence, but I cant find a good solution on how to use the solution. I cant find it useful at all, so I think I may got it wrong.

Can someone make a short user description on how to import a Visio drawing into Confluence (or a link to where I can find information about this) ?

My demand is to import a drawing so it will be showed in the browser by Confluence, and that I should be able to open the drawing from Confluence and edit it in Visio again. It should be possible with the Visio plugin ?

BR TrondM


Answers:
author: Kay Brown
body: <https://studio.plugins.atlassian.com/wiki/display/CVP/Confluence+Visio+Plugin#ConfluenceVisioPlugin-Usage>
How to limit the size of a text-area in Confluence?
Asked by Daniel Fr?hling:

Hello,

at the moment I try to make a new template. In this template there are e.g. text-fields which can be filled out by the user when he adds a new field and selects this template.

The big problem is, that I don t know what to do that a text field stays the same size i want it to stay even if a user enters lots of words. So far I ve tried to solve this problem with @var@ , the text-data macro (width=e.g 300px, height=e.g 500} macro, the section macro and a combination of all of them.

Is there a simple command I can use so the text-area stays the same (and do not change in size any more)?

Is there also a way for a automatic text-breaks?

Many Thanks for your help

Daniel


Answers:
author: David Dube
body: Looks like you're using the Scaffolding Plugin... does the following not work?

{text-data:*instanceName*\|width=300px\|height=500px\|type=area} {text-data}


author: David at David Simpson Apps
body: Wrap your form in a div to act as a CSS selector:

```
<div class="forcedSize"></div>
```

Then add an inline style, e.g.

```
<style>
#com-atlassian-confluence .forcedSize textarea {
width: 300px;
height: 500px;
}
</style>
```

This should fix up all children of div.forcedSize to be a specific dimension
reverse proxy authentication header is processed by confluence
Asked by Leo Sanin:

Hello,  
we have a confluence 3.5 installation that works fine, if accessed directly; login via html form.

We are now trying to access it via apache reverse proxy. We would like login for confluence to be independent (via html form) from the login to reverse proxy (basic auth). What happens, though, is that confluence is trying to process (unsuccessfully) the basic auth header from the reverse proxy, and the user gets 401. In confluence log I see these messages:

2011-07-08 15:33:18,582 INFO \[http-8081-30\] \[confluence.security.login.DefaultLoginManager\] onFailedLoginAttempt   
Failed login attempt for user 'user1@unhcr.org':   
Request URL: <http://10.9.36.50:8081/confluence/>   
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0  
Remote Address: 193.134.136.78  
X-Forwarded-For: 193.134.136.246

We don't want to touch anything in the reverse proxy, or tomcat (as there are other applications running under it); is it possible to do something inside the confluence installation to force it to ignore the authentication request from the reverse proxy?

Thanks,  
Leo.


Answers:
author: BCCHR IT
body: This is super freaking old thread, but for anyone else who's come here with this issue. The work around is to unset the Authorization header when using Apache2 as a reverse proxy.

```
RequestHeader unset Authorization
```

The same can be done with NGiNX

```
proxy_set_header Authorization "";
```

This works great and solves the issue.

However, if your confluence installation allows anonymous access, and the authentication used with NGiNX/Apache2 isn't the same as Confluence. You'll run into pop-ups for specific elements.

For instance the following link "rest/mywork/latest/status/notification/new"

```
&lt;status&gt;&lt;status-code&gt;401&lt;/status-code&gt;&lt;message&gt;Client must be authenticated to access this resource.&lt;/message&gt;&lt;/status&gt;
```


author: twong_atlassian
body: Could you simply use mod_headers in the vhost definition to strip the auth header before processing the proxy pass?

<http://httpd.apache.org/docs/2.0/mod/mod_headers.html>
Images and User Profile icons not rendering properly after version upgrade
Asked by Amarendra Thakur:

Dear All,  

I did the confluence version upgrade(from 3.3.3 to 3.5.3) recently and found that after doing the upgrade, some of the user profile icons and images are not rendering.  

The way i did the upgrade was manual.I followed the steps below  

1 - took the of the existing oracle DB and data folder  
2 - restore the existing backup schema into the new DB  
3 - pointed the confluence.home to the to the data folder  

the upgrade was proper and everything is working fine.the only issue is that the images and user profile icons are displaying properly.  

The issue was not resolved even after doing lucene reindexing.  

Can anyone suggest me what could be the reason behind this issue  

Regards  

Amarendra Thakur


Answers:
author: Jeremy Largman
body: I just have an inital guess at this - check [CONF-17247](https://jira.atlassian.com/browse/CONF-17247) or its brother [CONF-22298](https://jira.atlassian.com/browse/CONF-22298). Those solutions aren't for the feint of heart so you might want to open a [support ticket](http://support.atlassian.com) for this one.
Confluence Macro: Output Wiki Markup?
Asked by Alex Church:

Is it possible for plugin macros to return wiki markup as user macros do? I have tried outputting wiki markup but it just renders as plain text.


Answers:
author: Paul Curren
body: If the output of your macro is intended for display in a browser (as most are) then it is required to output HTML.

I guess you are asking if you, as the developer can write wiki markup and have it converted to HTML. This is possible but may well be an unnecessary over-head. Is this wiki content dynamic? If not you are much better to just write your HTML output directly.

Anyway, if you do want to convert wiki to XHTML then you will need to inject a com.atlassian.renderer.WikiStyleRenderer to your macro. e.g.

```
public void setWikiStyleRenderer(WikiStyleRenderer wikiStyleRenderer){    this.wikiStyleRenderer = wikiStyleRenderer;}
```

You can then convert your wiki with something like -

```
return getWikiStyleRenderer().convertWikiToXHtml(new PageContext(), wiki);
```

comments: author: Alex Church
body: You are right - I do the wiki markup to be output as HTML in a browser. I was intending to use existing macros for formatting, to save replicating the HTML they use. It most certainly will be using dynamic content. I will re-assess my needs - you may be right in that it may be unecessary overhead.

What is the 'wiki' variable passed as the second argument to convertWikiToXHtml()? Is that a string containing the wiki markup?


author: Azwandi Mohd Aris
body: Have you tried setting the render mode to [RenderMode.NO_RENDER](http://confluence.atlassian.com/display/CONFDEV/Writing+Macros)?

comments: author: Alex Church
body: If you mean using:

public RenderMode getBodyRenderMode() {

return RenderMode.NO_RENDER;

}

then yes, I have. This does not work, and if I understand the documentation correctly, it describes how the body of the macro - the code between the start and end tags - is to be processed, not the final output of the macro.


Tags: macro

markup
Adding Jira as a trusted app: "An error occurred downloading a certificate"
Asked by John Parsons:

We're trying to add a Jira instance as a trusted application to our Confluence instance and we're getting the following error.  

"An error occurred downloading a certificate from: url"  

Anyone run into this? I found an older post where someone just had to restart their server, but they didn't mention which. Is this likely some issue with the Jira instance, or Confluence? I was able to add Confluence as a trusted app into Jira without any problems.


Answers:
author: Jeremy Largman
body: Check your atlassian-jira.log. Often it'll have a more specific error message, then check that against the Knowledge Base. There's a section of configuration problems at [Integration with Atlassian Applications (including Trusted Applications) Troubleshooting](http://confluence.atlassian.com/display/JIRAKB/Integration+with+Atlassian+Applications+%28including+Trusted+Applications%29+Troubleshooting).

If there is indeed something in the logs when you try, post it here.
Are email notifications working correctly on answers.atlassian.com ?
Asked by David at David Simpson Apps:

I get the feeling that notifications aren't working quite right. E.g. <https://answers.atlassian.com/questions/1585/disable-indexing-in-confluence>I think others have commented to this effect too.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: I have created [ANSWERS-117](https://jira.atlassian.com/browse/ANSWERS-117) for this.


author: David at David Simpson Apps
body: @Jeremy Largman \[Atlassian\]: Thanks. I couldn't accept, so closing it seemed the best option open to me :)


author: Jeremy Largman
body: I did a bit of housekeeping on this issue:

1. Converted @Jobin Kurivilla's comment to an Answer (it's a good answer)
2. Reopened it (closing is really for duplicate questions, whereas accepting answers is for regular resolved).

As for the issue itself let's move the discussion into JIRA ([ANSWERS-117](https://jira.atlassian.com/browse/ANSWERS-117)).


Tags: community
Office Connector (add row restriction to pages on confluence gloabally/set default)
Asked by RakeshS:

Hi,

I am looking for a restriction to be set for Office Connector plugin to add row restriction for the pages on confluence globally or set it as default.  
https://jira.atlassian.com/browse/OFFCONN-46  
Any help on this will be appreciated.  
Regards,  
Rakesh


Answers:
author: RakeshS
body: Any comments.

Regards,

Rakesh


Tags: ms-office-connector
Change distributable type when upgrading?
Asked by timrmoore:

If we have a WAR/EAR instance of Confluence, can we convert it to a Standalone?

We're currently planning on upgrading from 2.6.0 to the latest version. Is it possible, when migrating to a new server to install the standalone version of Confluence and import the data from the WAR version (to create the clone). If it's not possible at that stage, can we change it as we perform the upgrade (either to the interim 2.7.4 version or the final version?)


Answers:
author: Nic Brough -Adaptavist-
body: Yes. The exports, and even the database are independent of the distribution. I regularly rebuild our dev/test systems from Production. Production is a WAR, the dev/test systems are mostly Standalone, although there is one which is WAR for doing the final "as live" testing on new stuff.

I'm pretty sure you can go directly from WAR-2.6.0 to Standalone-2.7.4 without having to worry about it at all. (I'm less certain about going 2.6 to 3.5, but that's still about the versions of Confluence, nothing to do with the WAR/Standalone change)

comments: author: David at David Simpson Apps
body: You'll likely need to progress up some point releases on your path to 3.5. Good luck :)


author: timrmoore
body: @David - I have a feeling we'll need more than luck on this one....!!

Thanks for the answer @Nic. I couldn't think of any reason why not, but thought I'd better be safe than sorry!
Update to confluence 3.5.6 lost favourites.js
Asked by IDM:

After an upgrade to confluence 3.5.6 from 3.1.2 it appears I have lost the file favourites.js.

This file contains gotoUrl (used in the space tree on my dashboard page)

This file contains toggleStar (used in the same page)

I can't find this function in 3.5.6 includes/js/ folder.

What I missed ?


Answers:
author: David at David Simpson Apps
body: This is now bundled the Confluence Dashboard Macros plugin in**confluence-dashboard-macros.3.x.jar** . Both functions are now in the JAR in a file named **dashboard-macros.js**

* **gotoUrl** is still there, though slightly reworked
* **toggleStar** has been replaced by **toggleFavouriteSpace** refactored to say what it does :)

comments: author: IDM
body: I don't have the file dashboard-macro.js in the confluence std:

```
[11/07-13:45]<root@confluence:/usr/local/confluence/confluence-3.5.6-std># find . -name "*ashbo*"
./confluence/dashboard
./confluence/dashboard/dashboard.vm
./confluence/dashboard/dashboard-welcome.vm
./confluence/decorators/includes/dashboard-navigation.vm

And I can't find the function:
[11/07-15:02]<root@confluence:/usr/local/confluence/confluence-3.5.6-std># grep -ri gotoUrl *
[1]    15543 exit 1     grep -ri gotoUrl *
```


author: David at David Simpson Apps
body: @idm: Check the updated answer above


author: IDM
body: This files is bundled with confluence ?

I can't find them in my package, and online plugins of "confluence Dashboard Macros" seems to be old (2008, version 1.4.1)

And if I found this file, do I need to patch some of my data for the new name of the function ?
LDAP Integration doesn't seem to remove users
Asked by Marco van der Heide:

Hi,

We've introduced a full LDAP integration from our Windows Active Directory to our Confluence application running on RHEL. We use no Crowd application for this integration as there are not so much users (roughly 400). All users are synced without problems.

Recently we've noticed that when you remove users from the Active Directory they are not removed from Confluence.

What could be the reason for this? Is it possible to change the behaviour so users are removed from Conlfuence?

Thanks in advance,

Marco van der Heide

The Netherlands.


Answers:
author: David at David Simpson Apps
body: Which version of Confluence are you using?

I believe that there are updates in Confluence 3.5.5 \& 3.5.6 which may help with syncing if you're on an older version.
pagetree macro in a divbox
Asked by Gian Andri Matter:

Is it possible to push the navigation tree more to the left in a divbox? I don't like the gap between the border and the navigation tree..

There's no gap in the space-layout! Kinda strange..

Any ideas?

Thanks

Gian


Answers:
author: Gian Andri Matter
body: i solved it!

/\* Change link font and size \*/

div.plugin_pagetree a {

font-family:Helvetica, Arial, sans-serif;

font-size:9pt;

{color:#008000}}

/\* Change the excessively large padding/margin sizing to something more reasonable. \*/

div.plugin_pagetree ul {

margin:0px;

padding-left:13px;

{color:#008000}}

Thx anyway!


author: David at David Simpson Apps
body: It should just be a bit of CSS. Please paste in some wiki markup and/or screenshot of what you've added -- then I can replicate your problem.
Is it possible to rename "child pages" in the Confluence UI?
Asked by Malcolm Jacobson:

Hi,

We use Confluence as a documentation authoring tool and would like to rename the UI field "Child pages" to "Related information", as "child pages" does not mean anything to our audience.

Does anyone know if it's possible to change the field names in the UI?

Cheers,

Malcolm.


Answers:
author: David at David Simpson Apps
body: I'd recommend the method used here: [Changing boilerplate text in Confluence](http://davidsimpson.me/2009/11/04/changing-boilerplate-text-in-confluence/)

You'll likely need to change the following items:

```
hide.children=Hide Child Pages
show.children=Show Child Pages
view.in.hierarchy=Reorder Pages
number.of.children={0} Child Pages
number.of.children.one=1 Child Page
children.count=Child Pages ({0})
```

comments: author: Malcolm Jacobson
body: Hi David,

Thanks for your suggestion. All was going well until I tried to run the jar command, at which point I got "jar is not recognised as an internal or external command, operable program or batch file".

Do I need to install the Confluence Plugin Development Kit before I can build a plugin?

Cheers,

Malcolm.


author: Jeremy Largman
body: Ususally you can just rename a .jar to a .zip and unzip it (then rezip the contents of the unzipped folder, and rename to .jar).
UNC Link from Reporting
Asked by Michael Roff:

I would like to use the results of a {report-info} call to create a UNC Link.

With a UNC Link all you need to do is wrap a directory address with \[ \], however, when you wrap the results of a {report-info} call in \[ \], it treats the contents like a Confluence address and not a network address.

Using this code, you can see the issue highlighted.

Location: {text-data:Location\|width=400px}  
Report Location - {report-info:data:Location}  
Report Location as UNC Link - \[{report-info:data:Location}\]

Can anyone suggest anything I am doing wrong OR advise if there is a bug in the way the \[ \] link works?

Is there a way I can force a link to be a UNC link with some other syntax rather than just using \[ \]?


Answers:
author: Michael Roff
body: I tried to add this as a comment but it kept saying I was over the 600 character limit - but I had 63 characters left ???

I recieved a comment from David Simpson \[AppFusions\] but for some reason it doesn't show up here.

The comment was:

Do you have any examples?

In wiki markup...

```
[\\ComputerName\Shared Folder\Resource Name]
```

...seems to work ok for me.

The example to use is this three lines of wiki syntax:

Location: {text-data:Location\|width=400px}  
Report Location - {report-info:data:Location}  
Report Location as UNC Link - \[{report-info:data:Location}\]

Normal UNC links work.

It doesn't work when the contents of the link is from a {report-info} call.


author: David at David Simpson Apps
body: Do you have any examples?

In wiki markup...

```
[\\ComputerName\Shared Folder\Resource Name]
```

...seems to work ok for me.


Tags: link

report-info-macro
Confluence Glossary
Asked by Michael Roff:

I would like to have a glossary in Confluence that automatically created tooltips for any words / acronymns on a page that existed in a central Glossary.

Has anyone extended any of the existing Glossary Plugins to do this?

I know Adaptavist was working on a similar plugin many many moons ago, but I don't think it got off the ground.

Has anyone got any ideas on where to start with this?


Answers:
author: a.haaken
body: Well, this plugin is doin that job (i hope), but they are not \>C4 compliant.

This ticket is terminated to april, 18th..

<https://studio.plugins.atlassian.com/browse/BUDICT-5>

comments: author: Michael Roff
body: Looks like BUDICT is C4 compliant now. They have my thumbs up!


author: Matt
body: I know of a customer who were working closely with StepStone on a custom plugin to provide such funcitonality in Confluence. You mught want to [reach out to StepStone](http://www.stepstonetech.com/display/zen/Contact) for more details.

comments: author: Michael Roff
body: I have raised this question in the past and I think you (or someone else from Atlassian) recommended the same thing.

I spoke to StepStone at Summit 2010 and they were unable to help me. It seems their development is either private OR they never completed it.

Any other ideas are welcome.


author: Sorin Sbarnea (Citrix)
body: Every other wiki, KB or CMS I used had something like this, but confluence not.


author: a.haaken
body: Well, this plugin is doin that job (i hope), but they are not \>C4 compliant.

This ticket is terminated to april, 18th..

<https://studio.plugins.atlassian.com/browse/BUDICT-5>


Tags: glossary
How can I integrate scaffold, metadata, and reporting-plugin?
Asked by Adam Adam:

Over the last year my company has adopted Confluence 3.4.9 as a collaboration tool used by our engineers and project managers to keep track of projects, and overall a place to share data.

Unfortunately the way the system was setup 99% of the users do not have the ability to add templates, nor do we have the ability to administer the space in anyway. Getting templates, plugins, macros added can be painful and cumbersome.

So, with that said, I have a project that I am trying to create a case tracking tool in confluence using scaffold to standardize the pages, metadata to store some key fields, and reporting plugin to display the cases.

Unfortunately, since I don't have access to add a template, I am forced to use the add-page macro with the source keyword to copy a page as the source. When I do this, it shows me the wiki markup language, then when I click save it says page not found. I found that when I surround the entire page with the scaffold macro, it does work to save as a new page, however the the meta data becomes unreadable from the reporting plugin.

So,

Is there anyway to have a reporting plugin have access to the metadata (including text-filter) to display reports while having the scaffold based page able to be copied?


Answers:
author: NielsJ
body: Hi Adam,

providing some metadata, the {metadata-list} macro could help you. But be warned: No more meta data available in CF \> 4! So do not base your company's business intelligence on that :-D

Regards,  
Niels


Tags: metadata