youngmon/atlassian-qna huggingface dataset:
Forms and Confluence 4.2
Asked by Bill_Campbell:

Hello - I need to create forms within the confluence. I started with the scaffolding plugin, which was great until 4.0 came out and it no longer works in a way I find is adequate. I

I can create templates, but want people to be able to fill in forms such as a customer profile sheet, derived from the template. I can't find a clean method on how to do this. Any idea?

Anyone creating forms that are user friendly where they can just input fields?


Answers:
author: Alex Medved _ConfiForms_
body: Old question, but would like to mention that in 2015 there is an option to do this easily and fully integrated into Confluence, check out [ConfiForms](https://marketplace.atlassian.com/plugins/com.vertuna.confluence.plugins.confiforms) plugin for Confluence to create data entry forms and workflows (works on 5.1-5.8.x), but if needed could be run on Confluence 4.3+


author: Amalia
body: Try this: <http://blogs.atlassian.com/2009/05/confluence_wufo/>

comments: author: Bill_Campbell
body: Thank you - the concept of wufo is nice, but its not really integrated into confluence. I need the data to be in the WIKI not stored offsite. Neat product though.


author: Colin Goudie
body: Maybe check out freevo forms.

You could also just embed Wufoo forms if that works for you.

comments: author: Bill_Campbell
body: Thanks - Freevo looks like the cat's meow, but it also has a $40,000 price tag (from what I could determine). Far too expensive for me to implement.
Search macro in confluence
Asked by Avinash:

I use a simple search macro in my page. It works fine but when it populates the result it automatically displays the wiki markup lines under each search items found. Is there a way to eliminate this? limiting it to only relevant text and not the markup.

Thanks!


Answers:
author: Rodrigo Girardi Adami
body: Hi Avinash,

I believe there is no way from inside Confluence to accomplish that. I could only find these specifications for the Search Macro: <https://confluence.atlassian.com/display/CONF34/Search+Macro>

The only configurations that you can do is to limit some other settings like the space you want to search about, the number of search results you want to appear, but I couldn't find how to change the way the result is shown.

You may have to create a user macro for searching in Confluence: <https://confluence.atlassian.com/display/DOC/Writing+User+Macros>

I'll keep this question open for other users so if someone has any other idea they could help you :)

Cheers,

Rodrigo


Tags: macro

markup

search

wiki
Navigation/Page tree disappears when space home page is changed
Asked by jprateragg:

I'm using Confluence 4.2.8 on Server 2008. I'm using the Documentation theme for a space. I've disabled the Page Tree, but re-enabled it in the Navigation configuration using the pagetree macro ({pagetree:startDepth=2\|searchBox=true}).

When I change the home page of the space to point to a specific page, the navigation tree is no longer displayed. When I change the home page back to the original home page, the navigation tree reappears. Is this a bug?


Answers:
author: SarahA
body: Hallo jprateragg

To fix the problem, add the "Root Page" parameter to your Page Tree macro. In wiki markup, it's:

{pagetree:root=My page name\|startDepth=2\|searchBox=true}

Instead of "My page name", use the name of the page that was originally your space home page.

By default, the Page Tree macro uses the home page of the space as its starting point. If you change the home page, and that new home page has no children, then the navigation panel will be empty.

I hope this works for you. :)

Cheers,

Sarah

comments: author: jprateragg
body: That fixed it. Thanks so much!


author: SarahA
body: Great! No worries :)


author: Amalia
body: I can't reproduce it on Confluence 4.2.8. Try to enable the safe mode and see if this issue persists.

comments: author: jprateragg
body: Just enabled safe mode and the issue persists.

EDIT: the search box is there--the navigation tree is missing.


Tags: navigation

page-tree
How to backup Confluence to NAS
Asked by jprateragg:

I'm using Confluence 4.2.8 on Server 2008. Is it possible to backup Confluence to a NAS device? Thanks!


Answers:
author: Colin Goudie
body: Backing up Confluence is basically backing up the database and backing up the Confluence home directory. There is nothing inbuilt to backup to a separate location (that is recommended) but any manual script or backup software should be able to do this for you.

The fact it is a NAS is irelevant really.

If the install is not too large you could use the auto backup and set the destination directory to a mapped drive which is on the NAS.

See

<https://confluence.atlassian.com/display/DOC/Configuring+Backups>


Tags: backup

nas
Is it possible to use inline CSS in confluence?
Asked by Avinash:

Hi,

I am trying to change the look and feel of very few elements in a page. I don't want to go through the process of using CSS as a file and make changes to my page. Is there a way i can do it inline ie code CSS along with wiki markup ?

Thanks


Answers:
author: Avinash
body: I just found it. You can add CSS styles to confluence content this way:

{style} h2 {font-size: 15px; color:#006600;} {style}

But, Any styles you define within the content of a Confluence page come after Confluence's master style sheets - so any property that has already been defined by your space's theme can't be redefined. Digging around with the Web Developer Firefox Add-ons can help you figure out what's already been defined, and what can be styled.

comments: author: Swapna Gupta
body: Thanks, this is a cool trick.


author: Amalia
body: You can actually use HTML macro to achieve that. You can change the CSS styles for all contents by adding *!important*on the styles

E.g.

```
h2 {
```

```
font-size: 15px !important;
```

```
color:#006600 !important;
```

```
}
```

comments: author: Avinash
body: You mean to say u can wrap this code around {html} and it'll work? But the problem is {html} is restricted due to security reasons and i dont have admin privilages :( But,Thanks!


author: Avinash
body: Is there a way to do it without using the html macro?


author: Rachel Dunlop
body: Can you do this in all versions? I'm running 3.3.1 and all I get is "Unknown macro" :(

comments: author: Avinash
body: I am not sure about that as im using 3.5


Tags: css

inline
Confluence PDF Export table's cell size
Asked by Rapha?l SANGNIER:

Hi,

When exporting a confluence page to PDF, tables cells do not keep their original size so all cells have same size (seems that size is 100% page size divided by number of cells). This is generating long unreadable tables.

Is there any way to handle that through stylesheets ? If yes any suggestion would be appreciated.


Answers:
author: Giuliano C.
body: Try this CSS through the custom PDF Stylesheets:

table

```
{   table-layout:auto !important;   width: auto !important;}
```

```
 
```

```
Hope this workaround helps!
```


author: hsuhailah
body: I'm afraid you are hitting this bug: <https://jira.atlassian.com/browse/CONF-25567>. The bug exists in PDF Export Plugin 2.5.4. Currently there's no available workaround but hopefully the bug will be fixed in the future release.


author: MS
body: Thank you for the helpful question and answer about PDF formatting!


Tags: confluence-cloud

cloud

pdf
Group Time Sheet Gadget is mysteriously blank
Asked by Maya S Chase:

We have a couple of Confluence pages that use the Group Time Sheet gadget to display data from JIRA's Timesheet plugin, and although they were working yesterday, today they are blank. Utterly, completely blank - you can't tell the gadget is there unless you edit the page. When you first go to the page, there's a briefly displayed loading bar, so it seems to be looking for information, but then it goes blank.

I've tried putting the gadget on different pages in different spaces, so it's not the space it's in. Other gadgets are working. This is the text of the gadget in the rich text editor. We're still on Confluence 3.5.13 and JIRA 4.4.5.  
{gadget:url=http://jira.amc.faa.gov/rest/gadgets/1.0/g/jira-timesheet-plugin:group-timesheet-gadget/group-timesheet-gadget.xml\\\|width=100%\\\|border=false}

```
num_weeks=2&reporting_day=2&group=jpams-team&project=project-11413&isConfigured=true
```

{gadget}

Anyone else have this problem? What did you do to fix it?

Thanks!


Answers:
author: Maya S Chase
body: It turned out that some system maintenance had been done that affected this, and made the base URL no longer trusted. Once that was fixed, it worked again. In case anyone was wondering. :)


author: Maya S Chase
body: See above...


Tags: jira

tempo-timesheets
How to use include page macro???
Asked by ashan:

Hi,

I went through the <https://confluence.atlassian.com/display/CONF30/Include+Page+Macro> page. I follewed the steps in

Usage with the Macro Browser {#toc-hId-1676193468}
--------------------------------------------------

section. It works fine.

I'm using cnfluence 4.2.2.

how can I use **`{include:DS:Confluence Overview} `** `code. Where should I put it??`

I put it in page body {include:AAATestTxtFile:Adding Modules}. It doesn't work.

How can I use this Code???


Answers:
author: hsuhailah
body: In 4.x, you can just type {include and you will get macro suggestion. Click on 'Include Page' and a window will be prompted. Fill in the 'Page to Include \*' section and click 'Insert' button. That should work. Otherwise, you can click on 'Insert' button \> Other macros \> Search for 'Include Page' \> Click on it and type in the page.


author: Christian Czaia _Decadis AG_
body: Hi,

are you sure that "AAATestTxtFile" is your Space Key?

Cheers Christian
Display the page version
Asked by Ren? Steg:

I would like to diplay the page version in a Confluence page. I know I can include the change history via macro, but that results over time in a very long list. And I am actually interested in the version and maybe the author of the change only. I don't really need the entire change log.


Answers:
author: Amalia
body: If you want to display the change version (and the author) in all pages of Confluence, you can do that by modifying the layout (**Confluence Admin \> Layouts** ). Click "Create Custom" for **Page Layout.**Depending on where you want to put this information in the page, you can add

```
$confPage.version
```

to display the page version, and

```
$confPage.lastModifierName
```

to display the author

Just ensure that you use these variables after the line:

```
#set ($confPage = $helper.page)
```

comments: author: Ren? Steg
body: Thanks, that seems exactly what I am looking for. However, Confluence asks me to deactivate the design first and I can't see where I have to do that in the administration.


author: Amalia
body: You can do it in Confluence Admin and click "Layouts". Can you find it?


author: Ren? Steg
body: Yes I found layouts, but then the following message appears :

Sie k?nnen die Site-Gestaltung nicht anpassen, w?hrend ein Design aktiv ist. Sie m?ssen zuerst das derzeit konfigurierte Design deaktivieren.

<br />


author: Amalia
body: This seems to apply only for the Default Theme. Are you using Documentation Theme as the default Confluence theme? Then you have to edit the Velocity template file in the jar file instead. Go to *\<confluence-install\>/confluence/WEB-INF/classes/com/atlassian/confluence/setup* and open *atlassian-bundled-plugins.zip* . Locate and open *doctheme-x.x.x.jar* file. The template file for the page is in *page.vmd* which resides in *doctheme/decorators* folder.


author: jako mercurio
body: is there a macro that can be added for a specific page?

for example content.pageversion?


author: Alejandro Conde Carrillo
body: Which Version of Conlfuence are you using? Are yo uusing any customization?

Confluence by default shows this text under the tittle of the page:

*Added by [User Name](https://alex01/confluence/display/%7Ealex ""), last edited by [User Name](https://alex01/confluence/display/%7Ealex "") on Jul 24, 2012 ([view change](https://alex01/confluence/pages/diffpages.action?pageId=11371130&originalId=11371131))*

<br />

Isn't that information enough? You get the user name and the date of the last change (much more meaningful than a versioin number).

comments: author: Ren? Steg
body: We are using Confluence 4.2. And no, that information is not enough, as it is not included in PDFs and the very same page could be edited within a day more than once. As we also provide certain documentation to our customers, such as requirement spec, those pages need version numbers and the author of that last change.


Tags: version
All Updates on the Dashboard not updating...
Asked by Warren Welch:

Hey,

Our Confluence, (4.2.8), isn't updating the "All Updates" tab on the dashboard. The "Popular" tab is being updated, but not the "All Updates".

Any ideas on this?

I've rebuilt the indexes, but that didn't help.


Answers:
author: hsuhailah
body: You can try to [rebuild the content indices from scratch](http://confluence.atlassian.com/display/DOC/Rebuild+the+Content+Indices+from+scratch).

If that did not fix the issue, you might be encountering this issue: <https://confluence.atlassian.com/display/CONFKB/com.atlassian.bonnie.LuceneException+Couldn%27t+open+writer+on+directory>. To confirm on this, you may open up \<confluence-home\>/logs/atlassian-confluence.log and look up for the keyword 'write.lock'. If it can be found, check out the path that was stated along with the error message. The path should be telling you where write.lock file is located. You can directly go to the stated path and delete write.lock file and the issue should have been resolved.

If that is still not the case, you can temporarily enable [Plugin Safe](http://confluence.atlassian.com/display/CONF40/Disabling+or+Enabling+a+Plugin#DisablingorEnablingaPlugin-DisablingEnablingallUserInstalledPluginsSafeMode)[Mode](http://confluence.atlassian.com/display/CONF40/Disabling+or+Enabling+a+Plugin#DisablingorEnablingaPlugin-DisablingEnablingallUserInstalledPluginsSafeMode) and see if it would make any difference. This will disable all user-installed plugins at once. So if the issue does not occur again, it is caused by one of the third-party plugins installed. In order to isolate which plugin is the culprit, you may need to enable the plugin one-by-one till you observed the issue arise again.

<br />

comments: author: Warren Welch
body: Brilliant, thanks for that Hanis... The rebuild I had already tried, and didn't work. Checked for the write.lock file, and sure enough it existed (from several days ago), so I deleted it, and then rebuilt the indices again, and that seems to have fixed it's issue.

<br />

Thanks for that.


author: vivuu
body: Getting same issue after migrating from windows to linux along with upgrade (5.10.0 to 6.2.3)

Dashboard is not loading and showing error as something is wrong.

Also the title options are not loading (eg: spaces, drop arrow is not loading )

Regards

Vivek

comments: author: Nic Brough -Adaptavist-
body: This is a five year old thread, it's not likely to offer you a lot of help with a much later version.

But, the advice from Septa still holds. Have a look at your logs.


author: Septa Cahyadiputra
body: As mentioned by Hanis, we would need to get a better idea of your issue by gettin some stack trace from your *atlassian-confluence.log.*
Installing confluence 4.2.8
Asked by divya chennuru:

while I am installing 4.2.8, the server started but after installing license I am not able to start using confluence. How to solve this?


Answers:
author: divya chennuru
body: It is resolved


author: Nic Brough -Adaptavist-
body: What do you get when you try to use confluence? What is the url you end up on? What's the error message? What does your log file say?

comments: author: divya chennuru
body: When I am using confluence,Log In page is refreshing and staying in the same URL.
Problem with multi-exceprt plugin after upgrade to Confluence 4.2.11
Asked by Dawie Malan:

We're seeing the following error after the upgrade:

com.atlassian.upm.license.internal.impl.PluginLicenseManagerImpl cannot be cast to com.atlassian.upm.api.license.PluginLicenseManager

All plugins were updated, and Confluence restarted with no effect.


Answers:
author: Dawie Malan
body: The issue was resolved by manually upgrading the UPM to the latest version (downloaded and copied to bundled_plugins).

Thanks for the help guys!

comments: author: Brendan Patterson
body: Great news! Thanks for letting us know.

Best regards,

Brendan


author: Brendan Patterson
body: Hi,

What version of the multi-excerpt plugin are you using?

Also what version of the UPM are you using? I'd follow John's suggestion to upgrade to the latest UPM to see if that helps.

We could also try using the .obr file (an alternative to the jar plugin installation) if the UPM upgrade doesn't work.

thanks,

Brendan

comments: author: Dawie Malan
body: Here are the versions:

Multi-excerpt plugin: 4.1.7

UPM: 1.5.2 (as reported on screen, but the version of the jar in bundled-plugins is 2.0.6)

All plugins are reported to be up to date.


author: JohnA
body: Hi Dawie,

It sounds like you may have either encountered a new bug with the Confluence Multi-Excerpt plugin, or you are encountering a bug with the Universal Plugin Manager as described in this bug report: <https://ecosystem.atlassian.net/browse/UPM-1758>

Therefore, firstly I would suggest upgrading your UPM to [the latest version](https://marketplace.atlassian.com/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin) and if that doesn't resolve your issue then I would suggest you open a new bug report with the plugin's developers. Their issue tracker can be found here:https://studio.plugins.atlassian.com/secure/IssueNavigator.jspa?sorter/field=created\&sorter/order=DESC

All the best,  
John


Tags: multi-excerpt-macro
How to migrate Confluence from one Active Directory to another?
Asked by Chris_Walker:

Hello,

I have an existing Confluence installation which is tied into our old Active Directory (AD). Company staff log into Confluence using their AD account. Other users are created using the Confluence internal directory (clients, suppliers, etc) and they authenticate against that.

I have a new AD at our new premises (a whole new network), with Company staff created within it. Their AD usernames are the same across both ADs, and we have a new Confluence installation tied into that new AD (this time using Crowd).

I need to migrate the spaces from the old Confluence to the new (which seems to be an established process). However in doing so, when a user logs into the new Confluence, will the relationship between content author and content be maintained?

Is there also a way of migrating the internal directory users from our old Confluence to our new, or do I have to re-create them all from scratch and re-issue passwords etc?

Many thanks

Chris


Answers:
author: Sorin Sbarnea (Citrix)
body: After having experience doing this migration many times on 4 jira/confluence instances, I would say that the easies method is to do it at database level:

Look inside cwd_directory and cwd_directory_attribute and swap the config while the jira/conf is down.

Remember to backup first!

comments: author: Daniel Serodio
body: These LDAP configurations are read only on Confluence startup?


author: Colin Goudie
body: Generally if the username is exacty the same then the association will be correct. If the groups are different in the two ADs then you may have to correct imported spaces permissions etc..

Of course, test this first :) But generally I have had few issues if the usernames are the same.


Tags: active-directory

group

migration

user
wiki markup plugin is available with 4.0 and 4.2
Asked by tousifs:

Hi all,

wiki markup plugin is available with 4.0 and 4.2.

i have the confluence 4.2 instance where its showing in system plugins.

wiki-markup-plugin 1.0 as the updated one is 1.1 and its not showing enabled or disabled or uninstalled option how i can update wiki-markup-plugin 1.0 to 1.1

please let me know

thanks,

Tousif shaikh.


Answers:
author: Joe Clark
body: Do you mean the [Confluence Wiki plugin](https://marketplace.atlassian.com/plugins/org.swift.confluence.wiki)? It is only listed on [marketplace.atlassian.com](http://marketplace.atlassian.com) with a single version - 1.0.0. What is the version 1.1 you are talking about?


author: V
body: Do you have UPM (Universal Plugin Manager) installed ?

If so, Click on Upgrade tab which shows list of plugins you can update. If this is not working

Click Manage Existing tab, search for the required plugin and disable it but not uninstall.

Click on Install tab and try to install the reqired plugin version. Once the latest plugin version installed successfully you can now uninstall the old version.
removing licensed users?
Asked by margol:

I have a user which I no longer need to be able to access Confluence. My confluence instance is set to authenticate from JIRA, allowing basic edit permissions (and confluence access global permission) to members of the group confluence-users.

However, if I remove the user in question from confluence-users, he remains in the license count once he's created a single page/post/anything.

I vaguely recall running into this issue in a previous job, and at the time my understanding was that once a user had created any content, it was impossible to remove the user from the license count, but I was hoping that it had been addressed by now.

Is it possible to remove users from my confluence license so that they can no longer access the instance, without removing all data that the user ever created?


Answers:
author: Chris_Walker
body: Don't you just remove the user concerned from the confluence-users group and they stop counting against your license limit?


author: V
body: You can deactivate the user by removing him from all the groups. Deactivating the user is recommended than deleting user and he is no more counted into uesr license.
Test permissions as another User
Asked by jaxxa90:

Hi I am a space administrator (fairly new) in a Confluence installation at work.

Is there a way for me to test how the space would appear to another user with different permissions?

I am working on page permissions and wondering, is there a way to check what it will looks like to another user as to check that I have set the permissions right.

Obviously I could try and get a test user created or get someone else's to test it, but I would really rather not bother my co-workers or the Administrators of the full confluence installation.

Jaxxa


Answers:
author: Vishnukumar Vasudevan
body: Please try this : <https://marketplace.atlassian.com/plugins/com.javahollic.confluence.confluencesu>

comments: author: jaxxa90
body: Thanks, that looks to be what I was looking for. If the administrators will allow it to be installed or not is another matter. But atleast I know that the functionality exists.


author: Vishnukumar Vasudevan
body: Great that you found it's useful.