youngmon/atlassian-qna huggingface dataset:
PDF Export omits text from the code macro
Asked by Felicity Chapman:

We use Confluence to provide technical support documentation and the code macro is used on many pages to display code examples.

Just noticed that some of the examples in the exported PDF made no sense at all. On investigation it became clear that when the example included a long line of hyphens (a comment to break up the text in the configuration file), some of the subsequent lines of code were simply omitted from the exported document. No idea why this is happening or how many other topics might be affected but not good behaviour.

The wiki text:

{code}

# JAVA ANALYSIS -------------------------------------------------------------------------------------

projects/JavaApp1/\*

projects/JavaApp2/\*

projects/NewJavaApp/\*

# Maintainability

....

{code}

Appears as expected in the browser but appears in the PDF as:

{code}

# JAVA ANALYSIS

-------------------------------------------------------------------------------------

Maintainability

....

{code}


Answers:
author: Felicity Chapman
body: On investigation, this turns out to be a problem only with my customized PDF stylesheet. If I delete my stylesheet and revert to the default Confluence PDF stylesheet then there is no problem (not a long-term option).

The workaround was to make sure that the lines of hyphens were shorter and did not wrap in the export.


author: salvatore
body: Something went wrong with my pdf reader. I wanna convert pdf into text first. Any suggestion will be appreciated. Thanks in advance. How about the abovementioned one?

----------------------------------------------------------------

**Related:** [pdf conversion to text](http://www.pqscan.com/pdf-to-text/)


Tags: code-macro

pdf-export
Problems showing PDF-Documents with umlauts and special characters in filename
Asked by Martin:

Hello,

when IE-Users open via hyperlink a pdf-file that has german umlauts or special characters in the filename a dialog is shown, that the filetype is unknown. This is an old problem. We could not rename the files themself. Is it possible to say via markup of the hyperlink that the filename should be encoded with UTF-8?

Thanks,

Martin


Answers:
author: Dobroslawa Wierzbicka
body: Hi Martin,

Indeed, it's a known Confluence bug (reported here: [CONF-23778](https://jira.atlassian.com/browse/CONF-23778)). The workaround is to install a font that would support the special characters, as described in this [Knowledge Base article](https://confluence.atlassian.com/display/DOC/Creating+PDF+in+Another+Language). To do that:

1. copy the relevant font file from your file system;
2. go to *https://\<account_name\>.atlassian.net/wiki/admin/flyingpdf/configurepdflanguagesupport.action*
3. upload the font file and click Install.

Hope this helps :)

Dora

comments: author: Martin
body: Hi Dora,

unfortunately this is not my problem. I have a problem when i open a pdf-document e.g. "H?nschen.pdf" then the IE (which is the only allowed browser) shows a dialog, that the filetype is unknown. My question is, if i could manipulate the hyperlink in confluence via markup.

Thanks

Martin
How can I limit to a few users the view and interaction, to only one project?
Asked by Claudio Di Priamo:

I have 3 projects, but I need to limit the access to just one of those project, to a bunch of users, and some of them also need to be able to keep interacting with the rest of the projects.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: You can control it by "Browse Project" permission. See <https://confluence.atlassian.com/display/JIRA/Managing+Project+Permissions>


author: Claudio Di Priamo
body: Thanks, I've found the proper options in the permission fields.

Best Regards,

Claudio.


Tags: cloud

jira-cloud

limit

project

user
We are planning a major upgrade from version 4.0.3 to the current version 4.3.7. What are the specific required steps to go from 4.0.3 to a new server running 4.3.7
Asked by Louis Williams:

We are currently running confluence version 4.0.3 and want to upgrade and run your latest version on a new server by new week. You documentation recommends a phased/intermediate upgrade approach between versions that may impact our timeline. So I need to know the following:

1.) Are your recommendations simply recommendations or is this a requirement.

2.) If I have to do the upgrade in intermediate steps involving versions which versions would I be required to do to get to the latest version.

<br />


Answers:
author: LuizA
body: Hi Louis,

Regarding your questions:

1) It's a requirement for old versions - example: if you are on a 3.4.x then you need to upgrade to the 3.5.17 and then to the 4.x version. In your case, you can move from Confluence 4.0.3 directly to Confluence 4.3.7.

2) There's no need of intermediate steps in your case.

More information about how to upgrade your Confluence (steps and procedure), please check this article:

<https://confluence.atlassian.com/display/DOC/Upgrading+Confluence>

Regards,

LJ.


Tags: migration

server

upgrade
Confluence 4.3.7 drag and drop not working properly
Asked by stuartu:

I'm running Firefox 18.0.2 on Linux Mint 12.04 and are trying to drag/drop an image into a new Confluence page (we are running 4.3.7).

The image displays in the page, but I can not edit any properties (i.e. size, border, link, effects). If I try and preview, the image disappears, and is gone when I click the Edit or Save.

It works via Insert, Image, browsing to the picture.

Not sure why the drag and drop functionality doesn't work. I've tried with various types of files.

Is this broken for other people?


Answers:
author: Septa Cahyadiputra
body: Hi there,

Just try to replicate the issue on my end without any issue. First and foremost, we need to confirm whether this is a browser issue or server side issue. Could you please try to replicate the issue using Chrome and see how it goes.

If Chrome also failed, you might want to double check if the [feature is disabled or not](https://confluence.atlassian.com/display/DOC/Using+Drag-and-Drop+in+Confluence#UsingDrag-and-DropinConfluence-Disablingdrag-and-dropforexternalfiles).

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: stuartu
body: Thanks Septa,

The drag and drop plugin was disabled. It works perfect now that I've enabled it.

I'm obviously going to have to add that check to my upgrade notes.

Stuart.
Copy subtree of pages from one space to another
Asked by Kevin Buchs:

Back in the Confluence 3.5 days, I was able to copy a page from one space to another, and the entire sub-tree defined by that page and its descendents was copied along with it. Apparently there is no way to do that in 4.2.12?


Answers:
author: SarahA
body: Hallo Kevin

Perhaps you were lucky enough to have a plugin installed in Confluence 3.5, that allowed you to copy a page and its children? :) As far as I know, Confluence core has never had this functionality. There is a feature request, which has some useful information in the comments about add-ons:

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

I hope this helps!

Cheers, Sarah

comments: author: Kevin Buchs
body: OK, dreams are always better than reality.
Using templates and macros based on page name?
Asked by Stephen Hayden:

So here's my use case, wondering if this can be done?

I want to build a number of pages for an event, each page will be for competitions within that event, so pages will be called kickball, softball, etc.

Blogs will be created as recaps for these events, and labeled appropriately so the content can be aggregated into a main feed on the event homepage, but also onto the pages for the individual events.

So my question is, can I build a template, and have the blog list macro use the name of the page for the label it is constrained to? So a page about Kickball would then have a blog roll of kickball labeled posts, etc.

It's a few dozen events, relativelly trivial work to make them all, but can see this being useful in other applications so I thought I would ask and it could make a interesting use case for some documentation I'm building for our end users.

Loosely related, can you list blog posts by space category? Sounds like maybe a job for the reporting plugin maybe?

Thanks!


Answers:
author: Daniel Borcherding
body: Stephen,

The Blog post macro is able to aggregate on space, labels or authors. You can specify a time frame that this macro will pull in new blogs.

We have the following document that goes into detail on the use of this macro.

<https://confluence.atlassian.com/display/DOC/Blog+Posts+Macro>

Please take a moment to review it and let us know if you have any other questions.

comments: author: Stephen Hayden
body: Yeah, default functionality is too broad for this particular use case. Was hoping to trip over an unrealized tokenized feature or something, so you could build a template that have context beyond just the space level. Or perhaps some pointers with the reporting plugin that might accomplish the same thing and leverage the name of the page in this use case to populate content.

So as it is, if I have to make 50 pages with this macro, i'll just need to edit the labels used in the macros to reflect the event they are to catalog/track.


author: Daniel Borcherding
body: To the best of my knowledge yes. There is no way that I know how to get the blog macro to pull a variable out of a page template. You will need to create the pages by hand and alter the blog macro to aggregate the label you desire.
How can I set a page to be excluded from search results?
Asked by John Jaymes:

I am using my confluence instance (one is OnDemand, I have another version that I host myself) as a policy library. I have previous (old and no longer in force) policies posted for continuity (they have to be accessible) but I want to keep these individual pages from showing up in search results, which creates user confusion about which policies are current and which are not. Is there some way to set a given page (or attachment) to be excluded from search results?


Answers:
author: Dave
body: Hi John,

If you mean results from search engines, you would only be able to do this in the instance you host internally, as it requires access to the file system. You can [set a robots.txt file](http://www.robotstxt.org/) that will tell Search Engine spiders what they can and cannot index. In addition, for existing pages, you should be able to request they be removed from the existing index - [at least Google allows this](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=164734).

If you want to restrict the pages from a Confluence search, you would need to actually restrict the pages as mentioned above, or find a plugin that can do it for you (also not available in OnDemand).

Best,

-dave


author: JoeyA
body: Hi John

If the users don't need to see the archived results ever then you could view restrict the pages that you don't want showing up in search. This will mean, however, the users will never be able to see the pages (even via direct url navigation) until the restrictions have been lifted.

Do you know how to restrict pages? If not, I can include more instructions in my answer. The best way to add restrictions will depend on the structure of the pages you want hidden.


author: Bruno Rosa
body: John, I'm afraid this won't be possible to achieve on Confluence OnDemand. I say OnDemand because as far as I know, by default, Confluence indexes everything it can read and there is no possibility to exclude a page or specific pages from being indexed. However, if there is a way to do that, it would be possible on a Confluence Self-hosted environment. I can't guarantee it's possible, however since the self-hosted environment is highly customisable and you are free to install any plugin you want, your best bet to achieve this, would be it.

Cheers,

Bruno Rosa


Tags: cloud

confluence-cloud

search
Error - The markup provided is not valid link markup - when trying to add a link to a wiki page
Asked by loretta rinaldi:

This feature was working. When I try to insert a link to another wiki page (Insert, Advanced), I type \[ and automatically get The markup provided is not valid link markup.

No matter what I type after the \[ symbol or even if I type a word (of a page title I know exists) and press Control+Shift+K, nothing happens.

Is there something in Confluence that I removed or changed by accident to cause this problem now.


Answers:
author: loretta rinaldi
body: 4.3.2 - Not sure if it is related, but I had two plugins from Bob Swift Software - Excel Plugin and Table Sorter Library. I installed them and did not like them so I disabled. That is only thing I am aware of, that changed in Confluence. Thanks.


author: Jonathan Starr
body: This can be caused by a leading space in the markup string (i.e., a space before a document name to which you wish to link).


author: Kip Coleman
body: I'm having this issue. Confluence 5.7


author: Daniel Borcherding
body: Hello Lorettar,

What version of Confluence are you using? We are going to need that in order to try to replicate this behavior.
Confluence Header
Asked by fouimette:

How do I alter the system so that the confluence header (with the logo, username, search, etc) stays at the top when I scroll? Also, is there any way to customize the actual site template more so that I can get a better unified feel with my corporate website? What/where is the source files that I can alter(carefully) to customize it more?

Thanks,

Frank


Answers:
author: Matthew J. Horn
body: To do a static header that does not scroll, you can use CSS, as described here:

<http://stackoverflow.com/questions/3593594/how-to-keep-the-header-static-always-on-top-while-scrolling>

In confluence, you can modify the CSS on a per-space or site-wide basis. For site-wide, edit the global stylesheet. Log into the /admin app, and select StyleSheet under Look \& Feel.

To customize the "site template", you'll want to start with the global decorators. I recommend looking at this page to get a feel for where to begin:

<https://confluence.atlassian.com/display/DOC/Customising+Site+and+Space+Layouts>

Feel free to ask questions on this topic, as I (and I'm sure many others) work in the decorators quite a bit.


author: Kristina
body: I have a similar situation. I am trying to move a header from vertical to horizontal. Is there any documentation how to do that?


author: Oliver Valls
body: It seems that it is no longer possible to fix the header as explained here:

<https://confluence.atlassian.com/display/DOC/Customising+Site+and+Space+Layouts>

Is there any alternative way of doing it?


Tags: custom-field
JQL auto-complete not working for one user
Asked by Rodney Sawyer:

I have one user that is having a problem where autocomplete is not working when using JQL... At first I thought it was a problem with his computer not using the javascript correctly, but I have had in log into numerous machines where autocoomplete works for me, and when he logs in it does not work. I log him out and log back in and it works fine for me. I am a little dumbfounded by this issue and have gone to your 5.2 documentation that states that there is a link under the jql box to turn auto-complete off...I do not have said link at all. NOt sure if I am confused by this documentation or if I do not have it.


Answers:
author: Andrei [errno]
body: <https://confluence.atlassian.com/display/JIRAKB/JQL+Auto+Complete+is+no+longer+working+for+individual+users>

run the suggested query to see if this user has Autocomplete disabled


author: Rodney Sawyer
body: That did it... thanks
How do you manage your PDF Export stylesheets?
Asked by Felicity Chapman:

I need to customize the PDF export stylesheet for some spaces. Some of the spaces need the same customization, others need different customizations.

I'm finding it really hard to keep track of what's different from the global stylesheet in which space.

Ideally, I'd define all of the common CSS in the global stylesheet and then just add the few space customizations to the CSS in each space. However, Confluence doesn't seem to work like this. It seems that if there is a space CSS then this CSS is used, falling back to the Confluence default CSS for anything that's not included. If there is no space CSS defined at all for PDF Export then the Global CSS is used, falling back to the Confluence default CSS.

It would be much easier to maintain if any space CSS took highest precedence, followed by global CSS and then falling back on the default CSS only if there's no space or global definition.

How do you manage your CSS? any thoughts?


Answers:
author: Daniel Borcherding
body: Hello Felicity,

I filed the following bug a while ago.

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

It appears as if using a Space CSS will cause Confluence to completely ignore any Global CSS.

You rightly point out that styles do not cascade as they are supposed to. Please feel free to add you own comments to that ticket. I will attach this post to the issue to further increase it's visibility.

comments: author: Felicity Chapman
body: Thanks for alerting me to your Jira issue. I've voted for it. It's frustrating that such a small omission makes the task of maintaining stylesheets so much harder.


author: RianA
body: By right the Space CSS should be on the first priority, however if it's not the case, perhaps you could add !important tag before the end of the semi colon. This tag will be the first priority wherever it's placed. You can get more information on [this documentation](http://webdesign.about.com/od/css/f/blcssfaqimportn.htm).

comments: author: Felicity Chapman
body: Thanks for the quick response. Sorry. I obviously didn't explain very well.

Yes, the Space CSS takes precedence and then the export falls back to the Default CSS.

I think that itthe PDF export should try Space CSS, then the Global CSS before falling back to the Default CSS. It would allow you to put all common CSS elements in the Global CSS and just maintain any space quirks in the Space CSS.


Tags: css

export

pdf
HipChat-Plugin for Confluence installed but not working
Asked by Martin Melcher:

I just installed the HipChat-Plugin 1.4, created a token and saved this token in the configuration.

But HipChat functionality will not show up in Space Admin?

Where is the problem? CFL 4.3.1

Thanks and best regards, Martin


Answers:
author: Martin Melcher
body: Hi All,

thanks fpr your support.

After several de- and reinstallations over the past weeks the problem is solved and the plugin is working successful. Unhappily I do not know what the problem really was.

Nevertheless the problem is solved.

Best regards, Martin


author: Daniel Borcherding
body: Hello Martin,

Is your Confluence instance behind a firewall? It is possible that your network is not set up to allow this plugin to communicate with the HipChat servers. I would check with your network admins to see if you are allowed to make requests from the machine Confluence is installed on out to the internet.

If you are not behind a firewall, including screencaptures of the behavior you are seeing would be a big help.

comments: author: Martin Melcher
body: Hi Daniel,

yes our instance is behind a firewall, but able to access the internet or be accessed from the internet.

The plugin is installed and I already created a token for hipchat:

![](../../upfiles/hipchat-1.tiff)

But I will not see possible configuration options for the plugin in the space admin menu:

![](../../upfiles/hipchat-2.tiff)

They are just missing. Or did I understand something wrong?

Best regards, Martin


author: Dave
body: Hi Martin - you might want to check out <http://help.hipchat.com/knowledgebase/articles/64444-ip-addresses-for-firewalled-environments> to ensure that the proper protocols are allowed through the firewall.

Best,

-dave


Tags: hipchat
OpenSSO 8.1 with Confluence 4.3
Asked by Bron:

I am upgrading from Confluence 2.10 to Confluence 4.3. We are using OpenSSO 8.1 at the moment. Is this compatible with Confluence 4.3?

All help is much appreciated


Answers:
author: Mirko Skramusky
body: Hi!

Confluence does not support SSO out-of-the-box. You need an add-on, call authenticator, specifically for you SSO service. Typically this authenticators are provided by third party companies or you implement it by yourself. So you have to check this add-on or the documentation of the vendor.

Hope this helps to to take a step forward!


author: Daniel Borcherding
body: The only bit I would add to the above is to make sure that you go from Confluence 2.10 -\> 2.7.4 -\> 3.5.x -\> 4.3.7 those stopover points pick up necessary changes. It is important too that you check funcationality at each of those steps.


Tags: sso

upgrade
Feed from Calendar
Asked by Ko Cha:

hi,

I created a calentar for my wiki and I would like to feed a page with the upcoming events. Is it possible in Confluence?

Thank you in advance.


Answers:
author: Ko Cha
body: Thanks for your reply, but I don't want this. want a macro that feed the upcoming events from the calendar.

Thank you again for your reply.

Regards,

Ko Cha


author: GuilhermeA
body: Hello Ko!

If I understood your correctly, you are trying to perform this:

* <https://confluence.atlassian.com/display/TEAMCAL/Using+Team+Calendars#UsingTeamCalendars-IncludingCalendarsonaConfluencePage>

If not, then I might have got the wrong Idea, or maybe its not yet possible.

Cheers,

Guilherme


Tags: calendar

feed