youngmon/atlassian-qna huggingface dataset:
Edit Document error - Excel cannot upload or merge changes
Asked by d_jeffbethune:

Hello,

When Trying to edit an Office document embedded in a page, Excel reports,

"Upload Failed - Your file wasn't uploaded because your changes can't be merged with changes made by someone else"

and therefore changes cannot be made to the document without deleting and re-uploading the file.

Any advice?  
Thanks  
Jeff


Answers:
author: Kathy Dickason
body: Seeing the same thing and wondering if anyone knows the answer!?


author: d_jeffbethune
body: Duplicated here:

<https://community.atlassian.com/t5/Confluence-questions/Why-can-t-I-upload-certain-edited-Office-documents-back-to/qaq-p/683624>


author: d_jeffbethune
body: As an update - word works, but not excel. As soon as the excel file is opened with the "Edit Document" link, Excel thinks someone (on the server) has changed the file, and therefore cannot update to the server.


Tags: confluence-server

server
How to set the defualt sort order for macro content report table
Asked by Stephen Stadtler:

I would like to have it auto alphabetize the first column or column of my choice but I cant seem to find that setting. I can click on the column header and it re-sorts everything but I cant find a default setting for sort order. Any thoughts?


Answers:
author: Shari Barchus
body: Hi Stephen,

There is an idea listed from Andreas in this similar article: <https://community.atlassian.com/t5/Confluence-questions/Can-I-sort-table-created-by-quot-Content-Report-Table-quot/qaq-p/746933>

Hoping that may help you. Are you on Cloud or Server?

comments: author: Shari Barchus
body: Also, here is the related suggestion for server: <https://jira.atlassian.com/browse/CONFSERVER-31438>


Tags: confluence-server

macro

report

server
Can you customize HTML Exports?
Asked by Kris Fininen:

Our customer requires output to HTML pages. Our custom space CSS does not export when using either the Confluence HTML Export function or with the Scroll HTML Exporter. We've looked into creating a theme with Scroll, but it's extremely complicated and our writers are not developers.

Does anyone know how we can export our custom CSS to our HTML exports short of editing the resulting HTML docs?

Thanks for any help.


Answers:
author: Mathieu Pichon
body: We managed to perform some slight customisation by editing the combined.css


author: Stephen Sifers
body: Hello Kris,

Exporting an entire space within Confluence will not include any customization you may have applied (as you have stated). There are methods to customize the HTML export within Confluence.
> To customize the HTML output, you'll need to modify the file confluence-x.y.z-jar/com/atlassian/confluence/pages/Page.htmlexport.vm. To learn how to repackage this file, see [How to Edit Files in Confluence JAR Files](https://confluence.atlassian.com/confkb/how-to-edit-files-in-confluence-jar-files-103711179.html)

Source document: [Export Content to Word, PDF, HTML and XML](https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html).

I hope this helps to provide some guidance into customizing your HTML export.

Regards,  
Stephen Sifers

comments: author: Alex Fox
body: Hi Stephen, do you know if this file is still in this location on Confluence 7+, I can't seem to find it.


Tags: confluence-server

css

export

html

server
Table headings styling with CSS
Asked by Kris Fininen:

We found the Confluence classes that control the background and font colors for table headings and are able to style them as needed, except for one problem. If for some reason we want to change a heading style using the Confluence Tiny MCE editor's table controls, we are not able to do so.

Here are the classes we're using to control both the horizontal and vertical table headings:

```
table.confluenceTable th.confluenctTh, table.confluenceTable td.highlight {
???? background-color: #4169e1 !important;
???? color: #fff !important;
}

.wiki-content .tablesorter-header-inner {
???? color: #fff !important;
}
```

We tried removing the !important rule but doing so causes the headers to revert to the default Confluence style.

Is there any way to only change the default header style yet still be able to use Confluence's table controls when we need different styling? **We don't want writers to have to use the source editor to apply classes - we want them to use the built-in editor.** Any ideas?

Thanks everyone!


Answers:
author: Bill Bailey
body: Well you have an order of precedence issue. Inline styles are the highest, then your custom CSS at the space/system level, then the default system CSS.

My suggestion is that if you need to have a range of styles, that you create a user macro that sets a class on the a div wrapper (probably controlled via a parameter). Then a user inserts the user macro, selects a class from the drop-down, and inserts the table inside the user macro body.

then your CSS rules would be something like:

```
.YourClass th.confluenctTh {
???? background-color: #4169e1 !important;
???? color: #fff !important;
}
```

The other option is to just create CSS rules that rewrite the default colors, so that when a user selects gray, they get one of your colors, etc.

comments: author: Kris Fininen
body: Thanks Bill,

We don't have any experience writing User Macros. Perhaps we'll give option #2 a try. Really appreciate your response.


Tags: cloud

confluence-server

css

server

table
How to create a survey with branching?
Asked by Kara Ryder:

I'd like to create a survey in Confluence with branches based on answers provided by the respondent. For ex:

Do you own a home? Yes/ No. If the answer is Yes, it would display a question asking about the type of home. If they answered No, it would go to the next question.

Thanks!

Kara


Answers:
author: Danny Coleman
body: Confluence doesn't have this functionality out of the box, but the Forms for Confluence add-on can do what you need:

[https://marketplace.atlassian.com/apps/261/forms-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/261/forms-for-confluence?hosting=cloud&tab=overview)

Full disclosure, I work for the company that makes this Add-On.

comments: author: Kara Ryder
body: Thanks- I'll check it out.
Who do i contact to turn on HTML macro
Asked by clint shelley:

I would like to publish a data visualizer canvas on the Logistics confluence site and I ran across the "HTML Macro" that is available on confluence. It looks like that this might be a viable solution to embed the DV canvases. However, it is disabled by default and needs to be turned on from the system administrator. Is this something that you could help out with?


Answers:
author: Nic Brough -Adaptavist-
body: You have answered your own question - your system admins will need to do it.

We can't help you here - we are end users of the Atlassian software, not your administrators. We have less access than you do!

Note that if you're on Cloud though, you don't have System Admins - the role is performed by Atlassian, and that macro is not available on Cloud, so they won't be able to enable it.
Can't change permissions on a page
Asked by lm:

I am getting the error:

"**There was an error submitting the page restrictions. Please try again later."**

I can't add a new team member to our wiki to view documentation.. Help?!


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Have you ask from admin (who has admin right in the space or for all instance) about this restriction ?

I hope this person can unrestrict.

Or you met with errors. let's open browser console log where you can see some errors related that

Cheers,

Gonchik Tsymzhitov
Can I organize or group using the attachments macro?
Asked by Caroline Bowser:

My team uploads a presentation every day, twice a day. These presentations date back years and I would like to organize them by month and year. Is there a way to do this using the attachments macro or pairing the attachments macro with another? Any help is appreciated.

Thank you,

Caroline


Answers:
author: Victor Mutambuki
body: Caroline,

1. Make use of [labels](https://confluence.atlassian.com/confcloud/use-labels-to-organize-your-content-724764874.html) for your attachments.

then use them to make a report

2. Use [page properties](https://confluence.atlassian.com/doc/page-properties-macro-184550024.html) and [page properties report](https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html) macro.

Victor
Locking on uploaded files
Asked by W. Hoekzema:

Hi, is it possible to somehow lock a file in confluence while I'm editing it to prevend my collegues from also editing it at the same time?


Answers:
author: Nic Brough -Adaptavist-
body: Not in plain Confluence, but there are a couple of Apps on the marketplace which can do it. I've used the Arsenale Lockpoint one in the past, but I'd recommend checking all of them for yourself, rather than rely on my (slightly old and creaky) experiences!

comments: author: Scott Dudley _Cenote_
body: Nic and W.,

Note that Arsenale Lockpoint has been renamed to [Cenote Lockpoint](https://marketplace.atlassian.com/apps/36199/cenote-lockpoint-attachment-checkout?hosting=datacenter&tab=overview). It's the same attachment locking experience though!

Cheers,  
Scott


author: Nic Brough -Adaptavist-
body: Oops, sorry [@Scott Dudley _Cenote_](/t5/user/viewprofilepage/user-id/2214354) - thank you for the reminder!
Automatically expand "more child pages"
Asked by Andrew Clarke:

We recently upgraded to Confluence 6.12.2 from some really old version. Now instead of all child pages being expanded by default, it shows just the first four, then has an "x more child pages" link I have to click to expand the rest of the children.

This adds an extra click and a waste of time every time I want to get to a page. Is there a way to expand those lists automatically?

Thanks!


Answers:
author: Diego
body: Hello there Andrew!

You can reach a similar result by doing this:
> 1. Go to **Space Tools**
> 2. Select **Look and Feel**
> 3. Click the **Sidebar, header and footer**
> 4. Insert the following into **Sidebar textfield:**
>
> ++{pagetree:startDepth=1000\|expandCollapseAll=true}++
>
> 5. Save

This should show all child pages in your Page Tree. The startDepth value of 1000 sets that at least 1000 levels will be shown at all times by default.

Let us know your thoughts on this!

comments: author: Andrew Clarke
body: Thank you for your response. I only have "Overview", "Content tools", and "Reorder pages" in that menu. I guess I need to contact the admin about this, but if so it does exactly what I want. Thanks again!
Is there any Add-On to download all attachments in a particular project space in confluence
Asked by Priya Gannabathula:

Hi,

As part of Project closure, we need to give a dump of all the attachments and space details of a project that is maintained in the tenure of the project. Tried using download all in each page of the space, but it is time taking. Is there any other Add-On or any other manual option which makes our lives easy to download all attachments?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

What about just export space <https://confluence.atlassian.com/confcloud/import-a-confluence-space-724765531.html> if it is need copy from filesystem attachments directory.

or you can 3rd-party like Councluence CLI - <https://community.atlassian.com/t5/Confluence-questions/Export-spaces-and-attachments/qaq-p/135920>

Or write own one - like this - <https://github.com/atlassian-api/atlassian-python-api>

Hope it helps/

Cheers.

Gonchik Tsymzhitov


Tags: confluence-server

server
Berechtigungen
Asked by Franz Buchecker:

Hallo wir verwenden Atlassian intern und m?chten innerhalb dieser Struktur Bereiche f?r einen Kunden anlegen. Dieser Bereich soll allen bei uns und 3 Personen beim Kunden zug?nglich sein, wichtig ist dass der Kunde nicht auf andere Bereich kommt.

Kann man so einen "isolierten" Beeich f?r den Kunden anlegen oder ist es besser einen eigenen Account zu machen?

Vielen Dank f?r Eure Hilfe


Answers:
author: Thomas Schlegel
body: Hallo [@Franz Buchecker](/t5/user/viewprofilepage/user-id/2532745),

grunds?tzlich kannst du jeden Confluence-Bereich separat berechtigen, d.h. ja, du kannst einen neuen Bereich anlegen und diesen Bereich so konfigurieren und berechtigen, dass nur ein klar definierter Personenkreis diesen Bereich sieht.

Du musst dann nur aufpassen, dass die Berechtigung der **anderen** Bereiche (die der Kunde nicht sehen soll) nicht ?ber die allgemeine Standard-Zugangsgruppe "confluence-users" erfolgt. Sonst k?nnen die Kunden auch die anderen Bereiche sehen, weil sie ja diese Gruppe ben?tigen, um sich ?berhaupt anmelden zu k?nnen.

Ich w?rde zwei Benutzergruppen anlegen:

* interne Kollegen
* Kunde A

die entsprechenden Kollegen in die Gruppen aufnehmen, den neuen Bereich f?r beide Gruppen berechtigen (confluence-users als Berechtigung rausnehmen) und die internen Bereiche nur f?r die Gruppe "interne Kollegen" berechtigen.

comments: author: Bill Bailey
body: Obwohl ich Deutsch kann, kann ich nicht Confluencen auf Deutsch. ;-) So antworte ich auf English,

Just to *stress* a point Thomas made regarding permissions (because if often gets missed). All users (and groups have to be members of confluence-users (except for anonymous). What this means in practice is that you will need to reset the default permissions for *all* spaces (Bereichen?) in your Confluence to remove rights for confluence-users and set them for one of you new groups, not just for the new space.


author: miikhy
body: [@Thomas Schlegel](/t5/user/viewprofilepage/user-id/781483) maybe for you? :)

comments: author: Thomas Schlegel
body: [@miikhy](/t5/user/viewprofilepage/user-id/449205) - check


Tags: language-de
How to access Confluence using 2 different URLs ?
Asked by Eddy Fras:

I have Jira and Confluence installed in my company, accessible to internal \& external users using 2 different URLs.

For Jira, I defined two Tomcat connectors in server.xml with different proxyName settings and everything is fine. Something like this :

```
<Connector port="8081" ... proxyName="jira.internal.com" .../>
<Connector port="8082" ... proxyName="jira.external.com" .../>
```

But when I do the same in Confluence, it does not work, I always get an popup error message :
> Your URL doesn't match  
> Confluence's base URL is set to xxx but you are accessing Confluence from xxx

Is there a way to access Confluence with 2 URLs ?

And if possible how to configure Synchrony to have it working properly ?


Answers:
author: Dimitris Ballas
body: Confluence should have one URL, otherwise, as Nic mentioned above, you will start encountering issues.

One of them is the collaborative editing, which requires the access url and the base url to match, otherwise you will not be able to create or edit pages. (as explained [here](https://confluence.atlassian.com/confkb/unable-to-edit-any-pages-in-confluence-6-x-due-to-collaborative-editing-867362716.html))

Another thing is the application links, which can be set to point to one url, so you may not be able to display Jira issues.


author: Nic Brough -Adaptavist-
body: No. The service runs on one url and expects to be found on that url.

You can serve it up on others, but it will fail for a lot of actions used on the non-base-url and functions like outgoing email and some links will always take the user back to the base-url based one. Not catastrophic failures with damaged data, you'll just get warnings, missing bits of pages, an inability to edit and search etc.

All your users should use the "external" url (even if you get your networks to route it internally for internal users)

comments: author: Eddy Fras
body: Hi Nic, thanks for your answer.

I partially disagree, everything (except Synchrony and the error in popup) is working using the external URL thanks to the proxyName parameter of the Tomcat connector : I see everything in pages, can edit, search, go back to home page by clicking the Confluence logo, ...


author: Nic Brough -Adaptavist-
body: Your mileage will vary, I never said it will fail on everything - it depends on the config of your incorrect url, how you're doing it, if you've got rewrites set up and other stuff. You can make some of it appear to work ok.

But not all of it. You are always going to get the error message. Synchrony will fail. Some gadgets and macros will fail. You will be taken to the base url on certain clicks.

It does not work (completely). Use the base url and forget the other one(s).


Tags: confluence-server

server
Opensearch atom search results
Asked by Piotr Breda:

Hello Community,

We are configuring federated search in Salesforce where we want to search through Confluence in Salesforce Community, [https://help.salesforce.com/articleView?id=search_federated_parent.htm\&type=0\\\\](https://help.salesforce.com/articleView?id=search_federated_parent.htm&type=0\)   
We need to use ATOM format, as in this example:  

The template URL [https://capricorncafeblog.wordpress.com/?s={searchTerms}\&feed=atom](https://capricorncafeblog.wordpress.com/?s={searchTerms}&feed=atom?) returns the search in an atom+xml format. We can test this with the following example: [https://capricorncafeblog.wordpress.com/?s=french\&feed=atom](https://capricorncafeblog.wordpress.com/?s=french&feed=atom)  
However confluence does not respond with this format, and I have tested with the following template URLs:  

[https://newvoicemedia.atlassian.net/wiki/dosearchsite.action?queryString={searchTerms}\&rssType=atom](https://newvoicemedia.atlassian.net/wiki/dosearchsite.action?queryString={searchTerms}&rssType=atom)

<br />

[https://newvoicemedia.atlassian.net/wiki/dosearchsite.action?queryString={searchTerms}\&feed=atom](https://newvoicemedia.atlassian.net/wiki/dosearchsite.action?queryString={searchTerms}&feed=atom)  

You can read more here:  
[https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#autodiscovery-in-rssatom\\\\](https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#autodiscovery-in-rssatom\)

<br />

Question: Does Confluence Support ATOM autodiscovery as in the above documentation? What can I do to retrieve results in the ATOM format as in the example above? Has anyone successfully configured it?


Answers:
author: Battlebeard
body: Hi Piotr,

Thanks for the good question, as I learnt something as well getting the answer for you.

I am afraid we only support text/html, you can see the OpenSearch discovery file by going to https://\<site_name\>.atlassian.net/osd.jsp to verify this.

I have opened a feature request for this for you which you can check out here: [CONFCLOUD-65404](https://jira.atlassian.com/browse/CONFCLOUD-65404|https://jira.atlassian.com/browse/CONFCLOUD-65404)   

Please watch and vote for this request. but do please note our [Implementation of new features policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)

Warm Regards,

Nero Wolfgang

Senior Cloud Support Engineer


Tags: atl-int

confluence-cloud
Remove Jira issue hyperlink in Confluence page
Asked by Jeremy_Villa:

I have a Confluence page that has what we call "requirement ID" numbers in it, which are the same format as Jira issue keys, e.g. REQ-10. Confluence thinks that these are Jira issue IDs, and so it creates a Jira "browse" hyperlink for them, but I don't want that to happen.

In my case, the "REQ" actually happens to also be the name of a Jira project, as is often the case in our company...maybe that's why Confluence is trying to create this link. Regardless, I don't want Confluence to create the link.

How can I avoid Confluence's automatically creating this link? I just want the bare text, "REQ-10", in the page, not a link to a (nonexistent/incorrect) Jira issue.


Answers:
author: Jignesh Patel
body: [@David Hazeel](/t5/user/viewprofilepage/user-id/1216376) was there a solution for this? I have come up with a script in java to remove. but when I hit refresh the hyperlink comes back on the confluence page.


author: David Hazeel
body: You need to put a '\\' before the hyphen. So rather than REQ-123 put REQ\\-123. That will display the text without the link.

comments: author: Jeremy_Villa
body: That was the first thing I tried, and unfortunately it just displayed literally "REQ\\-123". This is within a table, if that makes any difference?


author: David Hazeel
body: I'm not sure if it being in a table would make a difference.

The only other thing I can think of is to disable the application link to Jira from Confluence - although that might have an impact on other integrations you have. If you do unhook them then it should stop any automatic links entirely.


author: Jeremy_Villa
body: Yeah, we do use the Jira links normally, so we don't want to disable the application link altogether.


author: David Hazeel
body: Ah ok. Sorry to not be more helpful. It might be worth raising this with Atlassian directly?


author: Nikhil Girish
body: Hi David and Jeremy, did you ever find a rersolution for this? I have the same issue.


Tags: cloud

confluence-cloud
Migration destination never sets in Migration Assistant
Asked by Geoffrey Rekier:

Hi.

I'm trying to move to confluence cloud and I have installed the migration assistant add-on. After going through the first step and arriving where I need to choose the cloud site, I get redirected to a new page and choose my site. After this I am redirected back to the assistant but the cloud site isn't visible (not selected) so I cannot move forward.

Add-on version is latest. Confluence is 6.1.1. I am on a Mac with latest OSX and I tried in Chrome and Firefox with the same result.

Update: I also tried on Windows 10 with Chrome and Edge with the same result

Update 2: Upgraded Confluence to 6.13.0 - still same error.

Any suggestions?


Answers:
author: Geoffrey Rekier
body: For those who might stumble across this, I resolved the issue after doing 2 things (not sure which one helped or if it needs both).

1. I was behind an apache proxy and went to the direct URL

2. I disabled Crowd SSO

After that, I was able to migrate.


author: Maren
body: Hi Geoffrey,

Maren here from Atlassian.

Thank you for sharing your issue, and the fix. I've forwarded your question along to the team working on the Migration Assistant so they can document the issue for future users.

Please feel free to reach out with any other questions, we're happy to help.

Best wishes,

Maren


Tags: confluence-server

migration

server
Can I add a small logo to the header?
Asked by Jade Naylor:

I am looking to add a small logo next to the text in the header if possible? Does anything know if I can do this and how I would go about it?

Thanks


Answers:
author: tiktok downloaders
body: Thank you so much bitvoodoo for sharing a very useful link: [https://confluence.atlassian.com/](https://confluence.atlassian.com/confcloud/changing-the-site-logo-724765495.html)[tiktokdownloader](https://tiktokdownloaders.com/tiktok-to-mp3/)[/changing-the-site-logo-724765495.html](https://confluence.atlassian.com/confcloud/changing-the-site-logo-724765495.html), because today it helped me a lot.


author: Sloan
body: Hey [@Jade Naylor](/t5/user/viewprofilepage/user-id/2531559), welcome to the Atlassian Community.

You can put your own logo in Confluence. Go to Settings \> Look and feel \> **Site Logo and Favicon**. There you will be able to upload an image for the Logo and Favicon.

The relating Atlassian Documentation can be found here: <https://confluence.atlassian.com/confcloud/changing-the-site-logo-724765495.html>

Cheers  
Niklas


Tags: cloud

confluence-cloud

logo