youngmon/atlassian-qna huggingface dataset:
confluence: lenght of answer to a confluence search
Asked by yannick63:

Hello

Is it possible to change the length from a result of a search on confluence?

On the adress I have :

<https://xxx.xxx.xxx/xxx/dosearchsite.action?queryString=mysearch>

I would like to know if I can have more rows on the result by adding a parameter.

best regards


Answers:
author: AnnWorley
body: I was not able to find a way to increase the number of results listed by adding a parameter to the URL. I am assuming you mean the number of results per page before pagination starts as there is no limit I am aware of on how many rows you may return from a search.

The [Search Results Macro](https://confluence.atlassian.com/doc/search-results-macro-139511.html) has a **maxLimit** parameter you can use to control the number of search results listed by the macro, but it is more intended to limit the results rather than increase how many results are displayed at a time.

I am interested in hearing more about what you are aiming to accomplish with the longer search results. In general people use search to find specific content so they want to filter the results and see fewer on the list (more relevant results).

comments: author: yannick63
body: Thanks for your answer.

I am just using and application made with confluence by some someone else and my request is to show more lines for each results.

At this moment the result show me an extract with 4 or 5 lines and I want to see 20 lines .

Best regards


author: AnnWorley
body: I understand better now - you would like the *excerpts* to be longer, not the list of results. This plugin, [Instant Search](https://marketplace.atlassian.com/plugins/ZFIN.instantsearch/server/overview), provides that functionality, according to their Marketplace listing:
> Customize: maximum search results, input field width, excerpt length, url (include /exclude), search button, watermark, search and result css, result width, tab order, focus on page load
Delete the built-in "Team Vacation" Calendar
Asked by Jason Chen:

Is there anyway to delete the built-in "Team Vacation" calendar since I don't have any privilege to add/edit events in that calendar even though I am a Confluence Administrator.

The "Team Vacation" calendar shown up as the popular calendar which caused confusion to other users when they try to add another calendar that I created for the team.

Thanks


Answers:
author: Jason Chen
body: Great. Thank you for the info

comments: author: Shannon S
body: You're welcome, Jason!

Just let us know if we can assist with anything further.

Regards,

Shannon


author: Shannon S
body: Jason,

Team Calendar doesn't contain any calendars by default, so it is possible that a user has created this calendar in the past, or that an add-on has created the calendar. Only the creator of the calendar can delete it.

You can try the article [How to find the Creator of a Calendar](https://confluence.atlassian.com/confkb/how-to-find-the-creator-of-a-calendar-in-team-calendars-for-confluence-389777998.html) to try and determine who created it.

Let us know if you have any trouble.

Regards,

Shannon


Tags: team-calendars-for-confluence
Login/rights Problem
Asked by itadm:

Our Confluence is connected with our ActiveDirectory.

After the login there are no workspaces. Just a blank page with a "Not allowed" text. We didnt change any settings or connects. Confluence doesnt have a local User, so there is no way for us to login and check the ldap connection. But since the AD-User can login (and nothing else) the problem must be somewhere else.

Maybe a DB Connection problem? I changed my picture in my Profile, as you can see in the screenshot, the picture cant be displayed.

We need to solve this problem as soon as possible.

kind regards

![Unbenannt.PNG](/t5/image/serverpage/image-id/10999i846C332E17EC671C/image-size/large?v=v2&px=999 "Unbenannt.PNG")


Answers:
author: itadm
body: I figured it out how to reset the password of the local administration account and could log in to confluence. I dont have a clue how the domainusers could lose their groups. but i had to assign them to all the workspaces. a lot of clicking with over 20 users but at least they can login and see their spaces. But i still dont had no clue how this could happen....

are there any logfiles where i can search for the reason?


author: Nic Brough -Adaptavist-
body: I got the same when I messed up a user system last night. The user might well be in the "can log in" group, so they've logged in fine, but if they have no group or user access to any space, you'll get an empty screen and minimal menus.

comments: author: itadm
body: did you figure it out how to solve this problem/bug?

in my case i didnt messed with the user system or anything else. and this error affects every AD-user who is created in confluence.


author: Nic Brough -Adaptavist-
body: My mistake was in the group names - in my user directory, I'd got a group for "confluence-users", but Confluence was expecting "confluence-user". Creating the directory group, and adding the user into confluence-user fixed it.  
I was ok finding it because I still had an admin user in the internal directories, otherwise I suspect I'd have needed to read cwd_user, cwd_group and cwd_membership from the database to work out what I'd done wrong.
Problem after login
Asked by itadm:

Our Confluence is connected with our ActiveDirectory.

After the login there are no workspaces. Just a blank page with a "Not allowed" text. We didnt change any settings or connects. Confluence doesnt have a local User, so there is no way for us to login and check the ldap connection. But since the AD-User can login (and nothing else) the problem must be somewhere else.

Maybe a DB Connection problem? I changed my picture in my Profile, as you can see in the screenshot, the picture cant be displayed.

We need to solve this problem as soon as possible.

kind regards

![Unbenannt.PNG](/t5/image/serverpage/image-id/10999i846C332E17EC671C/image-size/large?v=v2&px=999 "Unbenannt.PNG")


Answers:
author: Shannon S
body: Hi Christian,

You can recover the system administrator by following the procedure below:

* [Restore Passwords to Recover Admin User Rights](https://confluence.atlassian.com/conf63/restore-passwords-to-recover-admin-user-rights-929729565.html)

This would help you login and check the LDAP connection. However, it may be that there are issues with your permissions. For example, if the user you've logged in with doesn't have Confluence Administrator rights from the Global Permissions page, you would see this message. You would need to then look at the groups your user is in and compare it to the groups that have been given permissions on [Global Permissions](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html).

I hope this helps but let us know if you have any trouble.

Regards,

Shannon
On Confluence Cloud, can I add the page path to the pdf export header?
Asked by Mordechai Cikk:

Hi,

How can I add the page tree information (something like "pages / requirements / high level") to the pdf export header?

Is this possible?

Thanks

Mordechai


Answers:
author: AnnWorley
body: It looks like there is no way to retrieve the breadcrumbs and include them in a PDF export. This bug report has more information as to why: [Allow PDF Exports to be customised via Velocity](https://jira.atlassian.com/browse/CONFCLOUD-16527)

I also was not able to find any plugins on the [Atlassian Marketplace](https://marketplace.atlassian.com/search?product=confluence&query=pdf) which include that functionality in their documentation.

Here is our documentation that covers a lot of what is possible for the PDF exports in Cloud:

[Customize Exports to PDF](https://confluence.atlassian.com/confcloud/customize-exports-to-pdf-724764825.html)

[Advanced PDF Export Customizations](https://confluence.atlassian.com/confcloud/advanced-pdf-export-customizations-724764827.html)
Is there a way to only included the updated content of a confluence page in the update notification?
Asked by Becky Gosden:

Hi,

Bit of a long shot, I've looked through the community pages and googled but can't seem to find an answer - I'm almost 100% sure we can't do what we need. But am giving it 1 more shot....

We have a wiki page that every time we update it, an email is sent to all the developers containing the whole page and not only the part updated.

The email's size so far is 3 MB! This page can be updated multiple times a day. It has been updated so far 552 times.

For instance today this page was updated 6 times. So 7 developers received each 18 MB (that's 126 MB in total in our servers ++today only++!).

Is there a way to customize the notifications for this particular page so that the developers receive only the updated part and not the whole page by email?

The only thing I can think to do is to advise them to change to daily updates instead - however this then happens to all pages/spaces the developers are watching which may not be great if there are other pages where they do want more timely updates.

thanks

Beks


Answers:
author: AnnWorley
body: Hi Becky,

It sounds like the **Show changed content** option documented on: [Email Notifications](https://confluence.atlassian.com/confcloud/email-notifications-724765358.html) may help:
> If you do not select this option, your notifications will include only the title of the page, and any comment the author made when updating the page.

That will apply to every page the users watch, not just the one page as you describe, but I wanted to let you know about it, in case it's helpful. I look forward to hearing what you think.

Cheers,

Ann

comments: author: Becky Gosden
body: Hi Ann

Many thanks for your advice; we've suggested the Show Change Content as well as Subscribe to Daily updates

Not quite what they wanted but I think it will suffice for now.

A great feature would be if you could drill down on updates on a per page basis

thanks again

Becky


author: AnnWorley
body: This suggestion ticket is open for more granular control over notifications: [Disable notifications per-space (and perhaps per-page too)](https://jira.atlassian.com/browse/CONFSERVER-41502)

Their use case is not to save email server space but rather to prevent secure data from being sent over email. I hope you will have time to comment on the ticket with your use case. You can also vote for the suggestion. Either one will add you to notifications so if the suggestion is included in a later version of Confluence you will know.
Migration of Cloud Confluence -> Server Confluence - Image URLs not migrated
Asked by Jiri Pik:

I have migrated from Altassian hosted Confluence to self-hosted Server Confluence and now have discovered that some pages contain links to images at their old xxx.atlassian.net server so they are not loading properly.

The images are stored correctly in the backups, so I can manually fix.

The question is - how do I find all pages with corrupted image links?


Answers:
author: AnnWorley
body: You can use find-and-replace tools to change the URLs in the XML backup before restoring as described in: [How Do I replace all 'hard' links to my old Base URL](https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html)

There are some more resolutions on this page: [Some attachments or links are no longer accessible after server migration](https://confluence.atlassian.com/confkb/some-attachments-or-links-are-no-longer-accessible-after-server-migration-214862724.html)

I look forward to hearing how you decide to proceed.

comments: author: Jiri Pik
body: Well, this will certainly work but it's enormous amount of work.

I would have expected that the migration from Cloud Confluence to Server Confluence would have sorted this out automatically.

In any case, THANK YOU
How do I change the home page for an anonymous user?
Asked by nick.rozhdestvensky:

I have 2 spaces for anonymous users.

When anonymous user from Space1 clicks on main logo - he moves to #all-updates page because the default home page is closed for anonymous. It's wrong.

I want the following for anonymous:

* in Space1 click on main logo - redirect to space 1's main page.
* in Space2 click on main logo - redirect to space 2's main page.

And my registered users by clicking on main logo are redirected to another default internal main page.

This <https://confluence.atlassian.com/confcloud/configuring-the-site-homepage-724765517.html> doesnt' work for me.

Could anyone help me? Thx.


Answers:
author: Shannon S
body: Hi Nick,

Are you on Cloud? The article you provided is for Cloud, and if you are, I can have a look at your site. Just let me know how I could access the site? I tried to look up the URL using your email address but I was only able to find your Stride license.

Regards,

Shannon

comments: author: nick.rozhdestvensky
body: Hi! I'm on the server.


author: Shannon S
body: Thanks, Nick, for confirming.

The default page that a user goes to when clicking on the main logo will not change dependent on which space the user is in. It will always direct to the page you selected as the site homepage. The [space homepage](https://confluence.atlassian.com/doc/set-up-a-space-home-page-829076213.html) is what will be displayed when a user clicks on the name of the space.

At this time it's not possible to set a different homepage for anonymous users, but I have created a feature request for this below:

* [CONFSERVER-54457](https://jira.atlassian.com/browse/CONFSERVER-54457)

For now, if a user doesn't have access to the default homepage, then they will be automatically redirected to the Confluence dashboard.

I hope this clarifies things but if you have any questions please let me know.

Regards,

Shannon


Tags: anonymous

home-page
How to add docu text in a user macro?
Asked by Henning van Ackeren:

Hi,

I created a user macro with one parameter to fill in by users when editing the macro: the name of a space.

I would like to add a sentence to explain the parameter like "Please add the space name here. The current space is the default."

However I only find a way to link to a documentation web page, which would be a bit too much for just one sentence.

How can I add such short explanations to the parameters?

Thanks!


Answers:
author: AnnWorley
body: Hello Henning,

It seems like the parameter's title could be used. It could say something like: "Space: Please add the space name here. The current space is the default."

This doc has the syntax for specifying a parameter title: [User Macro Template Syntax](https://confluence.atlassian.com/doc/user-macro-template-syntax-223906130.html#UserMacroTemplateSyntax-parametersUsingparametersinyourusermacro)

I look forward to hearing whether that works for your case.

Thanks,

Ann

comments: author: Henning van Ackeren
body: Hi Ann, thanks a lot!

I now use the parameter's title, as you suggested, and in addition the parameter's "desc" attribute to add another sentence.

Have a good start into the new year!

Henning


Tags: macro

user-macro
How to setup user documentation space for external users?
Asked by Shea Martin:

I am considering creating a space and using it for our products end-user documentation.

I created a space, and gave it anonymous access. But when I visit the anonymous site it appears as a Confluence wiki with read-only access. Is there a way I can hide all the wiki control and Atlassian stuff for anonymous users? Users will not be contributing to documentation.

Any tips on making a user-friendly experience for uses when they are looking for documentation for our software product? Ideally a left nav with TOC for the space, and a search option is all an end-user should need.

Any help appreciated, thanks.


Answers:
author: Christian Reichert (resolution)
body: Hi [@Shea Martin](/t5/user/viewprofilepage/user-id/664092),

you have some options here.

1) You could probably customise the CCS of that particular space and hide some elements you don't like.

<https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html>

This can become tricky quite quickly with your logged in Users.

But this would be a free of charge approach and in certain circumstances, quite an effective one.

2) Use a plugin like K15t's Viewport.

I work for a [plugin vendor](https://marketplace.atlassian.com/vendors/1210947/resolution-reichert-network-solutions-gmbh) and we use the [Viewport Plugin from K15t](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-viewport/server/overview) to publish our documentation. That plugin allows you to take a confluence space an publish it under a new URL. You then also have the control over the CSS/etc but there default theme's are probably already quite close to what you want. It also allows a configuration that anonymous Users see the Viewport View (no Confluence UI) and your logged-in Users see their normal Confluence.

You can see the [Documentation of our SAML Plugin](https://wiki.resolution.de/doc/saml-sso/latest/all) as an example if you like.

<br />

Cheers,  
Christian
Is it possible to filter a table in Confluence?
Asked by ?ivind Hoem:

This is the last function, at least for me, in order to be fully comfortable moving large lists of requirements and other documentation on to confluence instead of using Excel sheets.

It gets really cumbersome with large lists (either requirements, TODO, etc.) on to Confluence when there is no way to filter a table for the elements that you are interested in.


Answers:
author: Andrey Khaneev _StiltSoft_
body: You can use [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on to [filter](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+filter+macro?src=contextnavpagetreemode), [aggregate](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro) and [visualize](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) table data.


Tags: filter

ms-excel

table
Space "PAGE TREE" is disappeared and Pages don't have view permission after confluence upgrade
Asked by Rao:

After confluence upgrade from 6.3.3 to 6.51, Page Tree is disappeared and user lost the access to the pages for some spaces.

However, space permissions shows the users/groups have the view permissions atleast.

Could you please help us on this issue ASAP?


Answers:
author: AnnWorley
body: Hi - I understand the page tree is not rendering and some pages are not able to be viewed since upgrading from Confluence 6.3.3 to 6.5.1.

Because page restrictions and parent/child relationships seem to be misbehaving, it sounds like you may need to try [Rebuilding the Ancestor Table](https://confluence.atlassian.com/doc/rebuilding-the-ancestor-table-153948.html).

Since that is best done during a maintenance window, please also rebuild the indexes ([How to Rebuild the Content Indexes From Scratch on Confluence Server](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html)) and clear the plugins cache:[How to clear Confluence plugins cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html). Sometimes these procedures are helpful after an upgrade.

Thanks,

Ann
Content by user macro does not render correctly when point to another user
Asked by Lalyn Shivers:

When I creates the macro pointing towards me, the macro renders correctly.  
When I creates the macro pointing towards another user, the macro does not render correctly and created below message:

Error rendering macro 'content-by-user' : null


Answers:
author: Shannon S
body: Hi Lalyn,

What you describe is interesting to me, especially because we have a bug that describes the opposite:

* [CONFSERVER-47224](https://jira.atlassian.com/browse/CONFSERVER-47224)

In this case, if you point the macro to yourself (currently logged in user) it will show the error. When you point it to anyone else, it works.

Could you please have a look at your Confluence Server Application log (atlassian-confluence.log) and let me know what errors you see when you preview the page with the broken macro?

Regards,

Shannon
PDF doesn't open with XSRF error
Asked by IT MayaHTT:

Hello,

We've a Confluence 6.2.3 instance running behind a Nginx proxy to handle Basic Authentication out of Tomcat on our side.

When we try to open PDF documents directly from the instance we are not going anywhere and the following error appears:

referer: <https://confluence.mayahtt.com/display/DCLD300/PDF+version+of+the+guides> \| url: /rest/webResources/1.0/resources \| traceId: ef3a5ea983cca320 \| userName: anonymous  
2017-12-13 14:52:42,974 WARN \[http-nio-8443-exec-19\] \[common.security.jersey.XsrfResourceFilter\] passesAdditionalBrowserChecks Additional XSRF checks failed for request: https://localhost:8443/rest/analytics/1.0/publish/bulk , origin: <https://confluence.mayahtt.com> , referrer: <https://confluence.mayahtt.com/display/DCLD300/PDF+version+of+the+guides> , credentials in request: true , allowed via CORS: false

However, we have a specific situation as we have to make our Base URL not matching the website name. Everything works fine, PDF can be downloaded with no issue, we are just looking to have our PDF preview loading properly without this XSRF checks failed when not using the Base URL.

Thanks in advance for your support.

Regards,

John


Answers:
author: AnnWorley
body: Hello John,

I am afraid there is no supported way to use Confluence with more than one URL/URLs other than the Base URL. Here is the pertinent ticket: [Support accessing Confluence from alias that is different to the server base URL](https://jira.atlassian.com/browse/CONFSERVER-19818)

If you use Chrome, the Postman Interceptor workaround may be helpful, described in: [Cross Site Request Forgery (CSRF) protection changes in Atlassian REST](https://confluence.atlassian.com/kb/cross-site-request-forgery-csrf-protection-changes-in-atlassian-rest-779294918.html) That article also explains how the XSRF protection works.

In the error message you posted it looks like one of the requests is:

```
https://localhost:8443/rest/analytics/1.0/publish/bulk.
```

If **https://localhost:8443** is the proxied address and not either of the URLs you use in your browser, then adding proxyName, proxyPort and scheme to server.xml may be necessary to preview the PDFs. That is also mentioned in the same article I linked above.

Happy holidays,

Ann


author: IT MayaHTT
body: Hello Ann,

Thank you for your reply!

Defining in server.xml proxyName and proxyport fixed this issue and I can now open PDFs with the reverse proxy.

You can close the ticket.

Thanks again and happy holidays to you too.

Regards,

John

comments: author: AnnWorley
body: Thanks so much for following up. Happy to hear the previews work, now. :)