youngmon/atlassian-qna huggingface dataset:
Confluence Questions add-in crashed and burned Confluence 5.4.3
Asked by Robert Lauriston:

I accidentally clicked the "Buy Now" button for Confluence Questions in the admin interface. It crashed Confluence, I restarted the server, now Confluence is dead.

I'm just going to reinstall so this isn't really a question, just reporting it.


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: You should be able to do a restore of your confluence instance. When you did the upgrde or update there should have been a backup.zip file created that you can restore to. You shouldn't have to do a re-install.


Tags: confluence-administration

questions-for-confluence
Table of content macro not populating ???
Asked by Stewart McCreadie:

Hi Guys,

I have created a new space in our wiki and created some pages but the table of content macro that is a built in as part of the space theme isn't showing a page tree or any method of navigation. Can anyone advise why this may be?

All other spaces in our wiki have the table of content as part of the default space theme template and they all showing a page tree which allow you to navigate around. I thought this would populate by default as pages are created for the space?

I am using the easy reader theme for this space but it dosent make any difference if I change this? Can anyone advise why this table of content macro isnt working for me?

![](http://s2.postimg.org/itp1703yx/TOCempty.jpg)

Many thanks, Stewart


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: The table of content macro is designed to use the headers size of text within the same page to display the contents of the current page. This macro will not include child pages.

I believe what you are look for is a macro call 'Children Display'.

[](https://confluence.atlassian.com/display/DOC/Children+Display+Macro)<https://confluence.atlassian.com/display/DOC/Children+Display+Macro>
PDF documents included on pages exported with PDF exporter
Asked by Heather Dull:

We have PDF files embedded in some of our pages. When we export a space we'd like those PDF files to be pages in the export.

Is that possible?


Answers:
author: William Zanchet [Atlassian]
body: Hi Heather,  

Actually we don't have such feature in the PDF exporter. However, I took the liberty to raise an improvement request on it as you can see below:  

[](https://jira.atlassian.com/browse/CONF-32783)<https://jira.atlassian.com/browse/CONF-32783>  

I would strongly suggest that you vote on this issue to increase its popularity and add it to your watchlist for future updates.

Cheers,  
WZ


Tags: confluence-administration
Stop workflow from restarting
Asked by Erika Kovacs:

This may be a basic question, but how do I stop the workflow from going back to draft mode if a comment is added after the workflow has been completed?


Answers:
author: Miguel Reimer
body: Hi Erika,

As it's unclear which type of workflow you are referring to, are you using Ad hoc Workflows or another type of workflows?

If it's Ad hoc Workflows, please provide the version numbers of Ad hoc Workflows and Confluence. As well as the workflow markup. If you'd rather not post it publicly, you can email it to [support@comalatech.com](mailto:support@comalatech.com).

Thanks,  
Miguel


author: Erika Kovacs
body: {workflow:name=FSR Workflow\|label=ups-fsr}

{workflowparameter:UPSTSRs\|description=UPS TSRs\|type=group}

dmp-ups

{workflowparameter}

{workflowparameter:Corporate Project Manager\|description=User able to give final approval\|type=user}

@user@

{workflowparameter}

{workflowparameter:Requestor\|description=The creater or the page\|type=user}

@user@

{workflowparameter}

{state:Draft\|submit=Ready}

{state}

{state:Ready\|approved=Pending}

{approval:Submitted\|user=@user@}

{task:name=Send FSR to Avantor\|assignee=@CorporateProject Manager@}

{state}

{state:Pending\|approved=Billing Review\|rejected=Complete}

{approval: - Click approve if there are items to be billed - Click reject if the job has been canceled}

{state}

{state:Billing Review\|submit=Complete}

{task:name=Provide documenation to biller}

{task:name=Verify charges appear on the invoice}

{state}

{state:Complete\|final=true\|rejected=Billing Review\|hideselection=true}

{state}

{trigger:statechanged\|state=Pending}

{send-email:user=@creator@\|subject=FSR Sent}

The FSR on @page@ has been sent to Avnator by \[\~@user@\] and is waiting for your further action.

{send-email}

{trigger}

{workflow}


author: Erika Kovacs
body: It's the Ad Hoc workflow. Our company uses an older version of confluence, 4.3.7. I'm not the system administrator. I'm only the adminstrator of a space. I don't know what version of the workflow plug in we are using.

comments: author: Miguel Reimer
body: Hi Erika,

Please post the workflow markup so I can take a look at it to determine which option is changing the workflow to the draft state.

Do you want it never to change back to the draft state or only if the page is edited?

Thanks,  
Miguel


author: Erika Kovacs
body: I guess that's the problem. I don't know what in the workflow that is causing it. I don't thing in the workflow that would bounce it back to Draft.


author: Luther Hargrove
body: If you go to the workflow and view the last status. Click on 'View Properties'. There could be a property key and value that are causing this to happen when comments are added to 'completed' issues. You can delete that property to stop this from happening. You will have to create a draft of the workflow \> delete the property \> plublish the workflow.

Hope that helps.


Tags: workflow
Integrating Microsoft training files on Confluence page
Asked by Tim Milner:

Hi. I am building a training space in Confluence, and have gotten hold of Microsoft tutorials, videos etc. for their Lync software. It is in the form of a zip file, with various files within it; each file, when opened, provides a web-type interface, with links embedded that navigate you around different areas of the training material. In essence, it's like a web page, but broken up into separate files - so a Get Started file will open up a web-type interface that has links. Each link will take you to a different web-type interface. These files open up in a web browser, but instead of a standard URL, you get a file path such as file:///C:/Users/milnert/Desktop/Lync_Custom_Intranet_Site. I hope that explains the format OK.

I am wondering if anyone knows if there is a way to effectively integrate this into a Confluence space or page, so that it shows an interface on the page with links that navigate around within or whether I just need to attach the various files to a page, so the user can then just click to open them separately?

Hope I'm making sense.

Appreciate any help - even if just to say no, I just need to attach separate files.

PS. Can you attach zip fiels to COnfluence, or have to attach the individual files within a zip?

PPS. We're on Confluence 3.5.16, but upgrading in May to 5.4.x.

Thanks,

Tim


Answers:
author: Davin Studer
body: There isn't a way to integrate it into Confluence easily. What I would recommend would be to put the content on another web server and then you could iframe it into Confluence.

comments: author: Tim Milner
body: Thanks Davin. Was thinking that was a possibility, but wanted to avoid having to ask IT to do something for me! Thanks for the quick response.


Tags: ms-lync

training-and-certification
Macros - not working after confluence upgrade
Asked by Karolina:

Hi,

I used to have macros in confluence pointed to jira, but after I upgraded confluence to version 5.4.3 I get error:

*com.atlassian.confluence.macro.MacroExecutionException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target*

I use SSL certificate for jira and confluence. It's setup on apache which is connected to tomcats using AJP.

I don't have encryption directly on tomcat servers.

Everything was working fine (until upgrade) and I didn't have to import SSL certificate, to establish connection between confluence and jira.

I was trying to fix the issue by importing apache SSL certificate to confluence like in this tutorial: <https://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services>

After import I'm getting error:

*com.atlassian.confluence.macro.MacroExecutionException: Unable to connect to site specified: Connection refused: connect*

What else should I do ?  

regards  
Karolina


Answers:
author: William Zanchet [Atlassian]
body: Hi Karolina,  

I'd take a look in this documentation, that explain why we're getting such error:  

[](https://confluence.atlassian.com/display/STASHKB/SSLHandshakeException+-+unable+to+find+valid+certification+path+to+requested+target)<https://confluence.atlassian.com/display/STASHKB/SSLHandshakeException+-+unable+to+find+valid+certification+path+to+requested+target>  

I know is a Stash documentation, but it the same principle. The steps are the same.

Also, I'd use SSLPoke to do the testings to see if everything is correct as this documentation shows:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=186712330>

I hope this helps.  
Cheers,  
WZ.  


author: Karolina
body: Hey,

Couse of the problem was certificate.

I found out that certificate which I download with "Portecle" application has smaller size than certificate that I actually use on apache server.  
When I used certificate directly copied from apache everything went fine.   

Thanks for help :)


Tags: macro
How to compare a scaffolding field in reporting plugin against current page
Asked by Steve Gerstner [bridgingIT]:

Hi,

I have two Templates A and B both using Scaffolding Plugin. In B I have a list-data with content options. In A I want a report over all pages using template B where the value of that scaffolding field is the current page.

Can someone help we?

Thanks in advance

Steve


Answers:
author: Steve Gerstner [bridgingIT]
body: Ok, it's quite easy... after some hours of trying... :D

Let's assume, we have the following snippet (in good old wikimarkup)

{list-data:page}{content-options}{list-data}

All you have to do in your report on page A is to add a content filter like:

{content-filter:data:page \> collection:first\|scope=@self}

This only works, as long you are not able to select mutliple pages in your list ;)


Tags: reporting-plugin

scaffolding
Knowledge Base with Anonymous access
Asked by David Monticelli:

Having started to use Jira \& Confluence for several months now, we have some projects defined and populated.We have started a Knowledge Base section in almost both projects (into their corresponding Confluence space).To anticipate problems, I would like to know if it will be possible to open those Knowledge Bases for Anonymous access?But we only agree to give Anonymous access to Knowledge Base content (FAQ + How TO).I am afraid the only solution would be to create a new space dedicated to Knowledge Base content and to grant Anonymous access only to that Space.


Answers:
author: EddieW
body: You can grant anonymous access to the space, and just apply a "Restriction" to the other top-level pages. (FAQ and HOW-TO must be top-level, without restrictions)

The restrictions are inhertied by any child pages, and so applying at the top will ensure all content is locked.

<https://confluence.atlassian.com/display/DOC/Page+Restrictions>


Tags: cloud
Atlassian: can you fix the captcha on the knowledge base?
Asked by Jonathan Simonoff:

How can this suck so badly? Every time I try to comment on a page in the knowledge base ([](https://confluence.atlassian.com/display/CONFKB/Confluence+Knowledge+Base+Home)<https://confluence.atlassian.com/display/CONFKB/Confluence+Knowledge+Base+Home>) I repeatedly get captcha rejections, even though what I put in looks totally right. It has been like this for a long time, and I know I'm not the only one who has complained before. Is it that you don't really want comments there? In general, I don't like captcha, but I've never seen this kind of nearly unusable behavior elsewhere. Here's an example of one of my attempts that got rejected:

![](../../upfiles/captcha_fail.png)


Answers:
author: Jonathan Simonoff
body: This appears to be fixed -- the Atlassian captchas are now readable and act as expected.


author: Matthew J. Horn
body: Your user account might need to have the max retries reset. I would try and contact Atlassian support directly as this likely requires a human to fix.


Tags: knowledge-base
How to create a Space Template using Confluence OnDemand
Asked by Robin Vessey:

Hi I want to be able to create a "new project" space template that includes some standard pre-setup pages and contains a set of specific templates that we use.

I'm using the OnDemand and I have been through [](https://developer.atlassian.com/display/CONFDEV/Write+a+simple+Confluence+Space+Blueprint)<https://developer.atlassian.com/display/CONFDEV/Write+a+simple+Confluence+Space+Blueprint>which appears be be what I want BUT either I'm missing something obvious OR it doesn't work for OnDemand.

Does anyone have the idiots guide to creating a space template for Confluence OnDemand?


Answers:
author: Bob Swift (personal)
body: [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP): You can use [copySpace](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-copySpace) or the techniques from [How to create pages from template pages](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+create+pages+from+template+pages) can be used to easily create spaces with pre-defined content.


author: Maarten Cautreels
body: It's currently not possible to create Space Templates on OnDemand. A workaround might be to create a space which has all the pages that you would normally add to the Space Template.

Export that space, edit the export data using this guide: [](https://confluence.atlassian.com/display/CONFKB/Copy+or+Rename+a+Space+in+Confluence)<https://confluence.atlassian.com/display/CONFKB/Copy+or+Rename+a+Space+in+Confluence>

Everytime you'd like to create new space instead import the edited export.

**I've never tested this and I don't take any responsibilities if anything goes wrong**


author: Raphael Allegre
body: Hi Bill,

Any updates/news regarding this topic?

I'm evaluating the option to have a space template for each customer project my company is working on so that all spaces are consistent...

Still figuring it out if it's better to have one space per project or 1 space for multi projects...

Thanks for your help

Raphael


author: BillA
body: I'm the Product Manager for Confluence and would love to hear how you structure your project space and what content you put into it. If you're keen to share please email me at bill at atlassian. Thanks!


Tags: cloud

confluence-cloud
Confluence 4.3.3 cannot search
Asked by KP11:

We are using the search box in Confleunce 4.3.3

We can search this whole line BlockDefinition.Blocks.PlanText.AllowTextObjects=N

We cannot search "AllowText" or AllowText\*

**or BlockDefinition.Blocks.PlanText.AllowTextObjec\***

**Any ideas?**


Answers:
author: JohnA
body: Hi there,

I'm not sure but it could be that the search index has become corrupted and this is why the search isn't working as expected, so to test this theory I would recommend you try following the instructions in this document to rebuld the index from scratch: [](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch)<https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>

You might also want to consider upgrading your instance to Confluence 5.2, where we introduced a new version of the search engine that is significantly imporved from the version that is bundled with Confluence 4.3, because this would also improve the search results significantly.

All the best,  
John


Tags: search
How to generate Dynamic URL link base on login user information
Asked by Michael Niu:

Hi All,

I have to generatate a dynamic url link on my wiki page. it will like :

use login user infomation to get the parameter of the url from another database and generate it.

for example :

login user is smith , the url will be :

<https://www.example.com/mypage.aspx>?user=smith \&\& pagenumber=33

login user is Don the url will be :

<https://www.example.com/mypage.aspx>?user=smith \&\& pagenumber=36

Any suggestion is appreciatged

Regards


Answers:
author: Davin Studer
body: Here is some rough code. You would need to wrap it in a html macro.

```
&lt;script type="text/javascript&gt;AJS.toInit(function(){    var user = AJS.Meta.get('remote-user');    AJS.$.ajax({        type: 'GET', //or POST        url: 'Your URL', //this should pass back the parameter based on the user submitted to it        processData: true,        data: {            u: user        },        dataType: 'json' //xml, json, script, or html        success:  function(data) {            var pagenumber = //Your logic to get the parameter here;            AJS.$('#container to hold the link').append('&lt;a href="https://www.example.com/mypage.aspx?user=' + user + '&amp;pagenumber=' + pagenumber  + '"&gt;Link Text&lt;/a&gt;');        },        error:  function(x, y, z) {            //Error handling code here.        },     });});&lt;/script&gt;
```


author: Michael Niu
body: Thank you very much!


author: Michael Niu
body: Davin,

Thanks for the response, can you provide any sample code about this.

Thanks again


author: Davin Studer
body: You have a couple options. One would be to write your own plugin. If you don't want to go that far then you would to enable the html macro so that you can embed some Javascript. You can get the user using this Javascript method.

AJS.Meta.get('remote-user');

Confluence has jQuery installed, so you could use AJS.$.Ajax(); to get the parameters from an outside web service. Then you would just assemble the link with those parts.
How can I delete images uploaded to a Zen brand?
Asked by Jonathan Simonoff:

I've been working on developing a brand in the Zen foundation brand designer. I've uploaded a number of images, and want to clean some out, but I don't see any way to delete images, only ways to add them.

BTW, this is somewhat critical because it seems like updating images doesn't work all that well. I have (several times) uploaded a new version of one image, which seems to work fine initially, but the old version keeps reappearing after a while. The only way to get a new image to "stick" is to upload it with a different name, and switch to using that image, leaving the other one as cruft in the image directory.


Answers:
author: Arne Schirmacher
body: Click on the "X" in the image thumbnail to delete it. If there is no "X" then the image is in use somewhere.


author: Jonathan Simonoff
body: I'm sorry, Patrice, but I don't see anything there about deleting images. I'm probably just being dense. Can you copy that answer to this page?


author: Patrice Rompas
body: Hi Jonathan,

I think you should be able to find the answer through [this thread](/questions/147785/how-to-change-confluence-zen-foundation-page-such-as-change-logo).

Regards,  
Samuel


Tags: confluence-administration
Blog Publishing
Asked by Bob Slauter:

What exactly does the "Publish" function do? Is it the same as "Save"? If I want to share a blog post with my company do I share the page as I would with any other Confluence document? Thanks.


Answers:
author: Mick Davidson
body: Bob,

Bascially it just publishes the page. If people are watching your blog then they will be notified automatically. So if you want people to read it, you should let them know it exists and get them to follow it themselves as you can't force them to do so.

This is in 4.3 download.

Cheers.

comments: author: Bob Slauter
body: Thanks, appreciate the clarification.


Tags: cloud

confluence-cloud
Confluence: How to place a table into a scrollable frame
Asked by David Mahoney:

I have a user who wants to surround a large table with a scrollable frame on a Confluence page. They've tried using the tag

\<div style="height: 100.0px; overflow-y: scroll;"\>

both via the Source Editor, and the HTML Macro, and neither provides the desired results. Source Editor actually refuses to save the edit. HTML Macro causes the table to lose formatting.

There's gotta be a way to do this, either natively or via an add on... Any suggestions?

Confluence 5.1.5


Answers:
author: Andrey Khaneev _StiltSoft_
body: [Table Filter](https://answers.atlassian.com/questions/299459/export-table-in-a-confluence-page-to-excel) has an [option](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-Fittingthetabletoscreenarea) that can solve your problem.
Edit in Office: issue with file names of MS Word attachments?
Asked by Birgit Birgit:

I am having an issue with Confluence, particularly with MS word file attachments and the 'Edit in Office' function.  

I can attach word docs to my Confluence space without any problems, and then subsequently open them via Confluence. But when it comes to wanting to use the Edit in Office function I get jav.lang.NullPointerException error messages. This is not a permissions issue, as I can edit, inspect properties and remove some documents on a page, but not others.

After a fair bit of experimenting, I think I may have found a possible reason - to do with the file name. It seems to be files with characters such as "\~", " ' ", "--" that do not work: interestingly, shorter dashes in filenames work OK, but longer dashes fail.I appear to be able to use the Edit in Office function for files that do not contain these characters.

Could you please advise whether my guess in realtion to file names for attachements is correct. Are there any other characters that can trigger errors if they appear as part of file names?


Answers:
author: Jonathan Simonoff
body: Are you by chance using a Mac? I've found the Edit in Office function in that case often fails, I believe because Mac WebDav (which Edit in Office uses) is screwed up.

comments: author: Birgit Birgit
body: Hi Jonathan, no I'm using a PC (Windows 7, Firefox).