youngmon/atlassian-qna huggingface dataset:
Disable space tools for anonymous space
Asked by Spacecat:

Hi,

I'm trying to understand how to disable space tools shortcut on the sidebar for a space that has an anonymous access. I'm a new confluence user and have a lot to learn, so there is probably something I don't see. So far I've found the way to update the global layout, but is there a better way to do that?

Thanks,

Sam


Answers:
author: PeterKoczan
body: Hi,

I can confirm that if anonymous access is enabled, the anonymous user will be granted permissions that gives access to functions that are available under Space Tools.

To minimize the things that can be done, you can revoke every space permission for that particular space for anonymous users but the 'View' permission, then they will not access any more than they supposed to be. However if you have anonymous access enabled, everyone will see space tools, only won't be able to perform too many actions through them.

I found no option to hide space tools. Changing the theme may do it, however the functions will still be accessible through the menu.

Kind regards,

Peter

comments: author: Spacecat
body: Hi Peter,

Do you think that this can be addressed in the future versions of the software? Frankly speaking I don't see any reason for an anonymous user to see this option, if anything it's more confusing than helpful. For now I guess I will need to update the global space layout and hide this item for anonymous users.

Thanks,  
Sam


author: Bill Ingram
body: Hi Peter,

Do you think that this can be addressed in the future versions of the software? Frankly speaking I don't see any reason for an anonymous user to see this option, if anything it's more confusing than helpful. For now I guess I will need to update the global space layout and hide this item for anonymous users.

Thanks,  
Sam


author: PeterKoczan
body: Hi,

Space tools are available for those users only that have access to functions under that menu. Do your anonymous users also see them or anyone who should not have to? Check out the Space Permissions for users/groups/public.

Kind regards,

Peter

comments: author: Spacecat
body: Peter,

Thanks for you answer. What permissions do I need to disable to restrict access to the functions as you've described? Right now the space has view only permissions for the anonymous users and the space tools are still visible to everyone. I'm using the latest version of Confluence.

Thanks,

Sam


Tags: confluence-administration
Confluence OnDemand Dashboard
Asked by Lars:

Hey,

can i customaize the Dashboard when using Confluence OnDemand? The standard text is annoying...

Thanks!

Lars


Answers:
author: Michael Knight
body: Yes, you can edit the welcome message in Confluence Admin -\> Global Templates.

See [https://confluence.atlassian.com/display/DOC/Editing+the+Site+Welcome+Message](https://confluence.atlassian.com/display/DOC/Editing+the+Site+Welcome+Message%20)for more information.


Tags: cloud

confluence-cloud
Online Help Integration
Asked by Trevor Buckerfield:

Hi,

I had a question about Confluence. We are looking to use Confluence as our online help portal for the software we provide. Is is possible, to restrict access to this online help (because it will contain confidential information) without requiring each person who will access it from creating a user? For example, any one clicking on the online help icon from our application will be allowed to access the confluence page.

Thanks for your help!

Trevor


Answers:
author: Matthew J. Horn
body: You could use some simple check to prevent unauthorized access without requiring a login. For example, you could add a token or other HTTP header value to the links coming out of your product that the Confluence site might check against. If the request lacks that token, then you don't allow access. This could easily be hacked, though.


author: Jobin Kuruvilla [Adaptavist]
body: You need users only for restricted content. For example, you can give anonymous access to everything and then restrict certain spaces or pages. Users will have to login to see those spaces/pages.
Links to Pages from Space Home Page
Asked by Kristin O'Brien:

I assume there is an easy way to create a link from the space home to the pages that follow? I would ideally in a similar format to a table of comments where users to can hit the chapter heading to get more info.


Answers:
author: Matthew J. Horn
body: Yes, you use the Children Display macro.


author: Kirstin Seidel-Gebert
body: Or you could use the documentation theme (which displays a navigation pane).
How do I control where files created from a template go?
Asked by Thomas Gerlach:

I have a 'create from template' button on a page, and I would like the page created from the template to be created as a child of the page where the button is located so that I can use the 'children display' macro to display all the created pages underneath the create from template button. How would I automatically have all documents created from this template appear as a child to the current page?


Answers:
author: Thomas Gerlach
body: Workaround: I replaced the 'create from template' button with a link to the create page url - [https://XYZ.atlassian.net/wiki/pages/createpage-entervariables.action?templateId=12345678\&spaceKey=SPACEKEY\&title=\&newSpaceKey=SPACEKEY\&fromPageId=12345](https://XYZ.atlassian.net/wiki/pages/createpage-entervariables.action?templateId=12345678&spaceKey=SPACEKEY&title=&newSpaceKey=SPACEKEY&fromPageId=12345)


author: Thomas Gerlach
body: NOTE: This worked last week, so I suspect a Confluence update may have modified this functionality.


Tags: cloud

confluence-cloud
Confluence 4.3.3 Banner documentation Theme not working on space
Asked by KP11:

Confluence Banner documentation Theme not working on space. Followed instructions on link <https://confluence.atlassian.com/display/CONF43/Configuring+the+Documentation+Theme#ConfiguringtheDocumentationTheme-CustomisingtheDocumentationTheme>

In the Messages Header section we have this test message

{note:icon=false}\*The Example User Conference will be taking place September 29th -- October 2nd 2013.\*

View {spacejump:CROWD\|alias=this page in the current documentation} or visit the \[current documentation home\|CROWD:\].{note}


Answers:
author: KP11
body: Velocity was turned off for some reason in Documentation theme


author: SarahA
body: Hallo KP11,

Can you explain more about what is going wrong? I've just tried your code in my Confluence 4.3 site, and it works OK: The banner displays a yellow message as expected, including the text in your message.

The links in the "spacejump" macro and the "current documentation home" don't work, because the site does not have a "CROWD" space. Perhaps that answers the question?

Cheers

Sarah

comments: author: KP11
body: No error message. I do not get a banner at all not even the yellow message. No other options are checked on the config page.


author: SarahA
body: Hmm. The only thing I can think of is perhaps there's some CSS on your site which is turning off the banner section altogether. Do you have any custom CSS, either at the space level (see the "Stylesheet" option in the space admin) or at the site level? You need to be a site administrator to check.

Cheers, Sarah


Tags: announcement-banner

theme
Can Confluence search PDF Contents
Asked by KP11:

Can Confluence search PDF Contents. Is there a way to change or customize what confluence searchs? We need to be able to search contents of attached PDF doc? Content option by space does not work


Answers:
author: AndrewA
body: Yes, Confluence will index and search the contents of certain types of attachments (including PDF). For more details, please see...

[Searching the content of attachments](https://confluence.atlassian.com/display/DOC/Searching+Confluence#SearchingConfluence-Searchingthecontentofattachments)

Indexing happens every 60 seconds by defualt so it may take a moment for the PDF to be searchable after being added.

comments: author: KP11
body: The URL gets 404 error loops back to this record


author: AndrewA
body: Sorry about that, link should be fixed now.


author: Cory Dearing
body: Broken again


author: Anthony Thomas
body: Does the cloud version provide indexing ?

comments: author: Thomas Schlegel
body: Hi Anthony,

yes, it should. Do you have any problems with indexing your content?


author: Michal Klucz
body: Hello Thomas, I can't find the content of the attached word document. I can find the word from the file name, so the file is visible, but the content is not.


author: peter dallman
body: that did not answer my specific question, just a canned response isn't good enough


author: AndrewA
body: Oops, sorry abou that...the link should be fixed now :)

comments: author: Shivaram Venkatesh N
body: I'm unable to open the Link.

Broken Erro Link. Can you help me out with this topic?

I need to search the PDF content placed in Confluence Repository Page


author: Mark Stephan
body: [@Andrew](/t5/user/viewprofilepage/user-id/2366097) Link is still broken.


author: Debra Graham
body: Please fix link as that exploring searching in PDFs is my next item to research!


author: Andrew
body: Hi Mark, different Andrew Campbell here. I'll do a bit more research and find some more detailed documentation, but for now <https://confluence.atlassian.com/doc/search-139528.html> seems to be the correct link. Is there anything in particular you'd like to know about?


Tags: pdf

search
Self service space creation
Asked by Lane Duncan:

Hi, I've searched around for awhile, now, and I haven't found any definitive answers that don't involve the Confluence CLI: is there a (more or less) out-of-the-box way to provide self-service Confluence space creation?

That is: is there a Confluence API I can use through URL parameters (or similar) that would allow me to create a web page for users to create a wiki space without manual admin action?

Thanks! -Lane


Answers:
author: PeterKoczan
body: Hi,

Simple URL calls won't work in this case, as form parameters for space creation require security token to be present in either the POST or the GET method, thus it would have to be modified each time. As of using an API, the following answers thread may come handy: [https://answers.atlassian.com/questions/156240/solved-how-to-create-new-confluence-space-via-java-api](/questions/156240/solved-how-to-create-new-confluence-space-via-java-api)

Kind regards,

Peter

comments: author: Lane Duncan
body: Thanks, Peter, I think that'll get us in the direction we need.


author: Bob Swift (personal)
body: It is pretty easy to set up a self service page using techniques like: [How to create or update pages with a run dialog](https://bobswift.atlassian.net/wiki/display/CCLI/How+to+create+or+update+pages+with+a+run+dialog) . This does use the CLI under the covers :).


Tags: confluence-administration
Confluence Caching IDs
Asked by gje306:

I am running v3.5.16 of confluence. I want to increase the cache size for the cache labelled 'Embedded Crowd Internal User'. From the v5 docs, and from the properties class ConfluenceActionSupport.properties I see that the internal ID for use in ehcache.xml should be

com.atlassian.crowd.model.user.InternalUser

However, I don't see this in the ehcache config file and adding in an entry with this ID has no effect on the cache size. Can anyone confirm whether the following ehcache entry is correct:

\<cache name="com.atlassian.crowd.model.user.InternalUser" maxElementsInMemory="100" eternal="false" timeToIdleSeconds="3600" timeToLiveSeconds="0" overflowToDisk="false" /\>  
The query to determine the size of this cache returned a value of 31. I did also try increasing this to a much larger size, but there was no effect.


Answers:
author: PeterKoczan
body: Hi,

Pardon me from my previous reply, I was thinking this was an even earlier Confluence version. On the Cache Statistics page you can click on the 'Advanced' tab to adjust the values from the GUI. Could you give it a try if that. Actually, for me setting this in ehcache.xml as described on the previously linked article did work just fine as well.

Kind regards,

Peter

comments: author: gje306
body: Thanks, I missed the advanced tab there. I increased the size through this.


author: PeterKoczan
body: Hi,

Not sure if you have done it this way, but the following page explains how to find out the class name specifically in 3.5.x: <https://confluence.atlassian.com/display/CONF35/Cache+Performance+Tuning>

Kind regards,

Peter


Tags: cache
How to Import FrameMaker files into Confluence wiki?
Asked by Mary Jo Dockman:

How to import FrameMaker files into Confluence wiki?


Answers:
author: PeterKoczan
body: Hi,

Unfortunately those files cannot be imported directly to Confluence, you'll first need to convert/save them into Word format, then import that. You can find instructions on how to convert here: <http://blogs.adobe.com/techcomm/2012/10/converting-fm-docs-to-ms-word-files.html>

Kind regards,

Peter


Tags: framemaker
Importing FrameMaker files into Confluence
Asked by Mary Jo Dockman:

How can I import existing FrameMaker files into Confluence wiki?


Answers:
author: PeterKoczan
body: Hi,

Unfrotunately I have nearly zero experience with those tools, I just looked up for possible ways to connect it to Confluence and word conversion seemed to be the easiest way, sorry :( Maybe other community members have more experience on the topic though!:)

Cheers,

Peter


author: PeterKoczan
body: Hi,

Unfortunately those files cannot be imported directly to Confluence, you'll first need to convert/save them into Word format, then import that. You can find instructions on how to convert here: <http://blogs.adobe.com/techcomm/2012/10/converting-fm-docs-to-ms-word-files.html>

Kind regards,

Peter

comments: author: Mary Jo Dockman
body: Thanks for your speedy reply! I'll check out the link. I also just read that WebWorks ePublisher can be used. Do you happen to know if the conversion is more seamless that way? Just wondered...thanks!


author: David Joy
body: Hi Mary.  
WebWorks ePublisher (start with ePublisher Designer) produces old-style Confluence wiki-markup. Make sure this is the format your Confluence content is written in. If you are expecting to use the WYSIWYG editor in current versions of Confluence, ttbomk, ePublisher Designer is not your import path.  
Time has passed, which solution did you adopt?


Tags: framemaker
Confluence 5.1.2 number search not work
Asked by Martiqs:

Hi!

I have a problem with Confluence 5.1.2

When i search "abc123" is everything ok and i get result, but when i search "123" no results found.

Is this possible to edit search option, in Admin Panel i dont find this option.


Answers:
author: PeterKoczan
body: Hi Martin,

We are aware of such issues, which also concern earlier version of Confluence. In Confluence 5.2 we will have a major upgrade on the Lucene indexing engine and this will aid most of related problems. I suggest that as soon as it is released you upgrade to that version and see if the problems mentioned are gone.

Kind regards,

Peter


author: Felicity Chapman
body: That's really interesting to hear. We haven't been able to upgrade to 5.2 yet, but had hoped that the updates to the search would make a substantial improvement.

We're currently on 4.3 with exact matching turned on (no tokenisation). With tokenisation if you searched for "severity" almost all the results were for "several" which was useless to us.

I've just had a developer complaining about the inability to search for "$@" in technical and Java docs stored in Confluence. He gets the results that Kristjan mentions above "Query could not be parsed".


author: Kristjan Lillemets
body: Now running 5.2.3 and rebuilded indexes.  
But problem is still the same, when we search for example "2013"  
No results found for **2013** . Please try one of the following suggestions  

* Use more general search terms or [consult the online documentation](https://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax) for tips.
* If you are filtering by space, content, last modification date or contributor, try removing or adjusting the filter

Also while typing it says The query could not be parsed.
How can I move an attachment into a different space?
Asked by Tobias Rapp:

I would like to move a page attachment from one space into another (personal) space. When I assign the new page title in the attachment properties I get an error message:
> You cannot move the attachment to a page that does not exist.

When I try to use "\~\<user\>/\<page title\>" a similar error message is shown.

What is the syntax to move an attachment into a different space?


Answers:
author: PeterKoczan
body: Hi,

Does the page in question exist already? If it does, can you please try and rebuild indexes from scratch and see if that helps? <https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>

The related documentation can be found here, but I believe you are aware of it: <https://confluence.atlassian.com/display/DOC/Moving+an+Attachment>

Kind regards,

Peter

comments: author: Tobias Rapp
body: The page exists and already has other attachments. I also can create a link to the page using "\[\<page title\>\]" on the page where the attachment currently is linked to, so I don't think it is an index issue.


author: Tobias Rapp
body: Thanks for the link to the latest Confluence page. I just noticed that the latest documentation includes a hint about moving attachments into different spaces. The correct syntax for personal spaces is: "\~\<user\>:\<page title\>".


author: PeterKoczan
body: Happy to hear, Tobias! :)


Tags: attachment
can't edit a file
Asked by Irina Solarcuka:

Hi,

User can't edit an xlsx file in Confluence. The following error occures:

"No connectivity with server".

IE 8, Office 2010

What could be the problem's solution?

Best regards,

Irina Solarcuka


Answers:
author: PeterKoczan
body: Hi Irina,

Can you try and see if the user in question has permissions to edit the page the excel file belongs to? Can you try to use the same user from a different PC? Very likely this is caused by antivirus/firewall settings that prevent proper communication between Confluence and the client.

Kind regards,

Peter


author: Ruchi Tandon
body: Next to Peter's comments, I would also suggest checking this behavior on other browsers... Are you able to reproduce the same behavior?

comments: author: Irina Solarcuka
body: This issue is related the separate user only. All other users can edit files. We have reproduced this issue with Firefox.


author: Ruchi Tandon
body: Next to Peter's comments, I would also suggest checking this behavior on other browsers... Are you able to reproduce the same behavior?


author: PeterKoczan
body: Hi Irina,

There could be various reasons. First of all I'd suggest you to check if your plugin/office/Confluence versions are compatible based on the documentation: <https://confluence.atlassian.com/display/DOC/Editing+an+Office+Document+from+Confluence>

You may also want to check out the known issues page here: <https://confluence.atlassian.com/display/CONFKB/Office+Connector+Limitations+and+Known+Issues>

Please take a note on all the linked pages on the second link too.

If you fail to solve the issue by the above, you are always welcome to open a support ticket with us at <http://support.atlassian.com> where we can assist you based on the information in your logs.

Kind regards,

Peter


Tags: ms-excel
Deleted 'administrator' group in Confluence... now have no accounts with admin privileges
Asked by Kayce Basques:

I'm evaluating Confluence for my company. I signed up for a 30-day trial.

Problem: As part of my evaulation, I was exploring how I could utterly break the system. I succeeded. I deleted the 'administrators' group, and now I have no accounts with access to the admin panel. I only had one account created, which was named 'admin'. Presumably that account was part of the 'administrator' group, and deleting the 'administrator' group stripped that account of its own administrator privileges.

Requested Solution: Please restore the administrator privileges for my 'admin' account so that I can continue my trial. The domain is [catamount.atlassian.net](http://catamount.atlassian.net)

On a more general note, it seems like the Confluence system shouldn't allow this workflow. If there is only one defined admininstrator account, that administrator should not be able to delete its own privileges, thereby orphaning the entire domain.


Answers:
author: cbenard1
body: Hi Kayce,

Could you please visit [support.atlassian.com](http://support.atlassian.com) and raise a support ticket. We'll need to verify your account before we can provide you admin access to the instance. It should be a quick fix once you've raised a support ticket.

Thanks very much

Turner


Tags: confluence-administration
Is there a way to get the actual file of an attachment in Confluence via a Java API?
Asked by Robert Hall:

Is it possible to get the actual file stored on the file system for an attachment programatically in a Java plugin? i.e. versioned attachments seem to exist on the file system in a location such as

\<install dir\>/confluence/home/attachments/ver003/37/65/65537/24/200/950274/1081345/1

I haven't seen a way to get this path in the Attachment object--the urlPath, downloadPath and exportPath don't give me anything useful for this.


Answers:
author: Robert Hall
body: Thanks for the ideas. Found a way to do what I needed to using the content of the attachment instead (available as an InputStream from the Attachment object).


author: Mirko Skramusky
body: Hi Robert,

there are different storages for files, on the filesystem or in the database. So getting the concrete path depends on the storage strategy and is not always the same.

For filebased storages the directory structure is described [here](https://confluence.atlassian.com/display/DOC/Hierarchical+File+System+Attachment+Storage). Hope this helps.

Regards,

Mirko


author: PeterKoczan
body: Hi,

I believe there should be a way, as the Confluence CLI plugin has such a function: <https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-getAttachment>

Would that work for you?

Kind regards,

Peter


Tags: app