youngmon/atlassian-qna huggingface dataset:
SDK Integration with a local developer instance
Asked by Gregory Kneller:

Hello Atlassian,

is it possible to integrate Confluence on demand with client s Atlassian SDK on Mac OS X ?


Answers:
author: JohnA
body: Hi Gregory,

I'm sorry to inform you that it ins't possible to integrate an OnDemand instance with an external SDK or other application, and in this instance an OnDemand instance would be particularly inappropriate because you don't actually have system-administrator privileges and cannot install plugins in an OnDemand instance. Therefore I would recommend that you install a local instance for plugin development, which you can install locally on Mac OS x, (for development purposes), and purchase a license for $10 so a local install would be a much better solution for you.

All the best,  
John

comments: author: Gregory Kneller
body: Hi John, thank you for the answer.


Tags: cloud

confluence-cloud
Customising confluence velocity layouts - should it be allowed?
Asked by JamieA:

System admins can customise space-specific velocity templates to make, eg, the view-page layout different.

Belatedly I've realised this is a very bad idea, as when you upgrade, the modified template will be retained, even though the default template has most likely changed. What you'd need to do is diff your changes with the original template, then reapply those to the new template.

As no warnings are giving, most likely you will forget, which will lead to subtly broken pages, or broken plugins. I just spent a day working out why the sticky notes plugin wasn't working.

So what's the question... I guess, should this even be possible? I would say not, it's never going to end well.

Also I think the upgrade should draw attention to customised templates and get you to check them all.


Answers:
author: David at David Simpson Apps
body: Jamie, I agree.

Allowing edit of the velocity layouts in admin just feels like a very dirty and very hidden hack. It's worse than JS based DOM manipulation and is easily forgotten and yes, the layout doesn't update on upgrade.

At the very least, the upgrade \*should\* highlight all the spaces that need fixing and how afterwards. I'm guessing that this sort of hackery isn't tolerated in OnDemand precisely because of this.

comments: author: JamieA
body: I'm certain it's not allowed in ondemand... and from now on it's not allowed in my instances either. To be honest mostly I used it to create a docn theme before such a thing existed, now it's not required anymore.

Yes, JS based hackery should at least fail in a more obvious way. My problem was that there was zero indication anything was wrong with the page, except that some meta attributes were not present because they had changed the name of the velocity file that got parsed to produce them.


author: JamieA
body: I'm marking your answer as correct. One person agrees with me so we must be correct.


Tags: layout

velocity
Form Mail NG - Change From Name / From Email
Asked by Michael Frieser:

Hello!

I would like to know if it is possible to change the from-name / from-email of an email sent with the Form Mail NG Plugin.

Currently, if I sent a mail the from-email is "watchdog@mycompany.com" and the prefix of the subject is "\[confluence\]"

Thank you for your help!


Answers:
author: Monika Turska [Adaptavist]
body: @Michael Frieser, latest version of our [add-on Form Mail for Confluence](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.formMailNG) is far more configurable than it used to be back when you posted the question - might be worth taking a look at it again :smile:

<http://www.adaptavist.com/doco/display/FMCP/1.+The+New+Form+Mail+for+Confluence>


author: Rodrigo Girardi Adami
body: ```
Hi There,In a first moment I would suggest you to take a look at the parameters that can be configured for this plugin in the documentation, this would give you a better idea if it is possible to change the from-name, see below:http://www.adaptavist.com/w/Plugins/free/form-mail-ng/#documentationIf the documentation does not help, then I would suggest you to make a contact with the provider of the plugin that is the Adaptavist, probably they will be able to provide you a better assistance with this plugin, you can contact them by the following: help@adaptavist.com +44 (0) 207 976 4896 http://www.adaptavist.com/ Hope this helps! Regards,
Rodrigo
```


Tags: email
Adding banner
Asked by Bjarte Mohn:

Hi,

I would like to add a banner (at the very top, above the breadcrumbs) of my space. The space is currently set up with "documentatione theme" and I'm unfortunately unable to figure out how to do it (if possible at all). Can somebody advise me?

If it is not possible, are there other ways to acheive a top banner? Would it e.g. be possible in the "global look and feel" theme? I've looked at the html for header and footer of the latter theme, but with limited html experienced I'm unable to figure out exactly where (and how) to modify it.

Cheers, Bjarte

PS: I use version 4.2.8


Answers:
author: Aussupport
body: How do we add Image?


author: gerdami
body: If you use the standard Documentation theme, you can display a banner or text at the top of every page in this space by entering wiki markup into the second form "Messages Header"


author: JohnA
body: Hi Bjarte,

I believe you will be able to do this by using Custom HTML, (Browse -\> Confluence Admin -\> Look and Feel -\> Custom HTML), and then add your HTML string in the "At End of HEAD" section and this should allow you to place a custom banner along the top of your instance.

All the best,  
John

comments: author: Bjarte Mohn
body: Hi John!

Thanks for your suggestion, I think that would work too, but it would give the same banner to all spaces while I only want it for one of them. Meanwhile I have added an image to the html by using trial and error, and while it seems to work one problem has showed up. The image causes some sort of overflow on the page so that when editing (or adding) a page the save-bar is missing. I'm trying to work out why now, but I'm rather stuck.

Cheers!


author: David at David Simpson Apps
body: It's best to hide any modifications using CSS when the page is modified -- gives more room for the editor too.

In your custom html, you could do something like this:.

```
&lt;style&gt;	#com-atlassian-confluence.edit .my-custom-stuff { 		display: none; /* hide from the editor */	}&lt;/style&gt;&lt;div class="my-custom-stuff"&gt;	... your stuff here ...&lt;/div&gt;
```


Tags: documentation-theme

style
What determines what pages are shown in the "Popular Pages" Tab on the Dashboard?
Asked by Henning K?hler:

What determines which pages are shown in the Popular Pages Tab on the Dashboard?

It seems when users create new pages, they pages appear on the top of the popular list, which confuses the users, because the content was not viewed by anyone else yet.

Thanks for your help.

<br />


Answers:
author: Fajar Suryawan
body: You can disable the 'Popular' tab as shown here:

https://confluence.atlassian.com/display/CONF51/Customising+the+Confluence+Dashboard#CustomisingtheConfluenceDashboard-Disablingthe'Popular'tabonthedashboard


author: hsuhailah
body: This appears to be a bug which I have raised at:<https://jira.atlassian.com/browse/CONF-26764>

comments: author: hsuhailah
body: This turns out to be not a bug. The developer clarifies further on this at: https://jira.atlassian.com/browse/CONF-26764?focusedCommentId=345987\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-345987


author: RianA
body: Hi,

By default the popular should be controlled by the number of likes and the comment of the post and it will be shown in [popular tab](https://confluence.atlassian.com/display/DOC/Likes+and+Popular+Content). I think there's not enough popular post at the moment which makes Confluence to push the newly created entry to that tab.

Hope this helps. Cheers.  
RJ


Tags: dashboard

popular
table plus auto row number not working confluence 4
Asked by Michael Roff:

I am using table plus on a table-report and the auto column number is not working for me.

This is the wiki markup which I used

\<code\>

{table-plus:autoNumber=true\|sortColumn=2\|sortDescending=true}  
{report-table:injected=true}  
{user-reporter:group=confluence-users}  
{text-sort:user:full name}  
{user-reporter}  
{report-column:title=Name}{report-info:user:full name}{report-column}  
{report-column:title=Confirmation Submitted} {report-block}  
{local-reporter:page:children\|source=%report:root content \> page:title%}  
{user-filter:content:creator\|users=%user:name%}  
{local-reporter}  
{report-body}  
{report-link:content:url}{report-info:workflow:state\>state}{report-info}{report-link}  
{report-body}{report-block}{report-column}  
{report-table}  
{table-plus}

\<code\>

Everything works, except the column number.

I should note that this report is inside a deck / card macro as well.

Has anyone else had this problem?

Any ideas on a solution?

Thanks, Mick


Answers:
author: Bob Swift (personal)
body: Looks fine. [Open an issue](https://bobswift.atlassian.net/secure/CreateIssue!default.jspa) with more details like Confluence version and plugin version.

comments: author: Michael Roff
body: OK, issue created.


Tags: table-plus
Replace and Render not working properly in Confluence 4
Asked by Michael Roff:

I am using a replace and render to determine the correct page to create a child page under based on the current year. This works in C3.5.16.

The code I am using is wrapped in a wiki-markup wrapper.

\<code\>

```
{replace-and-render}{replace-body}{note}{center}{create-page:template=CoC|title=%title%|parent=%parent%|mode=edit}Click to submit your confirmation.{create-page}{center}{note}{replace-body}{replace-item:%title%}{report-info:variable:Year|format=#} Coc Confirmation - {report-info:global:current user > user:full name}{replace-item}{replace-item:%parent%}{report-info:variable:Year|format=#} Coc Confirmations{replace-item}{replace-and-render}
```

\<code\>

This produces the following error:

![](../../upfiles/Snap_2012-09-10_at_14.48.37.png)

Has anyone encountered similar problems or know how to get around this?

Cheers, Mick


Answers:
author: Michael Roff
body: I have an update on this.

I have found that it is not necessarily the replace-and-render that isn't working properly, I think it is the wikimarkup plugin that is having problems.

It seems that the wikimarkup plugin is not accessing the variable Year correctly through the report: {report-info:variable:Year}

As this is sufficiently different from the topic of the thread, I have created a new thread for this particular issue.

The thread is here: [https://answers.atlassian.com/questions/93648/wiki-macro-not-accessing-variable-value](/questions/93648/wiki-macro-not-accessing-variable-value)


Tags: render

replace
OnDemand PDF Export with non-latin chars
Asked by intari:

How to make PDF export fro OnDemand confluence instances given that most of it's content is not using Latin characters (it uses Cyrillic ones)

In hosted ones you could upload cyrillic TTF font but I couldn't find this option in OnDemand?

How to do so ? is this option moved?is this something to do with Atlassian Support?


Answers:
author: LucasA
body: Hi Dmitriy,

To upload the necessary TTF font, please follow this links: Administration \>\> Wiki \>\> Configuration \>\> PDF Export Language Support .

If you need any assistance with that, please raise a support ticket.

Regards,

Lucas Lima

Atlassian Support

comments: author: Dmitry Pashkevich
body: I don't see this option now in OnDemand. Where did it go?


Tags: cloud

confluence-cloud
Rendering xhtml page with updated Regx?
Asked by tousifs:

Hi all,

i have One macro which implements Regx

for e.g **Pattern p = Pattern.compile("%start\\\\{(\[\^%\\\\{\\\\}\]\*)\\\\}%(\[\^%\]\*)**

Setup.jpg.

**%End%",(Pattern.MULTILINE\|Pattern.CASE_INSENSITIVE));**

its going fine with wiki storage format for 3.2.1

now i have migrated same to xhtml where its not working as expected.

please suggest few points so i can work around this regx.

Regards,

tousif shaikh.


Answers:
author: Jemy
body: Hi tousif,

its more related with the logic if its part of api or something then we can identify it easily please prepare your logic or defined what you have to achive in small chunks.


author: foiwrqoinx
body: test
Redirect after Login in Confluence
Asked by brett deline:

I have a problem and I haven't seen the answer in any of the forum posts here. We have a SaaS system that will use Confluence 4.1 as a Help Center. The goal for our help system is that each page of our application will have a wiki page in Confluence. When the user clicks on a link in our system we will lookup the appropriate Confluence wiki page in a database we maintain and redirect the user to the confluence page we find. The bit tricky part here is that when the user clicks the link in our application the user will be passed to the confluence login action (we have something set up to pass over the credentials to the login page so the user can be authenticate)d and will need to be redirected after authentication to the appropriate wiki page.

Now, we thought this would be no problem and that we could just put the page path in the 'os_destination' form field and that would be fine. For example we could put in 'display/g4s/Business+Consulting' where 'g4s' is the space name. However, when we do this after the user is authenticated they are taken back to the user dashboard. If we just put in 'display/g4s' into the os_destination field the user is taken to the space home.

So what gives? Why can't I redirect a user to a specific page in confluence? Is there any work around that doesn't require me to go mucking around with Tomcat or some other confluence config file?


Answers:
author: Dennis Kromhout van der Meer
body: I don't get why this is happening for you. I just tested this myself and it follows whatever I set os_destination to, including pages. Does it make a difference when you urlencode the path? Are you using any reverse proxies or anything that might mess with the data?

comments: author: brett deline
body: Dennis,

I was able to get this to work. I'm not sure exactly what I was doing wrong, I might have had an issue with my test user not having the appropriate permissions to the space we were trying to have them access.

Best Regards,

Brett


author: Dennis Kromhout van der Meer
body: Excellent! Please mark the question as answered and try to give a full solution, it may help people in the future with a similar problem :)
Global delete labels
Asked by Arthur van der Molen:

In our large confluence instance we want to delete strange/unwanted labels which have been created by unknown occasion/reason but to delete then manually from the pages is a tedieus task.

Is this prossible with sql, directly on the database or other plugin/option?


Answers:
author: Robert Chang
body: Hi Arthur,

Because of the foreign key, you'd need to remove the relevant entries form the content_label table first. For example:

```
DELETE FROM content_label WHERE labelid IN (SELECT labelid FROM label WHERE name = 'labelname');
```

Then follow that with:

```
DELETE FROM label WHERE name = 'labelname';
```

Please keep in mind this has not been tested, so be sure you back up your database first, or better yet, test this on a dev instance.

comments: author: Arthur van der Molen
body: Thanks Robbert, this is realy something for a plugin to support Maintenance on larger installations. Do you now this on some backlog?


author: JohnA
body: Hi Arthur,  

Labels are stored in the LABEL table, so you could use SQL to remove the labels that way. The other option would be to use the [Command Line Interface plugin](https://marketplace.atlassian.com/plugins/org.swift.confluence.cli) as this will also allow you to manage and delete the labels stored in your Confluence instance.  

All the best,  
John


author: Mert Karada?l? _ K?stebek Teknoloji _
body: Hi,

You could do it with Label Manager for Confluence plug in.[](https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager)<https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager>  
You could search for similar labels in a space and then merge them into one standard label.  
You could also do bulk operations like appending , adding and removing labels.  
Documentation is here:[](http://www.confluence.kostebekteknoloji.com/display/PLUG/Label+Manager+for+Confluence)<http://www.confluence.kostebekteknoloji.com/display/PLUG/Label+Manager+for+Confluence>  
Regards,


author: Arthur van der Molen
body: When i try to delete a label is complains:

#1451 - Cannot delete or update a parent row: a foreign key constraint fails ("confluencedb"."CONTENT_LABEL", CONSTRAINT "FKF0E7436E27072AEF" FOREIGN KEY ("LABELID") REFERENCES "LABEL" ("LABELID"))


Tags: label

maintenance

tag
Links to headings or anchors within same page does not work in html export
Asked by Pankaj Jangid:

I have a page with 2-3 subheadings. One of the headings is

Test Heading

Now, if I create a link to this heading using Insert Link \> Advanced with link = #Test Heading, the link works in wiki. But if I export html, the link doesn't work in the output.

We are using confluence version 4.2.2 in production but we have tested it in 4.3 as well.


Answers:
author: HuseinA
body: This seems to be a known bug, I'm afraid - <https://jira.atlassian.com/browse/CONF-24703>

comments: author: Edward Boettcher
body: I have added to the bug fix on the jira page above. I can be fixed.


Tags: anchor

link
What the best practices for deploying confluence?
Asked by Corey Henderson:

I'm looking to build deployment scripts for a confluence site so I can replicate the production environment in staging and development. What are the best practices here? Do I just need to worry abou the database or are there other files that change?


Answers:
author: Septa Cahyadiputra
body: Hi Corey,

In a nutshell, to migrate your Confluence you should copy the database data and the home directory. That is it, so if you intend to create a script just focus on copying those two.

Not to forget implementing a developer license for your staging environment.

Cheers,  
Septa Cahyadiputra


author: AlysonA
body: Hi Corey,

The normal procedure for migrating Confluence to another test server is described in <https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>

Hope it helps!
Migrates everything?
Asked by Richard S:

I am currently using an Confluence on-demand with a view to moving the company across to a Download version just after Christmas. I have read the article regarding migrating from on-demand to download, where I have to create 2 instances (on-demand download version plus a normal instance) then migrate from on-demand to the on-demand download version, then migrate from the on-demand download version to the instance I wish to use.

My question is this - when doing these migrations (especially the first step), are all of the users comments maintained and are all attachments (that have ben uploaded) brought across as well? If so, are all attachment versions brought across?


Answers:
author: AlysonA
body: Hi Steve,

Assuming the migration is successfull, everything should be migrated along. So you shouldn't worry about it. :)

comments: author: Richard S
body: Many thanks for the confirmation =)


Tags: cloud

migration
Confluence Recently Updated macro should not list 'view restricted' material
Asked by Pierre Hilson:

I'm building a knowledge base which will contain 'internal only' articles that should not be readable/searchable by anonymous users.

To achieve this, 'internal only' documents will be restricted in view for anyone but internal people.

My concern is that my customers still see the title of 'internal only' articles on the Knowledge Base home page containing the 'recently updated' macro.

Any idea how to restrict this ?


Answers:
author: Septa Cahyadiputra
body: Try to [rebuild indices from scratch](https://confluence.atlassian.com/display/CONF41/Rebuild+the+Content+Indices+from+scratch) and see if it helps. Double check your permission configuration, as recently updated macro should not listed restricted page to common users.

Easiest way to test this is to ask those user to click it and see if they can open the page. If they can, means the permission configuration is incorrect.

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Pierre Hilson
body: Well. It seems I needed to be a bit patient after changing the rights on the page.

Thanks for the answer. Indeed, the page is not listed if the user has no right to view it.

That is fine.


Tags: recently-updated

restriction
How to allow page rating for anonymous login
Asked by Pierre Hilson:

My anonymous users have no right to modify the pages in my confluence space.

How can I allow them to rate the pages they are viewing (with the Like) ?

Thanks,


Answers:
author: JohnA
body: Hi there,

I'm sorry to say that the Popular Content rating functions, (such as the Like function), only works for users who are logged into the application, so it isn't possible to let anonymous users to use the Popular Content functions. However, you might find that the [Confluence Rate macro](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.rate), (provided by Adaptavist), allows anonymous users to provide feedback on content that you can then analyse without requiring the users to be logged into the instance.

All the best,  
John

comments: author: Pierre Hilson
body: Ok. I will try that.


Tags: anonymous

like
Is there a batchupload for plugins ?
Asked by Joerg Bencke:

Hi Folks, I am migrating a machine - can I batchupload the plugins or do I have to upload each one manually ? (no internet access)


Answers:
author: Florin Manaila
body: If you have access to the disk, you can just drop them in JIRA_HOME/plugins/installed-plugins and restart JIRA; otherwise i don't think that's possible.


Tags: confluence-administration
How to restrict the tag list
Asked by Pierre Hilson:

We are building a Knowledge Base based on Confluence.

We will carefully tag each article.

We will build and maintain a clear list of tags which editors will then used.

We would like to forbid editor to add tags to the list.

How to achieve that ?

Thanks !!!


Answers:
author: Pierre Hilson
body: I found <https://jira.atlassian.com/browse/CONF-3936>

My comment on this is:

I may be a control-freak but building a Knowledge Base on Confluence, only a few people will actively edit the pages, I cannot afford tags like 'tags tag tagging' to be in the tag list. This end up in editors putting the 3 tags when one suffice or worst only putting one and having final users missing the page simply because they choose the 'wrong' tag in their search.

I need this restriction badly.


Tags: tag