youngmon/atlassian-qna huggingface dataset:
Template Editor Doesn't Support All Macros
Asked by Gunnar Gissel:

I'm running 4.2.11

My template editor only takes wiki markup. It's a simple two text field, one text area set up. It does not look like the template editor shown here: <https://confluence.atlassian.com/display/DOC/Adding+a+Template#AddingaTemplate-content>

My real issue is I'd like to include the navitabs macro (not from Atlassian, true, but also just a macro) in a template, but have not figured out a way to make that happen with the template editor as it is on my installation. The template editor appears to only take wiki markup, and I haven't figured out what the navitabs wiki markup is, if it exists. {localtab}, {localtab group} and variations thereof (plurals, spacing, capitalization) don't seem to work.

Do I need to upgrade to a newer version to get full macro support? If so, what version?


Answers:
author: Alejandro Conde Carrillo
body: May be you can try inserting the XHTML code in your template. For example this wikimarkup:  

{macroname:parameter1=value1\|parameter2=value2}  

Converts to:  

\<ac:macro ac:name="macroname"\>\<ac:parameter ac:name="parameter1"\>value1\</ac:parameter\>\<ac:parameter ac:name="parameter2"\>value2\</ac:parameter\>\</ac:macro\>

comments: author: Gunnar Gissel
body: That's probably a pretty good technique, but I haven't had much luck figuring out what the wikimarkup for navitab's localtab is supposed to be. Rummaging around their site, it appears that the localtab macro doesn't support wikimarkup, which makes it a little hard to use with the current template editor.

Is there a way to extract the xhtml from a confluence page, like an export or something?

Here's my "localtabs don't work with the current template editor" source: <https://studio.plugins.atlassian.com/browse/NAVITABS-14>


author: Michael S
body: For this particular issue the Navitabs plugin was causing problems with our template editor: <https://studio.plugins.atlassian.com/browse/NAVITABS-14>

This is resolved in Confluence 4.3, due for release early September.


author: Adolfo Casari
body: Try this converter:

[Wikify](http://www.amnet.net.au/~ghannington/confluence/wikifier/)


Tags: macro

template
How to change floating footer to a static footer?
Asked by Rusty Newton:

We are using Confluence 3.5.X with the "Documentation" theme.

Is there an option I'm overlooking for changing the floating footer "Powered by Atlassian.." (floats at the bottom of the browser view) to a static footer?I'd like the footer to stay at the bottom of a given page (that is, the bottom of the actual page, not the browser view) rather than floating with the view and decreasing the browser viewing area?

If not, can someone suggest point the way to a wiki page or documentation describing which files would be the proper ones to edit to add a static footer on every page and remove the floating footer?

I found a few pages on the Confluence wiki, but they seem to point to how to edit the text of the floating footer.


Answers:
author: David at David Simpson Apps
body: For a quick and nasty JavaScript hack, this will move the footer to the end of the page content ...

Browse to **Confluence Admin \| Look \& Feel \| Custom HTML**

In **At the end of the HEAD**, paste:

```
&lt;script&gt;  AJS.toInit(function() {    AJS.$('body.theme-documentation #theme-footer').after(AJS.$('#footer'));    AJS.$('#splitter, #splitter-sidebar, #splitter-content').css('height','100%');  });&lt;/script&gt;
```

It doesn't handle page resizes, so the CSS fix will need to be reapplied on each resize.

comments: author: Vladimir Alexiev
body: This has no effect in confluence 3.5.3


author: Rusty Newton
body: I forgot to post that this didn't work for me either. Tried in Confluence 3.5.17. Followed your instructions. No visible change in Firefox or Chromium. I've pretty much given up for an easy fix at this point.


author: Nawaz Quadri
body: Please refer <https://confluence.atlassian.com/display/CONFKB/Page+Footer+Appears+in+the+Middle+of+the+Page>

comments: author: Rusty Newton
body: Thanks for the link, but this is not the issue I'm having. The footer is behaving properly and floating at the bottom of the browser view. I'd like the footer to be static and stay at the bottom of the "page" , not the "browser" view.


Tags: documentation-theme

footer

layout

user-interface
Detailssummary and Metadata Macros - how do these work?
Asked by Mick Davidson:

Evening,

I've been trying to get these to work but failed miserably. I've read and re-read the user info for both, and I'm getting nowhere.

I have to say I don't find the user info helpful or clear. This is probably my ignorance as much as anything, but depsite several readings I've no idea how I should be using them or how they are supposed to work.

I'd like to see the examples given in the docs working together to show what the outcome should be, but they don't.

Also, in the Detailssummary macro, the parameter default is shown as being 'None', but doesn't give and example of what you can enter if you don't want to leave it blank. Which you can't do anyway, to add the macro you have to add something here. (also, can you add more than one parameter?)

Just to make it more confusing, if I enter 'none' I get a msg saying that the label 'none' doesn't exist. If I enter a label that has been added, I get the following error msg:

Error rendering macro 'detailssummary' : \[Ljava.lang.Object; cannot be cast to com.atlassian.confluence.labels.Labelling


Answers:
author: Jodie Miners
body: Hi Mick, it looks like this question was never answered. The new documentation pages <https://confluence.atlassian.com/display/DOC/Metadata+Details+Macro> seem to help to explain them much better.

comments: author: Mick Davidson
body: Thanks for letting me know Jodie. :)


Tags: documentation

macro

metadata
Uploading content from an external application
Asked by SallyD:

We want our Automation Test tool to post its nightly html test results to the wiki. I'm thinking of a new attachment each night on a designated page. Is that possible? Can someone point me in the right direction to get started with this?


Answers:
author: Azwandi Mohd Aris
body: You can create a remote API client to automate this. You can either [start from scratch](https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs) (e.g. building a remote client implementing the addAttachment method) or use some available tools like the [Confluence Command Line Interface](https://studio.plugins.atlassian.com/wiki/display/CSOAP/Confluence+Command+Line+Interface) or this simple [script](https://github.com/puyo/confluence-attach).

comments: author: Bob Swift (personal)
body: Specifically [addAttachment](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-addAttachment) from the CLI. You could also [addPage](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-addPage) and use the [HTML Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/HTML) to render it securely.


author: SallyD
body: Excellent starting points! Thank you, both! I'm sure more questions will come later.
Importing Multiple Repositories With Versions?
Asked by Joshua Anderson:

We just signed up with OnDemand and are looking to import our code into SVN to give us all of the fancy integration we are looking for. We have multiple projects setup in our system (we are a mobile app dev shop), so they look something like this:

/svn/ANDROID/

/svn/iOS/

/svn/MOBWEB/

/svn/SERVER/

However, according to this page (<https://confluence.atlassian.com/pages/viewpage.action?pageId=253231640>), we only get to import one project with version history.

Can that really be true or is it that in each project, I can import version history once?

Thanks!


Answers:
author: Azwandi Mohd Aris
body: It is best to import the Subversion repository in one go, as documented in [https://confluence.atlassian.com/display/AOD/Importing+Versioned+Data+into+Subversion](https://confluence.atlassian.com/display/AOD/Importing+Versioned+Data+into+Subversion.). Please note that you will need to restructure the SVN repository before dumping and importing, as outlined in step 3.

The documentation that you pointed out is applicable for importing some projects at the later stage.

comments: author: Joshua Anderson
body: That's what we thought. I just can't believe that importing source into one Project destroys version history in another. Seems like a bug, not a feature...


Tags: cloud

fisheye-crucible-svn-ondemand

import
Confluence issue after upgrading from 3.5 to 4.2
Asked by steve zhu:

I upgrade my confluence from 3.5 to 4.2. Everything went smoothly. I can view the contents with no problem after upgrading.

However, when I tried to modify a page, I kept getting the error message "Error saving draft. No draft has been saved." If I use the save function, the contents will be saved just fine.

When I tried to upload an image and user insert image function to insert it into a page, I will not be able to see anything in the page. I checked the log and found the image was uploaded correctly.

When I tried to insert a link, the search function is not working with the error message "There was an error communicating with the server, please try again later."

Anyone knows the possible reason for this? Thanks a lot in advance


Answers:
author: steve zhu
body: The java used on our server is 1.6.0.5. It works fine with confluence 3.5. However, it is not compatible with the latest confluence 4.2. We upgraded java on the server to 1.7.0 and this fixed all the issues.


author: steve zhu
body: Thanks for all your help.

I contacted tech support and figured out that it is due to the java installed on our server. The java used on our server is pretty old, 1.6.0.5. This is not compatible with the latest confluence. I upgraded the java to the latest 1.7.0 and it fixed all the issues.

Thanks again.


author: LuizA
body: ```
Hi Steve, It's hard to pinpoint the issue based on the stack trace you provided. Are you using the global theme? Is this happening to all spaces? You might want to raise a support ticket at https://support.atlassian.com with your latest logs so we can continue troubleshooting it.
```


author: steve zhu
body: just checked log. A lot of error message inside. Most seems to be related with "Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder"

such as:

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder

at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:431)

at com.sun.xml.bind.v2.runtime.JAXBContextImpl.\<init\>(JAXBContextImpl.java:288)

at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1111)

at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)

at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)


author: Amalia
body: anything in the log?
Users are not found in Confluence
Asked by Rumceisz:

Hi All,

there are some users that are existing in Confluence but when I add their names on a page the Confluence doesn't recognize - I mean the names won't get hyperlink. Other usernames get hyperlink.

We use Jira 5.1.2 and Confluence 4.2.3

Why is that?

Rumi


Answers:
author: RianA
body: Hi Rumi,

Could you please confirm that the users have their own personal space? Usually the it got linked to the user that has personal space, and it linked there.

Cheers

comments: author: Rumceisz
body: It didn't work


author: Jonathan
body: This also helped solve the problem for me:

go to Browse \> Confluence Admin \> Cache Statistics and "flush all"

even without disabling the LDAP first.


author: BernardoA
body: Also you can try this approach in dropping (disable) the LDAP direcotry and create again, then finally sinchrozine...after that go to Browse \> Confluence Admin \> Cache Statistics and "flush all", so I believe in this way may update all users in Confluence.


author: Mark Hrynczak
body: Rumi,

Are you maybe seeing this bug? <https://jira.atlassian.com/browse/CONF-6404>

The workaround is that you have to visit a user's profile page so that they will be added to the index, and so can be listed in search results.

Cheers,  
Mark


Tags: user
Preventing Sharepoint searches by space?
Asked by Patrick Illian:

For the Sharepoint Connector:

Is there a way to allow one space to search a Sharepoint site while preventing other spaces from searching it?

Right now the "Search Sharepoint \& Confluence" drop down appears in all of our spaces. The issue is searchable access to the Sharepoint is really only wanted in one space but not others.

Thanks


Answers:
author: hsuhailah
body: I'm afraid there's no way to specify this. Once you configured SharePoint Search Integration Settings, it will appear in Confluence header in all spaces/pages and even in Administration Console. I found an improvement request to re-implement the ability to enable/disable Sharepoint integrated search on a per-space basis as tracked here: <https://studio.plugins.atlassian.com/browse/CSI-686> however this improvement request is closed as 'Won't Fix' due to the users lack of interest in this functionality.

comments: author: Patrick Illian
body: I see, okay thanks.

In that case, do you know if there is a way to add a search box that searches only confluence without having to select it from the drop down?


author: David Meacock
body: Do you happen to know by chance why the 'Search Sharepont \& Confluence' option would only return sharepoint results on our installation? Is there some configuration I'm missing?


Tags: search

sharepoint
Working with large tables
Asked by Martin Lund Ask?e:

Large tables cannot be view when too wide (no scrolling), so this is of cause not cool, but it is not my question.

Since you have removed wiki-markup, there are some things I have trouble doing.

In my example with both a wide and long table, I want to move a column to the right, how do i do that?

The column I want to move is less important for the customers and since I cannot see the whole table without editing, I want to move the less important columns to the right, such that this will not take focus of our customers.

Can you help me, please?

Update - I found out how to scroll ;)


Answers:
author: Jo-Anne MacLeod
body: The "source editor" plugin may be able to help you out with this problem

comments: author: Martin Lund Ask?e
body: Hi Jo-Anne

I really want to embrace the richtext editors, but there are just some basic features missing.

I'm not sure that the richtext editors of confluence support me mocking about in the source code of the page, the wiki-markup gave pretty basic control that I was sad to see go. In any case it would not solve my problem, that I want to move a column.


Tags: table
Deleted Space not fully deleted?
Asked by Magnus Siebert:

I deleted a global space and everything seems to be fine. It does not appear in the Global-Space-List when I browse it. Even the Search-function doesn t find it anymore.

But it still appears in the global-space-List in the left corner!

How do I remove it from there?


Answers:
author: SarahA
body: Hallo Magnus

It looks as if you've hit this bug:

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

The Confluence development team is working on it at the moment, and would be very grateful for any information you can give about your environment. Perhaps you could liaise with them via the above issue, about sending them a copy of your Confluence log file to help diagnose the problem.

Cheers, Sarah


author: Bruna Griebeler
body: Hi Magnus,

Sounds like you still have traces of the space in your instance as you suspected.

This is definitely not normal. Are you using any custom theme or have you applied any customizations?

Anyway, you might want to try fully deleting the space via database as outlined here: <https://confluence.atlassian.com/display/CONFKB/How+to+Manually+Delete+a+Space>


author: Septa Cahyadiputra
body: What happen when you click it? If it redirect to no where, try to [flushed index queue](https://confluence.atlassian.com/display/CONF41/Rebuild+the+Content+Indices+from+scratch).

Hope it helps

comments: author: Magnus Siebert
body: It still leads to the Space with all settings (Users,restrictions,plugins) saved, but all Pages are gone. I just noticed that the URL is different, normaly it is "<http://pt-vs-23:8090/display/key/SpaceName>" and for the deleted Space it is <http://pt-vs-23:8090/pages/recentlyupdated.action?key=SpaceKey>"


Tags: remove

space
How do I make confluence page editor recognize my video url?
Asked by sm shamim:

When I insert a youtube video url into the page editor, it automatically connects it with the Widget Connector. I have created a Widget Connector extension which can embed my video url. But it only works when the user open up the Widget Connector macro and insert the url through it.

What do I need to do to make sure that when our video url is pasted on the editor, it automatically connects that url with the Widget Connector?


Answers:
author: RianA
body: Hi Shamim,

The one that's responsible for it is actually an auto convert feature in Confluence 4.1. It will recognize the link and use Widget connector. If you would like Confluence to recognize your own video url, perhaps you could expand auto-convert plugin by following [this documentation](https://developer.atlassian.com/display/CONFDEV/Plugin+Tutorial+-+Extending+Autoconvert).

Hope it helps. Cheers.

comments: author: sm shamim
body: Hello Rian,

Thanks for your answer. I was already following that tutorial on auto-convert. For some reason my auto-convert javascript does not get executed. On my terminal console I can see the following log:

"resolveDependencies Cannot find web resource module for: com.atlassian.confluence.tinymceplugin:editor-javascript-resources"

Do I need add any specific dependency in my maven configuration or anwhere else?


author: sm shamim
body: Is auto-convert a viable solution for this?


author: JohnA
body: Hi Shamim,

Please accept our apologies for this spam answer that has been left on your question. I have converted it to a comment so that your question still shows up as unanswered and one of our moderators will be along shortly to remove it entirely.

All the best,  
John


Tags: confluence-app

widget-connector
Problems with the Office Connector under Win7 x64, Office 2010 and IE
Asked by onkeldom:

Here are the problems:

\* On our live-system (4.2.2), our employees are not able to open up Office files via \*Edit in Office\* or \*Edit Document\* with Internet Explorer 9. The file is opened, but as Read-Only. The system is configured to use HTTPS.

\* On a freshly installed test-system (4.2.12), the normal left click didn't do anything at all with IE 9. Using the middle mouse button although, I was able to open up the files correctly and without the Read-Only flag.

We first used XP with Office 2003 ... everything worked just smoothly. After updating to Win 7, some of the PCs kept Office 2003 ... and everything worked as well. It only affects the Win 7 + Office 2010 machines.

This is critical for us, since we still have a lot of .doc, .xls and so on which are not yet migrated to native Wiki content.


Answers:
author: onkeldom
body: The problem on our side was a 3rd-Party SSO-Module and Apache-Config, which broke the Office-Connector \<-\> Office 2010 functionality. Disabling the module and returning to the original Apache-Config solved the problem for us.


author: Jo-Anne MacLeod
body: We had the same issue, but it was somewhat intermittant. The only solution that we found was to go into the individitual pc's and do a registry update. We also found that it was a bigger problem for the users who never had Office 2003 installed on their pc's.

HKEY_CURRENT_USER\\Software\\Microsoft\\Office\\14.0\\Common\\Internet  

On the Edit menu, point to New, and then click DWORD Value.  

Type BasicAuthLevel, and then press Enter.  

Right-click BasicAuthLevel, and then click Modify.  

<br />

In the Value data box, type 2, and then click OK.  

NoteThe mapping is as follows:  

0 - Basic authentication disabled   
1 - Basic authentication enabled for SSL connections only   
2 - Basic authentication enabled for SSL and for non-SSL connections  

Exit Registry Editor, and then restart the computer.


Tags: ms-office-connector
Unable to see the images in notification email
Asked by Mike Lo:

We are experiencing a problem that when images are inserted/attached in a post, the images will not show in the notification email sent by Confluence afterwards(see the attached). This will happen to the subscribers using the MS Outlook 2007 client, regardless the users are logged in or not (browser \& Confluence side). But if the images are inserted from the external web sources, it's showing. Any ideas to solve this? Because this problem is affecting the quality of our daily communication between these two key systems.

Thank you!

Mike


Answers:
author: Giuliano C.
body: After some research, I believe you might be experiencing a known bug: <https://jira.atlassian.com/browse/CONF-15979>. Can you confirm that's your case?


Tags: ms-outlook
changing from download version to "on-demand" version of confluence...data-transfer?
Asked by Stefan:

I used the download version of confluence. But now i changed to the "on-Demand" version. How can i bring my old spaces and old data to my new "on demand"-version?

Stefan


Answers:
author: JustinA
body: Hi Stefan,

You can do so by [exporting spaces from your downloaded version](https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML) and then [importing it to OnDemand](https://confluence.atlassian.com/display/AOD/Importing+wiki+data#Importingwikidata-2.ImportthedataintoConfluenceOnDemand). Just make sure that your downloaded version is the same major version as the OnDemand version.

As of now, Confluence OnDemand is on 4.3.x. Since Confluence 4.3 has yet to be released for public download, you would have to upgrade your [Confluence to 4.3 RC1](http://www.atlassian.com/software/confluence/download-eap) and then export the spaces.\\

Hope this helps! :)

Cheers,

Justin.

comments: author: Stefan
body: Hello,

I upgraded my Confluence to 4.3 RC1 like you said 4 days ago, but now Confluence on demand changed to 5.0. I go cracy!

Stefan


author: JustinA
body: Hi Stefan,

Kindly raise a ticket with us for us to continue with discussions on this.

Link my name to it, so that I can assist you personally.

Our support site is: <https://support.atlassian.com>

Cheers,

Justin.


author: Stefan
body: Hello,

as I need the same major version in Confluence on demand and the Confluence on my server to migrate spaces I will upgrade my confluence again. But i dont see Confluence 5.0 on your site "Confluence Early Access Program Downloads". So how can i upgrade?

Stefan


Tags: cloud