youngmon/atlassian-qna huggingface dataset:
Add horizontal navigation bar to page header using HTML/CSS
Asked by Sam_Asbeck:

We're trying to create a horizontal HTML navigation bar in our Confluence space, following the basic tutorial here: <https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp>

When we edit our space's stylesheet and insert the HTML into an HTML macro it works perfectly. However, this option is not scalable, as we would have to enter this HTML macro manually into each existing and new page within the space.

The perfect place for this HTML to live seems to be in the space's page header so it was at the top of every page within the space by default. However, when we insert the HTML into the header, combined with the stylesheet changes, it causes major formatting issues and renders the page unusable. The header becomes large enough that it consumes most of the page and renders the rest of the content unreadable/uneditable. As you can see in the attached screenshot, the regular content is pushed very far down.

The same issue does not happen when inserting the HTML into the page footer, but this is not a viable option as users would have to scroll to the bottom each time they would like to navigate.

Does anyone have any suggestions? We would really love for this HTML to live in the page header without messing up the formatting.

Thank you so much!

![Example Header Bug.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/102215iAA2C290348B7FD7C/image-dimensions/606x251?v=v2 "Example Header Bug.PNG")


Answers:
author: Brian L
body: I wanted the same thing, but had lots of challenges getting this done - but did finally figure it out. Here's what I did:

1. Create a page to store my navigation bar. In this page, add an "excerpt macro". Inside that, add an "html macro". Inside that html macro, add all your html/css from W3 Schools.

2. Edit your space, go to look and feel, then navigate to the header section. Use the following wiki markup language to call an excerpt-include macro of the page you created the nav bar in. Mine looks like this:

{excerpt-include:NetworkNavBar\|nopanel=true}  
\\\\

Note: the double slash is just a carriage return to add spacing, or the "edit" page links overlapped with my nav bar.

Hope this helps you!

Brian

comments: author: Nancie Gari
body: THANK YOU!! I have been trying to figure this out for weeks now. This worked perfect for me. Once I used the Excerpt macro and placed my html/css inside the navbar came to life.


Tags: atl-gruland

confluence-server

css

html

server
Children Display macro uses over-sized text formatting
Asked by JaredH:

When attempting to use the Children Display macro, the view of the macro on the page enlarges the child page text beyond reasonable expectations. I want to use the "rich content" excerpt display as the "simple" except is the opposite (too small, light gray and hard to read).

The documentation claims it should use the same formatting as the child page, but it appears to be using the format of the heading style (which is quite large).

Is there a way to have the rich except use the normal paragraph format of the child page?

Child page with rich content:

![child-display-child-page.png](https://community.atlassian.com/t5/image/serverpage/image-id/102209i2550EA64735446CC/image-dimensions/480x105?v=v2 "child-display-child-page.png")

Parent page with macro:![child-display-parent-page.png](https://community.atlassian.com/t5/image/serverpage/image-id/102210i5959CBFFC81CC17C/image-size/large?v=v2&px=999 "child-display-parent-page.png")


Answers:
author: Matt Reiner [K15t]
body: Hi [@JaredA](/t5/user/viewprofilepage/user-id/98922)

This behavior doesn't seem normal, so what you're looking to doo should be possible. Some thoughts that come to mind:

1. Is there any custom CSS implemented on your Confluence that could be interfering?
2. Have you added the macro on a line that's formatted in the editor as a heading?

comments: author: JaredH
body: That was it...hidden formatting around the macro. I added text before and after the marco, and the before displayed as a header. I selected the before/after text including the macro, set to paragraph, then deleted the text. All good.


Tags: confluence-server

macro

server
"License Inconsistency: Confluence support and upgrades for your current license have expired."
Asked by Robert Lauriston:

I installed atlassian-confluence-7.4.1-x64.exe as administrator on Windows 10 Pro.

The error says to enter a license key, but there's nowhere to enter it.

![confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/102205iCA7D7BE094AE76E9/image-size/large?v=v2&px=999 "confluence.png")


Answers:
author: repi
body: [@Robert Lauriston](/t5/user/viewprofilepage/user-id/853544)

A license key is requested at the very beginning of the installation procedure.  
Wasn't that with your installation?

Why didn't you install the latest version of confluence?

comments: author: Robert Lauriston
body: After the installer completed successfully, the browser window it opened was blank. After a few minutes I gave up and started looking at the logs. Ten minutes later I went to localhost:8090 and saw the above. I never got the usual interactive setup.

7.4.1 is the current long-term support release. I suppose I could try again with 7.6.0.


author: Robert Lauriston
body: 7.6.0 worked. Likely the problem was that I neglected to delete the directories from a previous installation since I didn't think I'd installed it on this PC before.


Tags: confluence-server

server
Features of Trial account
Asked by Rajesh Singamsetty:

Hello, I run a training center. I would like to know if I take a confluence free version, will accommodate my students to create their own credentials, and create their own spaces and then the pages, so that I can review their work.

I have an average of 10 students per batch. As the trial version accommodates only 10 users, I can remove my old students and then add new students to maintain the permitted limit of users.

Can someone tell me if the trial version works for me?

Thanks

Rajesh Singamsetty


Answers:
author: Carla Ann Rowland
body: Hi Rajesh,

If you rotate your students you can use the 10 trial version. You don't necessarily need to delete your old students just deactivate them, that will remove them from the license count.

Regards,

Carla Ann

comments: author: Rajesh Singamsetty
body: Hi Carla, thanks for your quick response.

So, let's say if I have 10 active users, and now I need to add two more students then I need to delete any two existing users and the add the two new students right. As the limitation is for only 10 students.


author: Nic Brough -Adaptavist-
body: That is almost what Carla said, yes.

She said "deactivate" instead of "delete" - don't bother deleting users, you have to change stuff they've interacted with and pointlessley destroy tracking data. Just deactivate them.


Tags: cloud
How to make confluence labels case-sensitive
Asked by Suresh Mantrala:

Just as in Jira, can we make confluence labels case-sensitive. Currently are labels are converted into lower case with underscore replacing spaces


Answers:
author: Sachin
body: Hello Suresh,  

That is correct labels in confluence are not case-sensitive. I have found this old feature request with atlassian but it is closed :(, [CONFSERVER-40646](https://jira.atlassian.com/browse/CONFSERVER-40646) , you should open a new feature request with atlassian if you really want this to be implemented.

Best,  
Sachin.


Tags: confluence-server

server
Unable to log in with error 504
Asked by Alexander Bondarev:

Hi!

**Confluence Server 6.15.10**

Some users (about 15%) have problem with log in into the system.  
When entering the correct data (login / password) - they receive an error 504 (after 3-4 minutes).  
However, we do not observe any information in the Confluence logs.  
But if you enter an incorrect password, the user immediately receives an error about it. This information is displayed in the logs.

Our users are being pulled both from LDAP and from the internal directory. In the same directory there may be users who log in successfully and those who cannot log in. The problem is similar.

Connection to the confluence goes through Nginx. In the logs of which there are entries that for some users the confluence returns a 504 error.

We haven't done any works or updates, but got this problem.

Do you have suggestions?


Answers:
author: krhodes12
body: I am having the same issue with Confluence 7.0.4. Only a small population is getting the error. Same issue no entries showing in Tomcat or Confluence logs

comments: author: Alexander Bondarev
body: Have you found any workarounds?

We temporarily create accounts in the internal directory.

Do you have any ideas on a possible cause of the problem?


author: krhodes12
body: I opened a ticket with Atlassian, also found this article.

<https://confluence.atlassian.com/jirakb/active-directory-users-fail-to-logon-intermittently-945118456.html>

I will post if i get confirmation on a workaround or if the above works


author: krhodes12
body: This is being caused by a firewall update for a High vulnerability issue found and released on 7/2/2020.

If you do a packet capture you should see illegal characters in Header

Name: Multiple Cameras Information Disclosure Vulnerability


author: Alexander Bondarev
body: [@krhodes12](/t5/user/viewprofilepage/user-id/838214) , thank you!

Problem was with Multiple Cameras Information Disclosure Vulnerability.


Tags: authentication

confluence-server

error

login

server

user
fixing or disabling "Provide Feedback" button
Asked by Scott.beetley:

Hi -new user to Confluence Server taking over for an individual who's left the organization.   

In other words, I have no idea what I'm doing.   

Our "Provide Feedback" button on our public KB doesn't work. The form pops up but when users hit submit, there's an error that says:   

**"Oops! Something went wrong...**

There was a problem submitting your feedback, likely due to the configuration of this form. You might want to contact the site owner to let them know about this issue."  

As I am now the site owner, I need to either fix this or turn the feature off. I'm not sure where to go in the settings to do that. If someone could point me in the right direction, that'd be greatly appreciated.   

If it matters, we're using a Brikit theme, I'm honestly not sure if this button is part of the Confluence part or the Brikit configuration. The error occurs when using incognitio mode, after clearing the browser cache, and when using a different browser altogether. I've attached pictures. Thanks!

![error.JPG](/t5/image/serverpage/image-id/102178i18C2269E87A654D7/image-dimensions/259x277?v=v2 "error.JPG") ![provide feedback.JPG](/t5/image/serverpage/image-id/102177i7584CA80A2AA3FDE/image-size/large?v=v2&px=999 "provide feedback.JPG")


Answers:
author: Krzysztof Daukszewicz [CoreSoft Labs]
body: To be honest I've never seen such a button in Confluence. You sure this is not some kind of App?

comments: author: Scott.beetley
body: That's entirely possible. I'm not sure of anything, but if I can eliminate it as a Confluence thing, then that still helps as it will limit where I look for solutions.   

I can't find it in any of the apps that are running in our instance, so at this point I don't think it is but as I said, I'm new to the platform so I'm just making best guesses.


Tags: new-to-confluence
Confluence gadgets do not load with via shared URL link
Asked by Jake Geller:

Hello,

I've created Confluence dashboards containing gadgets that pull from saved Jira filters. These filters are accessible to 'My Organization'. On the Confluence page, the gadgets load properly if a user navigates to the page within the Confluence Left-Nav.

If, however, I share a direct link to the page via it's URL, the page loads blank spaces where the gadgets should be loading. There is never a loading bar or an error displayed. A user can navigate away from the page in the left-hand nav, then return to it, and the gadgets load properly - it is only not loading with the direct link.

I using the following gadgets on the page:

* (1x) Two Dimensional Filter Statistics
* (1x) Statistics
* (2x) Filter Results

There are no permission restrictions on the Confluence page itself. This has been tested with multiple users in the Org, all experiencing the same issue.

Thanks!


Answers:
author: Diego
body: Hello [@Jake Geller](/t5/user/viewprofilepage/user-id/4002682) !

As I understand, accessing a confluence page that contains gadgets directly via the page URL results in gadgets being displayed as white rectangles.

With this behavior in mind, I tried to replicate it and was able to reliably do so.

Having such results at hand, I was able to raise a bug report tackling this. You can check the report here:
> * [\[Confluence Cloud\] Accessing Fabric pages that contain gadgets directly via URL displays gadgets as white rectangles](https://jira.atlassian.com/browse/CONFCLOUD-70530)

The best course of action is to vote and watch the report. As a workaround, I was only able to work around it using the method described by you.

Even if I enter edit mode for the page and then publish it, the problem was still present.

Let us hear from you!


Tags: cloud

gadget

questions-for-confluence
I need a list of spaces and pages/child pages for the whole of our Confluence...is that possible?
Asked by Nick Everly:

I need to see a list of all of our pages/spaces in one place so I can go through and do a cleanup and archive of duplicate and old articles. I have not found anything on doing this in cloud. Has anyone done this before?

Thanks!


Answers:
author: Sachin
body: Hello Nick, I don't think there is anyway to do this on cloud other than getting some help from the support team. I would have suggested you to run some queries on your DB as per [Finding unused spaces](https://confluence.atlassian.com/doc/finding-unused-spaces-107184852.html) or find space activity [View Space Activity](https://confluence.atlassian.com/doc/view-space-activity-2818381.html) but neither of that is possible on cloud.

comments: author: Nick Everly
body: Hey Sachin!

Thanks so much! I really appreciate the quick answer!

Nick


Tags: cloud
Populating 1 Confluence page with multiple tables from a Local SQL Database
Asked by Aiasha Sadaf I Malik:

I want to make a consolidated page on Confluence that displays values or data from multiple tables in my local database.

Is it possible to populate the same page with data from different tables?

Is there a specific connector required? And does it have relevant documentation?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Not sure if this is what you exactly mean, but check our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview).

It contains the [Table from CSV](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+from+CSV+macro) macro that will output a table from CSV or TSV data source (attachment or URL).

Besides our app allows you to set filters, make pivots and perform calculations - it will help you to aggregate big tables easily.


Tags: cloud

confluence-cloud

database

sql
Migrated server to cloud, broken URL links
Asked by IanC:

We recently migrated our Confluence Server to the Cloud and have noticed that page links (to other pages) are still referring to the old server instance. Now I know that in a server to server migration you can adapt the base URL to correct links but what do we do when migrating to the cloud? Also, even if we find a way to update the base URL in bulk I've noticed in the Cloud version that some pages now have unique Page IDs in the URL that aren't present on the internal server so this is another hurdle. Is there anything that can be done?

Thanks,


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: Open an Atlassian Support request. They can fix this easily.


Tags: cloud
Atlassian API (Billing)
Asked by ?????? ?????????:

Hi, every month we should pay for Atlassian products. Can i get billing info (payments date and ammount) from Atlassian API about Jira and Confluence billing in one request?


Answers:
author: will
body: Hi! Thank you for being an Atlassian user!

We have been thinking about making available some of our billing APIs. Let us figure out what is the best and safest way to do so.

Stay tuned!

Will

comments: author: Andrei Apostol
body: Is there any update on the topic?


author: will
body: Hi Andrei.

Billing API is in our backlog but no ETA just yet.

Having said that, I would love to ask if we could reach out to you to better understand requirements when we get to it.

Let me know!  
Will


author: Andrei Apostol
body: Hi Will,

Sure thing, thanks.  

Have a great day,

Andrei


author: Richard Smith
body: Hi Will,

We also have a pressing need to be able to get billing information from Atlassian in order to assist our customers with their cloud expenditure. Our team would be delighted to be involved with the specification and testing of such a feature.

Please get in contact when you have time.

Many thanks,

Richard


author: will
body: [@Richard Smith](/t5/user/viewprofilepage/user-id/3833453)

Noted! Will reach out when we get to it. Thanks in advance!


author: Sienna Lloyd
body: [@will](/t5/user/viewprofilepage/user-id/757319)I also have a use case for this. I am trying to automate the centralization of invoices, so it'd be great if I could go through an extract the invoices via a REST API.


author: Prasad Akili
body: We too need to automate intimation of outstanding for Jira and Bitbucket. Looking forward to the release of API.


author: WPG
body: We are also interred in pulling all the licensing billing information from the various sites under our Atlassian Access org.


author: David Bakkers
body: For anyone else who stumbles on this thread, the feature request [CLOUD-11223](https://jira.atlassian.com/browse/CLOUD-11223) *"Ability to pull billing info and basic usage via API"* is tracking the request and you can add your vote there.


author: Arvin Azimi
body: Hi atlassian We need this feature (REST API for billing) for workflow automation so that we don't forget to pay its subscription, just like something near Cloud Billing API,

WE WAITE FOR THIS


author: Fabiano Passianoto
body: pls


author: ??_River_
body: Hi, Atlassian. We also really need this feature to integrate the expenditure from Atlassian products to our cost management system.  

I look forward to getting the release of the API soon.


Tags: billing

cloud

jira
Umlauts in PDF exports
Asked by ChrissW-R1:

Hi guys,

we have a multi-language wiki and community, which use it. So on some pages we have special characters (umlauts) like ?, ?, ? and ? from the German alphabet, but also ? from the Turkic alphabet.

If we export these pages as PDF, the German characters are printed in the right way. But for example the ? is missing in the export. This is very problematic in names.

Original: ?mit Rajesh Mei?ner-Hagen Akta?  
PDF export: ?mit Rajesh Mei?ner-Hagen Akta

In a Word export every works fine.

Any ideas?


Answers:
author: Aron Gombas _Midori_
body: If you use the built-in PDF export feature, you can use a custom font. Use one that contains all Unicode characters.

See: <https://confluence.atlassian.com/doc/advanced-pdf-export-customizations-198806890.html#AdvancedPDFExportCustomizations-IncorporatingOtherFonts>

comments: author: ChrissW-R1
body: Hi Aron,

thanks for your assistance. With non-default fonts the exports works like expected. I used the DejaVu family and every is fine.

But I changed the font not in the stylesheet, but used this help article from atlassian: <https://confluence.atlassian.com/doc/create-a-pdf-in-another-language-175473.html>


author: Tom Lister
body: I am getting reports from a user of problems with umlauts. It works OK for me in Safari but I can recreate it in Opera.

That seems like its not a Confluence problem but browser related.

Any ideas?


author: Aron Gombas _Midori_
body: Open the PDF document in Adobe Reader, which is the defacto standard PDF viewer.

If the characters are displayed correctly in AR, it means that the file itself is correct, and it is browser that doesn't use the correct font.


author: Tom Lister
body: Hi [@Aron Gombas _Midori_](/t5/user/viewprofilepage/user-id/502447)

The PDF is exported to the downloads folder from both browsers

when opened in preview on my Mac the Safari version is correct, the Opera one has missing characters.


Tags: export
Draw.io images / Images in genral
Asked by Timothy Mackley:

When trying to insert a draw.io image which ever browser is used (chrome , safari, firefox) the app just hangs ?

also have seen lot of failed loading for images in general in existing confluence spaces ?


Answers:
author: David Benson _draw_io_
body: Could you please file a support ticket via the link available from the draw.io section in your admin manage apps panel?


Tags: cloud
Confluence 6: Deactivate a user from Java API
Asked by Miguel ?ngel Garc?a G?mez:

I'm trying to use a method from the Java API to deactivate a user.

This is for two versions of Confluence: 6.6.0 and 6.15.10. According to the documentation for 6.6.0, [deactivateUser method can be used](https://docs.atlassian.com/atlassian-confluence/6.6.0/index.html?com/atlassian/confluence/spaces/SpaceManager.html). However, for 6.15.10 version it seems that t[his method is deprecated](https://docs.atlassian.com/ConfluenceServer/javadoc/6.15.10/bucket/user/UserAccessor.html#deactivateUser-com.atlassian.user.User-). But there is not an alternative method for this. SO I was wondering if this method can be used safely.

Thanks in advance!

Regards,

Miguel.


Answers:
author: Andrew
body: Hello [@Miguel ?ngel Garc?a G?mez](/t5/user/viewprofilepage/user-id/157474) ,

As I can see in doc 'since 6.10.0. Use `com.atlassian.confluence.user.UserAccessor`'

Could You please check this <https://docs.atlassian.com/ConfluenceServer/javadoc/6.10.0/com/atlassian/confluence/user/UserAccessor.html>

Best regards,

Andrey

comments: author: Miguel ?ngel Garc?a G?mez
body: Hello [@Andrew](/t5/user/viewprofilepage/user-id/1638182) ,

Thank you very much for your response ;) I've checked the link yo provided but if you search for "deactivateUser" it says that is one of the methods inherited from interface "bucket.user.UserAccessor". And if you click on it, the documentation said that is deprecated, but no other alternative is mentioned. So it's confusing for me :/

Regards,

Miguel.


Tags: confluence-server

server
can't start confluence
Asked by Moshe Engelberg:

Hello,

I was trying to setup Confluence server .

I needed to choose SQL DB type and is took some time and several restarts of server.

now localhost:8090 not loading.

error:

java.lang.NullPointerException  
at com.atlassian.confluence.setup.actions.SetupPathsAction.execute(SetupPathsAction.java:48)

how to proceed ?


Answers:
author: Andrew
body: Hello [@Moshe Engelberg](/t5/user/viewprofilepage/user-id/3996854) ,

Could You please provide more log lines? Also provide more details about environment and version pelase?

Best regards,

Andrew

comments: author: Moshe Engelberg
body: Never mind.  
I started the process again with no interruptions (delays)

and managed to finish the wizard .

Thanks for interest.


author: Moshe Engelberg
body: Setup process fail.

deleting folder name "Confluence" from c:\\program files\\atlassian\\Application Data

works.

<br />