youngmon/atlassian-qna huggingface dataset:
Google Analytics - track company or department of users
Asked by web service:

Hi there,

I wish to track usages with Google Analytics and have usage statistics by the company / department of the Confluence users, e.g. number of visitors per company / department, the most popular visited Confluence page(s) per company / department, etc.

How can we achieve this, if possible? Thank you.


Answers:
author: Susan Ostreicher
body: As far as I know, this isn't possible in Google Analytics because Google can't associate each visit with a user profile.

There are add-ons that will track visits by user. [Analytics for Confluence](https://marketplace.atlassian.com/plugins/com.addonengine.analytics/server/overview) is one that's available for both server and cloud. It doesn't yet provide analytics by user group, but that's something I'm interested in too and have mentioned to the vendor, who's very responsive and open to feedback.

As a workaround, you could potentially export the group membership and the views by user and join them together in a spreadsheet. But it would be pretty time-consuming to find the most popular pages per department, because you'd have to do this for each page individually.

comments: author: web service
body: Hi Susan, thanks your prompt feedback. Has the vendor replied you on your request of analytics by user group?

Thanks your suggestion of workaround as well. As the review of analytics would be an on-going process, it may be too tedious and difficult for the personnel who compiles the data (as you say it would be pretty time-consuming).


author: Susan Ostreicher
body: You're welcome! Yes, I heard from [@Tim](/t5/user/viewprofilepage/user-id/510087) that it's something they're interested in too, but I don't think there's a specific plan yet. I'll let Tim weigh in here too to avoid speaking for him. :)
Content of a page not visible after saving
Asked by Pooja Pandey:

There is a specific page on our Confluence site which the user is unable to view after saving although there is content in the page.

When we manually type in on the page, that content appears.

Confluence is running on v6.0.4

Please advise.


Answers:
author: AnnWorley
body: Hi Pooja,

I understand there is a page in your instance that a user is unable to view after saving.

Please let me know more:

* Does the user see an error message when attempting to view the page? (Please post a screen shot of what the user sees when they go to the page.)
* Does it matter which browser is used?
* Is the page visible to other users after it is saved?
* Please provide the storage format of the page:

1. Click on the ellipsis (**...** ) in the top right-hand corner and select **View Storage Format** from the dropdown.??
2. Copy the storage format to your clipboard and paste it in a code block on this thread.  

Thanks,

Ann

comments: author: Pooja Pandey
body: Hello Ann,

The page is visible after saving but the content in it is not.

No, the user does not see any error message.

It is not just with the user but even me as confluence admin, i am unable to view the content after saving. Although it is visible in edit mode.

```
?
```
Administrator control over Confluence Notifications
Asked by Karen Hayden:

As a space administrator,

* If I add users to a space manually (e.g. not using the Team members field on space creation, but through Administration/Space Permissions/Manage Permissions), will these users become automatic watchers of the space?
  * Are only specific user types (e.g. Admins) automatically setup as automatic watchers of the space
* Can a Space Administrator remove another user from watching the site?

My goal is to setup spaces and add users to the space WITHOUT automatically adding them to watch the space (the email notifications are just too noisy!).


Answers:
author: Gregory Van Den Ham
body: We added no email storm (free addin for server).

<https://marketplace.atlassian.com/plugins/confluence.extra.noemailstorm/server/overview>

This give you options - save the page or save and notify watchers.
Issue on opening port 8091 synchrony
Asked by olivier LAMBOLEZ:

Is there a way to configure confluence synchrony service to an other port ? We've got an issue and are not able to make synchrony working properly. Could you please advise? Thanks


Answers:
author: Boris Berenberg - Atlas Authority
body: Synchrony needs to run on a port that is different from Confluence. If Confluence is using 443, then you can not use 443 for Synchrony.

If you look at <https://confluence.atlassian.com/confeap/administering-collaborative-editing-847355676.html> you will see a section at the bottom about changing the port. It says:
> Synchrony runs on port 8091 by default. If this port is already in use by another application on your server you can use the the synchrony.port system property to change it to an available port.  
> If you're Confluence 6.0.3 or earlier you'll need to use reza.port instead of synchrony.port.

comments: author: olivier LAMBOLEZ
body: We can't have collaborative editing to work properly. Event hough the Synchrony service is labelled as "running", it doesn't work. We don't use a proxy reverse so it should run fine... do we miss something ?


author: olivier LAMBOLEZ
body: Ideally on Port 443.
Not able to login
Asked by Mike Tarsia:

LDAP user's cant login

The following error(s) occurred:

* Sorry, an error occurred trying to log you in. Please try again.


Answers:
author: AnnWorley
body: As Nic suggested, please do check the logs at:

* \<confluence_install\>/logs/ (anything recent in this directory
* \<confluence_home\>/logs/atlassian-confluence.log  
  Note: The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties

Look for synchronization errors and errors that say the external directory is not available. There should be a reason for the failed sync or unavailable directory in the related stack trace.

BTW-The logs spell synchronize with an s where we would use a z: synchronise.

comments: author: Nic Brough -Adaptavist-
body: I always forget that the logs are in English rather than American English!


author: AnnWorley
body: The logs are from a land down under. ;)


author: Nic Brough -Adaptavist-
body: You'll need to read the logs to find out what is going on
Exceeding the Content by Label Max Page Limit
Asked by Mike Platt:

Is there a way to get the Content by Label macro to display more than 500 pages?

I think I've got around the 20 label limit but this has me stumped.

If there isn't a way to do this, can anyone recommend an alternative?


Answers:
author: Mike Platt
body: Thanks, this gives me something to work with.

I haven't tried to code user macros before - any idea how to adapt this to allow multiple labels and sort the list?


author: Stefan Baader
body: I have the same problem: the content by label macro seems to limit the output to 500, doesn't matter what higher limit you define in the macro.

Therefore I created a user macro to give me the entire list:

```
## Macro title: oce-content-by-label
## Macro has a body: N
##
## Developed by: Stefan Baader
## Date created: 27/09/2017
## Installed by: Stefan Baader

## @param Spacekey:title=Space Key|type=string|desc=Space Key
## @param Label:title=Label|type=string|desc=Label

#set($labelManager = $action.getLabelManager() )
#set($label = $labelManager.getLabel($paramLabel) )

#if(!$paramSpacekey ||? !$paramSpacekey == "")
? #set($spaceKey = $space.getKey() )
#else
? #set($spaceKey = $paramSpacekey)
#end

<h2>List all content of the space $spaceKey with the label $label </h2>

##set($listOfContent = $labelManager.getContentInSpaceForLabel(0, 600, $spaceKey, $label) )

## method deprecated, but works:
#set($listOfContent = $labelManager.getCurrentContentForLabelAndSpace($label, $spaceKey) )

$listOfContent.size() items are found:<br />


#set($i = 0)
<ol>
#foreach($item in $listOfContent)
? #set($i = $i+1)
? <li><a href="$req.contextPath/pages/viewpage.action?pageId=$item.getIdAsString()">$item.getTitle()</li>
#end
</ol>
<hr />
$i items



```


author: Mike Platt
body: Thanks, but unfortunately that isn't going to do it.

This is a scripting language reference with \>2000 commands. I want to list the commands available in each version of our product. Each command has a version label.

1.00 started with \>1500 available commands and each subsequent release of our product added support for more.

e.g.

* Version 2.00, aggregate labels 1_00, 1_20, 1_50, and 2_00
* Version 1.50, it would only be 1_00, 1_20, and 1_50.


author: Sandy Johnson
body: Hi Mike

This won't get you past the 500 page limit, but we have a section at the top of our pages for related pages using this macro. If we know the list is going to be more than say 15-20 pages, we break it up into multiple lists. Each list uses the Content by label macro with different labels generating different lists of pages. For example, we may have one list for process pages, one for how to, one for training, etc. We find this is more readable.

Thanks, Sandy
Issue while editing confluence page
Asked by Defny:

Hi All,

We are facing issue while editing confluence pages. I believe its with synchrony. we are facing issue when multiple user edit a page. I checked the synchrony log also turned of collaborative editing,still dint help. We are running 6.1.2 version. Kindly help us on this.


Answers:
author: Nic Brough -Adaptavist-
body: If you turn off collaborative editing and still have issues, then it's nothing to do with Synchrony.

Whatever the issues are though, we really can't help you unless you tell us what they are.

comments: author: Defny
body: Hi Nic,![confluence page error.png](https://community.atlassian.com/t5/image/serverpage/image-id/6492i2C09985D8E123992/image-size/large?v=v2&px=999 "confluence page error.png")

We have edited few pages and when we are trying to publish it, we get a error saying "there is an error processing this request".

Kindly find the error image attached.


author: Nic Brough -Adaptavist-
body: Ok, that's a start. Now you need to read the log to see what the underlying error is. \<confluence home\>/logs should have a file like atlassian-confluence.log - there should be details of errors in there.
Create a Confluence "Hello World" Macro fails
Asked by Mara Broeker:

I tried to create a Macro for Confluence and i do this with the Atlassian Tutorial (<https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/create-a-confluence-hello-world-macro>)

The first steps were fine and i can see the macro in the add-on list.

BUT:  
When I want to add the Macro to a testpage, i am not able to do this. Even opening the Macro-Browser fails, also if i want to add a macro from the list that is already given. In the terminal i can see something like:

```
[INFO] [talledLocalContainer] caused by: java.lang.NoClassDefFoundError: Could not initialize class com.benryan.conversion.macro.ConverterMacro
[INFO] [talledLocalContainer] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

```


Answers:
author: Boris Berenberg - Atlas Authority
body: I would suggest you ask this at <https://community.developer.atlassian.com>

comments: author: Mara Broeker
body: Thank you!


Tags: developer

macro
Chrome Spellcheck
Asked by Winston Messer:

I'm on Chrome on Linux. The build-in Chrome spellcheck is not working for me when editing a page in Confluence. It doesn't appear to be Chrome, as spellcheck works in the title field, but not the text field.

Is there a fix for this?


Answers:
author: Gregory Van Den Ham
body: Can you tell us more about confluence? version (cloud / onprem version #)?

Version of Chrome / flavor of Linux / Version #?

comments: author: Winston Messer
body: Chrome: 60 \& 61

Linux: Xubuntu 16.04

Confluence: 6.1.2 onprem.

Chromium 60 works, while Chrome 60 does not. This is the only area where I've noticed Chrome spellcheck not being turned on.
HTML file as attachment
Asked by Luca Montagna:

Hi there,

I'm currently trying to bind my HTML-file which I uploaded as attachment (filetype: text/html) in an iFrame.

But Confluence keeps downloading the HTML file instead of rendering the file.

I have to work with an iFrame because i have a bootstrap stylesheet which would cause problems if I link it directly in the HTML-Macro.

Confluence Version: 6.0.3

Do you have any suggestions to my problem?

Thanks in advantage

Luca

EDIT:

I forgot to say that I tried the "Example - HTML from an attachment" (<https://bobswift.atlassian.net/wiki/display/HTML/HTML+Macro>)

But everytime I try to write {html:script=\^..........} Confluence doesn't recognize my command... Maybe I'll do something wrong...

EDIT2:

Nevermind... I saw that the Bob Swift HTML Macro have to be installed separately. I thought that he described the Confluence HTML Macro...


Answers:
author: Nic Brough -Adaptavist-
body: Confluence is not a web server that renders up arbitrary html. Your file is an attachment and hence gets treated as an attachment. If you want to render it in Confluence, you'll need to convert it to a Confluence page, or find/write a macro that can read and render an attachment.

comments: author: Luca Montagna
body: Thank you for your answer.

I've found a solution that works for me.

I download the HTML file via JQuery ajax and write it direct in the iFrame. This should work for Google Chrome, Firefox and Internet Explorer:

```
<iframe id="result" style="width: 100%; height: 100vh;border:none;" scrolling="no"></iframe><script>$(document).ready(function() {$.ajax({ method: 'GET', url: '/download/attachments/...', dataType: 'text', success: function(data) { var iframe = document.getElementById('result');iframe = iframe.contentWindow || ( iframe.contentDocument.document || iframe.contentDocument);iframe.document.open();iframe.document.write(data);iframe.document.close(); }});});</script>
```


author: Joseph Truncale
body: This is a little hacky, but creative and solves my problem!

**Note to others:**

Copy the script above into the HTML Macro (not html include) and replace the URL with your HTML attachment.


author: maxime pichot
body: Luca's solution works fine except for some characters like accented letters that appear as ?.

Do you know how to solve this ?


author: P. van der Heyden
body: tip: Find a way to replace ASCII characters by UFT8 characters.


author: J?r?me Lecl?re
body: Thank you for this solution based on JQuery Ajax, it indeed works, but only if there is a single page to include.

If I put several HTML macros with this code targeting different HTML files, only the last HTML file is included in the first HTML macro, the rest is white.

Is it expected? Is there a workaround?


author: Benno Vogel
body: Works like a charm, thanks!


Tags: html

iframe
aui Form submission, and email form info
Asked by rahul Sg:

Hi all, I have created one form using AUI, HTML, i am not able to figure out how can i use Form info and send/save it.

How can i get logged in user with AUI form (who is filling the form)


Answers:
author: Avinash Singh
body: [@rahul Sg](/t5/user/viewprofilepage/user-id/1133510) Did u get a solution to this?
Centrify SSO itegration leading to a null pointer exception
Asked by Martin Keferboeck:

Hi, I?m trying to get Centrify SSO integrated in confluence (newest version), but I?m getting this error message when reaching confluence after the SSO redirect:

**java.lang.NullPointerException**   
**at com.centrify.cloud.saas.SamlResponseValidatorBase.extractAttributeValues(SamlResponseValidatorBase.java:139)**

I?ve already been in contact with Centrify, from their side everything looks correct and should work.

we?ve also got it running with Jira without any issues.

Any ideas?

I?m doing the integration as described [here](https://docs.centrify.com/en/centrify/appref/cloudhelp/a-f/saas_appref_Confluence_Server.html#):


Answers:
author: nickgamb
body: Hello Martin,

We have not heard of any other customers running into the issue that you have described. We want to insure that we track this issue and replicate it. It could be an issue in our plugin and, as Nic said, it could be something returned from Atlassian that we did not expect. If we can replicate it, and it is an issue on our end, we can fix it. If it is an Atlassian issue, we can work with them to resolve it.

I have notified one of our support back line engineers so that he can reach out to you and gather all of the relevant information pertaining to the issue. He will then ensure that our engineers look into it and keep you updated. If you would prefer to reach out, you can contact support@centrify.com.


author: Nic Brough -Adaptavist-
body: The error message you have given us points to a bug or problem in the Centrify code.

There's not a lot we can do here, other than ask them to explain it.

comments: author: Martin Keferboeck
body: thanks for your fast response Nic, I?ll recheck with them, but would still be interesting to know if this happens to others as well


author: Nic Brough -Adaptavist-
body: It would be useful to find out if others have this problem. As a developer, it is often useful to have many bug reports from users in different situations.

I've also re-read that answer and I want to add that the problem may well not be Centrify. The error is happening in their code, which suggests a bug in there, but it might be because Atlassian's code has handed them garbage. We can't get anywhere without Centrify explaining why their code has failed, but the error does not rule out Atlassian's code being the problem.
change of server
Asked by irfan kalkan:

Hi we made a mistake with our server installation and had to reinstall confluence,  

Our Server i.d has now changed how can we go about installing the licence on the server with a diffrent server key? Or do we have to re purchase?  


Answers:
author: Nic Brough -Adaptavist-
body: Change the server ID in your my.atlassian account, and it will generate a new key for you.

comments: author: irfan kalkan
body: Could You please provide me more details? I have looked but i couldnt find where i can change the i.d?  

Thanks


author: irfan kalkan
body: Where can i change this could i have some more details please? I have looked around but have had no joy finding the change server i.d


author: Nic Brough -Adaptavist-
body: Go to my.atlassian.com, log in and go to the list of licences.
Confluence upgrade not as expected
Asked by Ruud:

Hi,

I decided to renew my Confluence license and perform an upgraded.

I did not get any errors or warnings as far as I can trace back. But still when I go to the URL I get the Confluence Setup screen (for Trial or Production install) and not my own dashboard with my info.

Now I'm wondering what went wrong and can I still get this corrected? I'm using a mysql as db.

I compared the confluence-init.porperties with the one in the zip file that the upgrade created during migration and it's the same.

Anybody had this or knows where I took the wrong turn?

Thanks,

Ruud


Answers:
author: Maarten Cautreels
body: Hi Ruud,

It's probably best to get in contact with Support: [https://support.atlassian.com](https://support.atlassian.com?)

They'll be able to help you with the necessary steps.

Best,

Maarten
How can i create a "guide" or "manual" in confluence?
Asked by Romer Ventura:

Basically, trying to get something like on this link: <https://confluence.atlassian.com/get-started-with-jira-service-desk/create-service-desk-request-types-917968307.html>

It has the "next pages" listed on the right with marking on the progress, as well as, Next and Previous in the bottom...

Are those macros available?

Thanks


Answers:
author: Nils Bier _K15t_
body: Hi Romer,

As Mizan already stated, Atlassian is using our app [Scroll Viewport for Confluence](https://www.k15t.com/software/scroll-viewport).

Scroll Viewport gives you full flexibility on how to present your Confluence content to the public, without the need to change the Confluence UI itself. Compared to standard theming apps, you're not changing the Confluence UI, but define an alternative representation layer on top of Confluence.

Some examples of public-faced help centers built with Scroll Viewport can be found here:

* [docops.ca.com](https://docops.ca.com/home)
* [support.sapanywhere.com](https://support.sapanywhere.com/confluence/sapkb)
* [docs.bmc.com](https://docs.bmc.com/docs/remforce201601)

All those sites store the content in Confluence pages, and use Scroll Viewport (and some of our other apps) to present the content in their companies style.

Also our [own website](https://www.k15t.com/) and [help center](https://help.k15t.com/) is based on Confluence and Scroll Viewport.

I hope that information helps.

If you want to discuss your use case in person, please feel free to reach out to us via [hello@k15t.com](mailto:hello@k15t.com), and we'll be happy to set up a web session to discuss more in detail.

Alternatively you can of course also post your questions here.

Cheers,  
Nils


author: Mizan
body: Hi Romer,

At the bottom of the page you mentioned there is a link to the add-on used in creating the page

Powered by [Confluence](http://www.atlassian.com/) and [Scroll Viewport](https://www.k15t.com/go/scroll-viewport).

You can evaluate the add-on and decide if it fulfills your requirement.

Hope this helps :)
how to add comment when insert file in confluence page
Asked by Peter Yeh:

hi,

when I insert a file -\> select a file from local disk, there is a column -comment.

how to edit this column?

/Peter ![2017-09-17_01-02-32.jpg](/t5/image/serverpage/image-id/6365i08855DA87F1E55D5/image-size/large?v=v2&px=999 "2017-09-17_01-02-32.jpg")


Answers:
author: Peter DeWitt
body: Peter, you can update the Comment by editing the properties of the attached file by clicking the properties link for the attached file. More information here about 1/2 way down:

<https://confluence.atlassian.com/conf57/managing-files-701435141.html>

Hope this helps!


author: Gregory Van Den Ham
body: Yup, when viewing the page, you'll see your file attachments. there's a "\>" in front of the file name, click it to expand details on the file, then click properties to add comments.


Tags: confluence-cloud