youngmon/atlassian-qna huggingface dataset:
CMS options that play nice with Confluence
Asked by John Alton:

Can anyone recommend a CMS system (WordPress, Joomla, Drupal, etc.\*) and/or Plugin that would enable feeding data into Confluence pages? \* Something simple, one or two steps up from Confluence WYSIWYG editor, but not a massive enterpise app. Thanks, John


Answers:
author: Stefan Eike
body: You can push data to Confluence via [Confluence XML-RPC and SOAP APIs](https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs). You'll find some nifty Python scripts to do that for you. We use Git hooks to push data to Confluence.

comments: author: John Alton
body: @Stefan Eike - Thanks for providing the tips. I'll pass the idea on to more technical folk.  
thanks,  
John


author: AntonioStults
body: In terms of CMS that certainly have loads of options in terms of functionalities and plugins, I would suggest you to go for WordPress. If you use this platform, you will be able to move your data to confluence very easily. Just look for the sites that host these kinds of [WordPress plugins](http://www.anythingforwp.com/category/wordpress_plugins/) and pick the desired one.


author: John Alton
body: @Stefan Kleineikenscheidt - Thanks for asking. Use case: I would like to manage content in a CMS and push to Confluence.

thanks,   
John


author: Stefan Kleineikenscheidt _K15t_
body: What is the use case for this? You want to manage content in a CMS and publish in Confluence? Or the other way round?

comments: author: John Spinosa
body: Our volunteer institution would like to do the opposite. They use Craft as their CMS (which is controlled by a marketing group) while the technical content (written by volunteers) uses Confluence. Is there a way to display the Confluence content in the CMS? The Craft-tanians are suggesting that everything in Confluence get converted to PDF which makes me want to barf. Thank you in advance for any suggestions.


Tags: addon-com.gliffy.integration.confluence

app

confluence-administration
space export works, but file is not copied to --file destination
Asked by S Oostdijck:

Hiya,

The CLI tools have always been a great help to export out spaces. However after the last upgrade to 5.1 and CLI tools 3.3.0 I am having some trouble with exporting the spaces (as html). The export seems to be fine and things show up in the "temp" folder in the confluence home dir. However they are not moved into place afterwards (the --file option is not used it seems).

Am I hitting a bug, or doing something wrong?

I'm running it as follows (along with the error:)

```
-bash-4.1$ /export/confluence-cli-3.3.0/confluence.sh --user spaces-exporter --password xxx --server http://localhost:8090 --action exportSpace --exportType HTML --space far --file "/nfs/dumps/test-dump.zip" --verboseServer address: http://localhost:8090/rpc/soap-axis/confluenceservice-v1Successful login to: http://localhost:8090/rpc/soap-axis/confluenceservice-v1 by user: spaces-exporter.Using basic authentication.cb7f9266eb logged out.Client error: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_nameorg.swift.common.cli.CliClient$ClientException: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name	at org.swift.common.cli.CliUtils.copyUrlToFile(CliUtils.java:218)	at org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:4487)	at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:693)	at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)	at org.swift.common.cli.CliClient.doWork(CliClient.java:315)	at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:146)
```


Answers:
author: BernardoA
body: According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.


author: BernardoA
body: According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.


Tags: cli

confluence-administration

export

html
Export to Word causes Error: "...is not a valid Single File Web Page"
Asked by Steffen Heller:

Hello,

when I try to export to Word I receive the error message "{NAME_OF_THE_FILE} is not a valid Single File Web Page".

I tried a few things and it seems the problem has to do with an image in the page.

* Is it possible that the problem always occurs when images are inserted from the web and not attached to the page itself?


Answers:
author: Steffen Heller
body: I had another look at this and could finally solve it.

The problem does not occur for all images but only for those that are

1. on the same confluence installation and
2. included with "Insert \> Image \> From the Web".

I used this combination because I had to include the image in a template, recognized that images can't be uploaded there and thought it had to be done this way.

Now I changed the template code from

```
!http://my.installation.com/download/attachments/55651017/MyImageName.jpg|width=300!
```

to

```
!NameOfSpace:NameOfPage^MyImageName.jpg|width=300!
```

and it it working.


author: Felipevsw
body: Hi!

I've created a new page on my Confluence (OnDemand) to try this and I was able to export the page to Word without errors.

My page only has 2 lines: the first with a little random text, and the second with the direct full link to a generic image hosted on the internet.

Are you using any macro to display this image? Any information you can give, so I can try to reproduce this behaviour here is much appreciated.

comments: author: Steffen Heller
body: Hi Felipe,

I tried again on my Confluence (Download).

The problem occurs when I create a new page and include an image with "Edit \> Insert \> Image \> From the Web" and then go to "Image URL" and enter something like "http://{URL}/download/attachments/55651017/{image_name}.jpg"

The image is included on another Confluence page. Except for the image the page is completely blank.


Tags: export

image

ms-word
Make "All Updates" default tab for all users on their dashboard?
Asked by AndreasM?:

Currently, it's always Favorite but I was wondering if there is a way to configure this so that the default is "All Updates".

Any idea?


Answers:
author: Oli S
body: Hi Andreas

You could ad the following JS in Confluence Admin -\> Custon HTML -\> At end of the HEAD

```
&lt;script type='text/javascript'&gt;jQuery('#recent-updates .menu-item.all a').click()&lt;/script&gt;
```

comments: author: AndreasM?
body: Hi Oliver,

thanks for your answer! With your solutin a user cannot override the selection of "All", can he/she?

Best regards,  
Andreas


author: BernardoA
body: Regarding this error I've hearded that when you add an image to this page which is attached on another page and not this one then you got this error.

Resolution:

You must add every image as an attachment on this page and not "link" to another pages image


author: AndreasM?
body: Not sure if this answer fits my question :-/ It just about the dashboard because I want to make "All updates" the default tab for every user unless he/she changes it.

Background: Most people in our Confluence just see just "Popupar" but it often occurs that they miss updates which are important but are not marked as "Popular" by Cofluence.


Tags: cloud

confluence-cloud

dashboard

update
URL to addspacenotification.action fails with a session timeout
Asked by Svante Gustafsson Bj?rkegren:

Hi,

I would like to embed the action to watch a blog within a space into a button for the users to use. Today you need to dig into the Space Admin section to do this which feels too complicated for regular users.

I have learned that this function does the trick:

```
&lt;Confluence base-URL&gt;/spaces/addspacenotification.action?key=&lt;SPACEKEY&gt;&amp;contentType=blogpost
```

However, when I "run" this URL from a button (or a link) it fails with an error message saying:

**The following error(s) occurred:**

*
  > Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page.

When I examine the link in the Space Admin section it has an atl_token-parameter as well. I guess this shouldn't be part of a generic command since it is unique for my session. Is that a correct assumption?

Is there any way to workaround this issue?

We are using SSL and have an nginx load-balancer as proxy in front of Confluence.

Thanks in advance!

// Svante


Answers:
author: Svante Gustafsson Bj?rkegren
body: I have been investigating this now and found a solution!

A user macro that renders a link to the "Start Watching the Blog" action.

```
&lt;a href="../../spaces/addspacenotification.action?key=$space.getKey()&amp;contentType=blogpost&amp;#url_xsrfToken()"&gt;Watch the $space.getName() Blog&lt;/a&gt;
```

The $space-variable expands into the space-object of the space the macro has been created in. The methods getKey() and getName() give me the information needed.

The velocity template #url_xsrfToken() expands into "atl_token=\[looooong session identifier\]"

This works well and can be used in any space.

Now I shall work on the layout of the link. I actually want a nice-looking button instead!


author: Nicholas Muldoon
body: [Vikas Sharma of Twitter](https://twitter.com/VikasSharma) implemented this neat user macro for our needs:

<https://gist.github.com/nmuldoon/c5b8062dc0535394229c>


Tags: confluence-administration
Wikimarkup In Confluence
Asked by David Zuccaro:

```
{table-plus:autoNumber=true}|| || January || February || March || April ||| Max | 37.5 | 32.7 | 28.0 | 25.3 || Min | 31.3 | 26.8 | 25.1 | 18.7 |{table-plus}
```

```
?
```

```
Is wikimarkup such as the above supposed to render in confluence? Because it isn't rendering for me. Do I need to wrap it in any escape codes at all?

?
```


Answers:
author: Alex
body: Hi David,

The Confluence Editor should convert your wiki markup as you type. Try removing the "{table-plus...}" indicators around your table. A table should be as simple as identifying your header fields using " \|\| \|\| " and your regular fields using " \| \| ".

This documentation should show you how the new confluence editor auto converts wiki markup as you type.

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

If you would like to write wiki markup without having it convert as you type try using the "Insert Wiki Markup" Macro.

Hope this helps.

Thanks,  
Alex


author: Bob Swift (personal)
body: I think you are asking this because it is an example provided in documentation. As others have noted, use **Insert Wiki Markup** in the editor before pasting in the example text. Examples are much easier to put on documentation pages via wiki markup than trying to give instructions on using editor to add a macro, set parameters, and copy in body text.


author: Svante Gustafsson Bj?rkegren
body: Hi David,

I have noticed that if the formatting is set "Preformatted" when you type in your wiki markup it doesn't render. Make sure you have formatted the row where you want your macro to anything but Preformatted. (I usually use format Paragraph)

Maybe this will help you?

Rgrds,

// Svante


author: RianA
body: Hi David, that would render if you have the plugins installed. And the plugin that you would be interested in is the following plugin.

\* <https://marketplace.atlassian.com/plugins/org.swift.confluence.table>

Hope it helps!
Exporting documentation for modifications and then somehow importing those changes back to Confluence?
Asked by Jay A:

Say I have a document that needs modification by a client. I cannot give the client access to the Confluence system due to security policy and regulatory requirements. So, my only option is to export the document, possibly into MS Word, send to the client, and then have the client send it back to me after changes have been made.

Is there a way to easily get those changes back into Confluence or some level of automation? Or am I pretty much out of luck?


Answers:
author: SarahA
body: Hallo Jay

That's an interesting question. The answer depends on the level of complexity of the document, and on whether the client has their own Confluence system.

If your document is fairly simple in form, you can export it to Word (<https://confluence.atlassian.com/display/DOC/Exporting+to+a+Word+document>) and then import it again (<https://confluence.atlassian.com/display/DOC/Importing+a+Word+Document+into+Confluence>). But this process will remove any macros that you may have on the Confluence page. For example, if you have a Table of Contents macro on a page, that will be converted to a static HTML list when you export to Word. When you reimport, you'll get the static list again, not the macro.

If the customer is running their own Confluence site, and it is using the same version of Confluence as your site, then you can export one or more pages to XML (<https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML>), and ask the customer to import the pages into their own site. The customer can then adapt the pages, send you the XML, and you can import the XML back into Confluence. (<https://confluence.atlassian.com/display/DOC/Restoring+a+Space>) This will retain your macros. I'd strongly recommend testing this process on a test site before doing it in production, to ensure that you don't overwrite other content by mistake. It's a reasonably complex process. :)

I hope this helps!

Cheers

Sarah


Tags: export

import
Is it possible to set up a wiki where users cannot see each other?
Asked by Bradley Reece:

I would like to set up a Confluence space for my partners to access policies, procedures, standards, and other knowledge base items. The space needs to be invite only, but since I may have folks from competing firms accessing the space, I really don't want the users to be able to see each other. I want it secure, as in only the people I invite can read the content, but it must be opaque. Of course, I want my team to be able to see who is in there. Is this possible? Probably a no-brainer, but I am in the early phases of trying the product.

Thank you Atlassian Support Community


Answers:
author: EddieW
body: I don't think what you want is explicitly possible. There is not a "browse users" permission in Confluence like JIRA has.

But if you don't allow the users to leave comments, or create pages, (use and view only) then their names should not show up anywhere ..


Tags: permission
In Confluence administration, how do I disable seeing all the LDAP groups?
Asked by Thomas Ehardt:

When I go to **Groups** under **Users \& Security** in Confluence admin, I see all LDAP groups as well as the internal Confluence groups.

We are using LDAP for authentication and internal Confluence groups for authorization.

Is there a way to disable viewing all the LDAP groups? Perhaps I have something mis-configured:

* LDAP Permissions are "Read Only, with Local Groups"


Answers:
author: Bruna Griebeler
body: When you set your LDAP as Read Only, with Local Groups, the LDAP groups will be imported as Local ones. So we can't separate them on the UI - but you can see which groups belong to the LDAP directly on the database.

If you don't want this groups to be imported at all, you can block this groups of been imported using LDAP filters: <https://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filters>


Tags: confluence-administration
Java Script and View Restriction in Confluence
Asked by balaji ram:

Hello All,

I have 2 questions.

1) After i add Javascript code, it never excutes and also it disappears once i reopen source code page.

2) when i add users to "view restirction" i am finding my name in the list. how should i avoid my name in the list.

Advance Thanks for your help.


Answers:
author: RianA
body: You can execute some javascript inside Confluence page through [html macro](https://confluence.atlassian.com/display/DOC/HTML+Macro). However if you have security concern we would recommend you not to enable html macro on the first place.

As for the restriction, it would not make sense if you remove yourself from the restriction, as you would nto be able to see the page anymore. Moreover if you are the page owner of space admin.

comments: author: balaji ram
body: Thanks Rian,


author: EddieW
body: 1) After i add Javascript code, it never excutes and also it disappears once i reopen source code page.

Confluence prevents the execution of Javascript in page content, which would be a huge security risk. YOu should write a user-macro instead.

<https://confluence.atlassian.com/display/DOC/Writing+User+Macros>

2) when i add users to "view restirction" i am finding my name in the list. how should i avoid my name in the list.

Removing your name from the list would prevent you from seeing it. Restrictions to view lists those who CAN see it. It is not listing those who CAN NOT see it. Adding only your name means you are the only one to see it.

<https://confluence.atlassian.com/display/DOC/Page+Restrictions>

comments: author: balaji ram
body: Thanks Eddie,


Tags: javascript

restriction
Restrict access to all users
Asked by Steve Sweales:

Is there a quick way I can restrict access to all users (apart from admins) to the whole of Confluence?

I am doing a migration from On-Demand to Download this weekend and want to lock everyone out. I have tonnes of spaces / groups, and it will take me quite a while to go though each of these and restrict access to each space.

Is there a quick way I can restrict access?


Answers:
author: Christian Czaia _Decadis AG_
body: Check the "can use" global permission:

<https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview>

Remove everyone ynd you should be fine

comments: author: Steve Sweales
body: An even better answer :-) Many thanks


author: Ramiro Pointis
body: Hi Steve, I'm not really sure how it works on Confluence, but in Jira if you remove all users from the jira-users group then nobody will have the permissions to access Jira. I'm almost sure it works the same way on Confluence.

comments: author: Steve Sweales
body: I can't quite do that as I have removed rights on all of the spaces for the Confluence Users group and only left rights for a custom group (different per space and based on user departments), however the theory still stands, I just need to remove everyone from all of the groups (after I have backed up for the migration). :-)


Tags: cloud

confluence-cloud
Awesome stylesheet
Asked by Rumceisz:

Hi All,

I have an extra-ordinary question:

can you please send me an awesome stylesheet? I'd like to apply to our space in COnfluence.

Thanks for your support!

Rumi


Answers:
author: Ramiro Pointis
body: hahaha I can't give you stylesheet because I don't use them but I can give some links for that ;D

Styling Confluence With CSS

<https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS>

Creating a Stylesheet Theme

<https://developer.atlassian.com/display/CONFDEV/Creating+a+Stylesheet+Theme>

comments: author: Ramiro Pointis
body: O maybe going to basics:

<https://confluence.atlassian.com/display/DOC/Basic+Styling+Tutorial>


author: B_ Normann P_ Nielsen
body: Check under <http://www.mos-eisley.dk/display/ATLASSIAN/Atlassian+Confluence>:

I have some (half finished) stuff:

<http://www.mos-eisley.dk/display/ATLASSIAN/Theme+Plugins+for+Confluence>

[](http://www.mos-eisley.dk/display/ATLASSIAN/Theme+Plugins+for+Confluence)<http://www.mos-eisley.dk/display/ATLASSIAN/Styling+Confluence>

[](http://www.mos-eisley.dk/display/ATLASSIAN/Styling+Confluence)The latter part being some v4, some v5 ....

Also, do U know the sandbox?

<https://docs.atlassian.com/aui/latest/sandbox/>


author: Normann P_ Nielsen _Netic_
body: I have some stuff (almost updated) here: <http://www.mos-eisley.dk/display/ATLASSIAN/Styling+Confluence#>


Tags: confluence-administration
Spacetree vs. SubSpace plugin
Asked by Jay A:

Has anyone used both?

If I delete the SubSpace plugin, do all of the nested Spaces get deleted, or do they go back to the parent level?


Answers:
author: Ryan Goodwin
body: Hi Jay,

They don't get deleted, that would be terrible. They get moved out to the default level of all the parent spaces. You may also need to reset the global template to default so that the Dashboard spaces section displays properly.

Hope this helps!


Tags: confluence-app
Can I make my personal space a shared space?
Asked by Barnett:

I am using a documentation theme in my personal space to expirement/learn features of Confluence but eventually (once cleaned up) I would like to share my personal space so that it can be used as documentation at my company (not just me). Is this possible?

(I'm not an admin but could be if needed)

Thanks in advance for your help.


Answers:
author: Mick Davidson
body: Barnett,

If you go into the space admin and then click on permissions, after signing in again, you can update the Groups who can view, edit etc your space by adding them using Edit Permissions.

Cheers,

comments: author: Barnett
body: Very helpful, thanks!


author: Mick Davidson
body: You're welcome. :)

Something worth knowing about personal spaces, assuming you don't already, is that by default they are public. So if you have a wiki that is client facing and internal (as one that I used to manage does) all the personal spaces could be seen by everybody, including clients. Which isn't a good idea if your space contains sensitive info.

I used to run a regular check on all users with personal spaces and get them to up change the settings if I found any that had forgotten to hide it.

Cheers.

comments: author: Barnett
body: Thanks for the tip. I've de-selected our conlfuence users group from being able to view/comment my personal space. (It was in fact defaulted to public)


author: Nibu Thomas
body: There's one more thing to do. Navigate to the workspace that you want to make public as an admin.

Click the elipses on the top right and then click Restrictions.

Ensure that there are no restrictions set.

This is what worked for me.


Tags: personal-space
Turn off "Last Edited by" in Confluence OnDemand
Asked by Greg Baran:

Does anyone know a way to turn off the "Last Edited by" page header in Confluence OnDemand? Since this is a hosted service, I am unable to use the coding solutions that others have asked about in the past.


Answers:
author: Jeison
body: Hey Greg,

I'm afraid this is not currently possible in OnDemand. Check out this improvement request:

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

It's been closed as "won't fix", but if you think that's a good functionality, make sure you add comments and also vote for it to increase its popularity. Other than that, you can raise a new improvement request at <https://jira.atlassian.com/>

Hope it helps.

comments: author: Greg Baran
body: Thank you for your help!


Tags: cloud

confluence-cloud
Making confluence 3.3.3 mobile friendly
Asked by Tej Shah:

I am right now trying to make a Confluence 3.3.3 site more touch friendly but it seems like setting a theme will not get me in the right direction. Does anybody know of any CSS that I can use or better method to make such a site touch friendly? Thanks.


Answers:
author: Oli S
body: You already tried the RefinedWiki Mobile Interface?

<https://marketplace.atlassian.com/plugins/com.refinedwiki.confluence.plugins.mobile>

This version is compatible with 3.3.3:

<https://marketplace.atlassian.com/plugins/com.refinedwiki.confluence.plugins.mobile/version/332>

comments: author: Tej Shah
body: Thanks. But is there a free solution I can use? I wasn't given a budget for this change.


author: Oli S
body: Sorry I don't know another solution which is free.


Tags: confluence-administration