youngmon/atlassian-qna huggingface dataset:
Thousands of undefined pages from prior use of camelcase option
Asked by Dave Drexler:

Hi folks - we used to use the old Confluence CamelCase option, but turned it off a couple of years ago. The CamelCase option created thousands of Undefined Pages in our instance, and those remained even after we turned off the feature.

Now we're upgrading from v3.5 to v5.5, and reviewing what's being brought across. I was surprised to see that the thousands of Undefined Pages are still there; I figured (hoped?) this would be something that was cleaned up in the migration scripts.

Has anyone else faced this issue? Any clever ways of cleaning up this mess?


Answers:
author: Ryan Goodwin
body: What type of upgrade have you tried? I'd be interested to see if it brought over the pages in an XML backup/restore upgrade path.

If yes, I'd be inclined to say they are going to stick around. The best option is probably going to be a manual solution...

comments: author: Dave Drexler
body: Hi - the upgrade is being handled for us by our hosting company (Contegix), so I'm not sure how to answer your question. I assume they're going through the best practices established for the jumps from v3 to v4 to v5.


author: Ryan Goodwin
body: I imagine they are doing in place upgrades then. There are likely a couple options to clean up the undefined pages - manually via database queries or manually via modifying an xml backup.

When you say "undefined pages" - can you elaborate? How are you identifying these pages? In the UI? or in the database? What constitutes a page being undefined?


author: Dave Drexler
body: I'm referring to all the pages shown in each space, via

\<wikiURL\>/pages/listundefinedpages.action?key=\<xyz\>

In the GUI space admin screens.


Tags: confluence-administration
Auto-expansion of Child pages in Navigation Panel
Asked by Dan Moran:

In Confluence 3.5.7, we used the Redirection macro on Parent pages so that when a Parent page was clicked in the Navigation Panel, a list of all its Child pages displayed in the Navigation panel. Since the Redirection macro is unavailable in OnDemand 5.5.2, which we will be upgrading to, is there a way to retain this auto-expansion feature?


Answers:
author: Dan Moran
body: Further research has led me to believe that auto-expansion is not possible.


author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: In version 5.5.2 there is a new sidebar menu by default. You can also customize this to suite your needs.

Check it out here: <https://confluence.atlassian.com/display/DOC/Configuring+a+Sidebar>

<br />

comments: author: Dan Moran
body: Thanks for responding, Stephen! We're using the Documentation theme, and I didn't see anything on the page you sent that led me to a solution. I'll dig a little deeper through and see if a solution is in fact there.


author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Can I see a a screen shot of what you are attempting to do? Perhaps I am not understanding the requirements.


author: Dan Moran
body: ![](../../upfiles/screen_shot_#1_1.png)![](../../upfiles/screen_shot_#2_1.png)

Hi Stephen,

In screen shot #1, I'm clicking General Information on our home page. In screen shot #2, the General Information page is displayed and all of its first-level child pages are listed in the navigation panel. (On the home page, I could have clicked General Information in the navigation panel to get the same result.)

The Page Redirection macro lets us do this. Clicking General Information accesses a hidden page that contains the Page Redirection macro, which directs the user to the General Information page. A "by-product" of this redirection is the automatic display of the child pages.


author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Screen shots didn't come through. =(


author: Dan Moran
body: I wassing the upload.desc icon in this Comment window. It let me browse for and upload files - supposedly. Now I'll try the old copy \& paste.

Screen Shot #1

Screen Shot #2


author: Dan Moran
body: It doesn't look like the copy \& paste worked - did you get them or do just see text like I see?


author: Dan Moran
body: Hi Stephen, were you able to see the copy \& paste screen shots?


Tags: cloud
Using a macro to insert Wiki Markup
Asked by Jonathan Lake:

Hi, as a newbie to Confluence user macros and to Wiki Markup, I am trying to create a user macro which would display a image based menu within the page.

I can do it manually for each menu item using an excellent user macro (which I didn't create) called image-rollover. The Wiki Markup is:

{image-rollover:https://address.domain.com/download/thumbnails/36112712/windy.png\|https://address.domain.com/download/thumbnails/36112712/windsock.png\|36113221\|_self}

What I would like to do is to maintain multiple lines like this, each using different images and containing a different pageid. Then allow editors to simply insert the macro to the top of a page.

My theory is that the menu in each page would be dynamically updated if the parent user macro was updated, but I haven't been successful in creating a user macro that works, even for a single menu item.

Here is the link to the image-rollover macro: <https://confluence.atlassian.com/display/DISC/Image+rollover>

Any help would be very much appreciated.

Thanks


Answers:
author: Jonathan Lake
body: I solved it, and here is what I did:

## Macro title: Information Security Menu

## Macro has a body: Y

## Developed by: Jon Lake

## Date created: 19/07/2014

## Installed by: Jon Lake

## @noparams

#set($globalHelper = $action.getHelper())

#set($renderedhtml = $globalHelper.renderConfluenceMacro("{image-rollover:https://mydomain.com/download/attachments/36112712/windsock.png\|https://mydomain.com/download/thumbnails/36112712/windy.png\|16450120\|_self}"))

$renderedhtml

#set($globalHelper = $action.getHelper())

#set($renderedhtml = $globalHelper.renderConfluenceMacro("{image-rollover:https://mydomain.com/download/thumbnails/36112712/x.png\|https://mydomain.com/download/thumbnails/36112712/zoomin.png\|16450120\|_self}"))

$renderedhtml

#set($globalHelper = $action.getHelper())

#set($renderedhtml = $globalHelper.renderConfluenceMacro("{image-rollover:https://mydomain.com/download/thumbnails/36112712/weather.png\|https://mydomain.com/download/thumbnails/36112712/upload.png\|16450120\|_self}"))

$renderedhtml
HTML code for a page used to be viewable/editable in 4.2
Asked by Paul DeSousa:

In the old version of Confluence (4.2.13), you could open the HTML code for a page in draft mode to fix formatting issues and further customize the page. This option does not seem to be available in 5.5. Was that feature removed?


Answers:
author: Wayne Wong
body: Hi Robert,

By default, the HTML macros are disabled. You should only turn on these macros if you trust all your users not to attempt to exploit them.

You can refer to the documentation here

[](https://confluence.atlassian.com/display/CONF50/Enabling+the+html-include+Macro)<https://confluence.atlassian.com/display/CONF50/Enabling+the+html-include+Macro>

To enable it back.

Thank you.

Do let me know if you need further assistance :)

Regards,

<br />

Wayne Wong

comments: author: Paul DeSousa
body: Correct, I did turn on the html macros back on that is not what I am referring to. To the top right of the screen in version 4.2 there was an option to edit the page in html and that is no longer there. If there were any glitches in confluence we could go in and directly manipulate the html for the page. How do you do that in 5.5? Now we can add an HTML section that displays direct html, but how can I show the entire page in html?


author: Paul DeSousa
body: Looks like I can do this just by inspect element. Thanks!
Confluence and Jira are very slow (on-demand)
Asked by Joep Gommers:

Hi There,

We've been using the on-demand version of confluence and jira now for a couple of weeks and the response and overall usability is terribly slow... We operate a small business in The Netherlands.

It has now become a pain in the ... and folks are complaining regularly... :(

Hope there is a reason and it will be solved soon...


Answers:
author: BillA
body: This discussion in currently happening on this thread <https://answers.atlassian.com/questions/143420/ondemand-products-are-very-slow>


author: RPT Admin
body: Currently down in UK. My.atlassian is down too so can't log a support request - but I'm sure they're aware.

EDIT: Now working noramlly again.


Tags: cloud

confluence-cloud
Apply a customized HTML Editor to a Specific Template and/or a Specific Space
Asked by gael vigouroux:

Dear all,

I am looking for a way to apply a customized HTML Editor to a specific Template and/or Space.

I already created a specific template and would like a customized HTML editor to be assigned to this specific template (if not possible, maybe on the entire template). I mean by customized, to add a dropdown menu containing styles already defined for a word/sentence and remove some button that we are not using. By this way I want to strictly control the style of the our documents.

Thank you in advance for your response.

Best regards.

Ga?l


Answers:
author: Wayne Wong
body: Hi there,

**To edit a decorator file**:

1. Go to the space and choose **Space tools** \> **Look and Feel** on the sidebar.
2. Choose **Layout** (**Layout**is displayed only if you are a Confluence system administrator.)
3. You will see a list of the layouts for the space.  
   * Click **View Default** to view the vmd file.
   * Click **Create Custom** to edit the default vmd file. This will open up the vmd file in edit mode.   
     Make changes and click **Update**.

If your space uses the Documentation theme:

1. Choose**Browse** \>**Space Admin** at the top of the screen.  
   *Note:* The 'Space Admin' option appears only if you are a space administrator for the space or you are a super user (a member of the `confluence-administrators`group).
2. Choose**Layout** in the left-hand panel (**Layout**is displayed only if you are a Confluence system administrator.)
3. You will see a list of the layouts for the space.  
   * Click **View Default** to view the vmd file.
   * Click **Create Custom** to edit the default vmd file. This will open up the vmd file in edit mode.   
     Make changes and click **Update**

**[](https://confluence.atlassian.com/display/DOC/Customising+Space+Layouts)<https://confluence.atlassian.com/display/DOC/Customising+Space+Layouts>**

### Editing Custom Decorators {#toc-hId-1449976288}

To edit Confluence decorators you will need a good knowledge of [HTML](http://www.w3.org/MarkUp/), and some understanding of the [Velocity templating language](http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html).

To edit a decorator:

1. Go to **Confluence Admin** \> **Layouts**.
2. Choose **Create Custom** beside the decorator you wish to edit.
3. Save your changes.

If you make a mistake or want to undo your changes, choose **Reset Default** beside the edited decorator.

Alternatively, the custom templates are stored in the DECORATOR table in the database. If you have somehow managed to render Confluence completely unuseable through editing your templates, delete the relevant entries from the DECORATOR table.

[](https://confluence.atlassian.com/display/DOC/Custom+Decorator+Templates)<https://confluence.atlassian.com/display/DOC/Custom+Decorator+Templates>

Hope these help :)

Regards,

<br />

Wayne Wong


Tags: confluence-administration
How can I Track or Find the @Mentions I send out?
Asked by Mick Davidson:

Given that once you've sent an @mention you've said goodbye to it, is there any workaround for finding the ones you send out so that you can follow up on them?

Cheers.


Answers:
author: Tiago Comasseto
body: Hi Mick, one thing that may help with the future occurences is assign [tasks](https://confluence.atlassian.com/display/CONF55/Working+with+Tasks)along with the @mention, so that you can keep track of it with the [task macro report](https://confluence.atlassian.com/display/DOCM/Task+Report+Macro).

I hope it helps

Cheers

comments: author: Mick Davidson
body: Tiago,

Thank you, that's a good idea, though I'm slightly reluctant to turn a question into what the recipient would see as me giving them a job to do. :)

Cheers.


Tags: mention
Hide assignee in personal Tasks list
Asked by Sebastian Wolter:

Wouldn't it be a good idea, if the assignee of a tasks is hidden in the Confluence personal Tasks list, where it is yourself by nature?  
Users normally put the @assignee at the beginning of a task, what makes it harder to go through your tasks in the personal Tasks list.

The mobile view is worst. When I open my tasks on the iPhone I only see my name dozens of time but no description of the task itself, since the display ends when the description starts.


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Melino, that is a good suggestion, it can be filed as an improvement request through our issue tracker at [](http://jira.atlassian.com)<http://jira.atlassian.com>as a Improvement Request, in that way it can be [reviewed](https://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy) to become something delivered in upcoming releases.

Hope this helps.
pdf as slide
Asked by Uththira pandi:

Hi,

How to insert the pdf as slides?

(for example, I have 10 pdf files need to be insert in a page,after inserting those files its will appear one by one,but i want to see those pdf as slide by slide)

pdf macro appears the arrow marks both next and previous,how to insert more than one pdf on the single pdf macro.


Answers:
author: Ale? La?ar
body: Hi, I think easier will be use some Merge PDF Tool, for example this one : <http://www.pdfmerge.com/>


author: Uththira pandi
body: Its work,Which i want?

comments: author: Ale? La?ar
body: hmmm :) What do you mean that which i want? :)

It is one of solutions. You have to write your own macro if you want to insert more PDF to one viewer. But this is fastest :) Just merge all PDF together and then insert it as one :)
Can I access search queries from my users
Asked by Bob Kennedy:

I want to understand what my users are searching for so that I can use better labels and adjust my content to make it easier to find


Answers:
author: Bob Kennedy
body: Is this for Confluence or Jira? Can I run this query for Confluence db?


author: Marcus Silveira
body: You can try taking a look at the userhistoryitem table in your database to see the JQL queries ran by your users

```
select * from userhistoryitem where entitytype = 'JQLQuery'
```

Hope this helps
Change Text For Follow User Email
Asked by Davin Studer:

Does anybody know a way to change the email text that is generated when someone follows another user? I've look around to see if I can find a .vm file or something like that that has an emaqil template but I am having no luck. I want to put in some explantion in the email to let user know what it means that someone is "following" them.


Answers:
author: Davin Studer
body: I figured it out. I just had to change the text for the i18n entry in our current language pack for the confluence.mail.is.following.users key.


Tags: confluence-administration
inserting the page version number into a column of a table
Asked by Ramon Padilla:

We are using Confluence to capture requirements and one of the things we want to be able to do is insert the page version number into a column of a table in the same way we might insert a JIRA issue.

I'm aware of the change history macro but that gives me too much info.

Is it possible?


Answers:
author: Lionel CONFORTO
body: Hi, there's the free Page Information Plugin from Adaptavist {page-info}. You can use it with the option "current-version". See <http://www.adaptavist.com/doco/display/PIP/Page+Information+Documentation>

comments: author: Ramon Padilla
body: Hi Lionel,

Thanks for the quick reply.

Perhaps I'm missing something obvious but how to I install this plug-in? It doesn't appear in the search results from Marketplace add-ons.


author: vladkras
body: free plugin which requires non-free Script Runner Plugin to work


author: Lionel CONFORTO
body: <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.pageinfo>

comments: author: Ramon Padilla
body: Thanks Lionel.


Tags: macro
Images not appearing in Word imports
Asked by Tim Penner:

I've got some word documents coming from a weird source. They originate in Framemaker. Framemaker does a much better job exporting to html than rtf, so I pickup the html and doctor it a bit to remove junk that Framemaker produces. Then I open the html in Word, save it as Word files and then do the confluence import. Problem is, the images get lost. They're there in word, from the html, but confluence doesn't pick them up.

Does anybody know what might be happening here? It's really a bummer to have to figure out which images from the original framemaker belong where in confluence.


Answers:
author: Tim Penner
body: I love a good mystery, but there have been a couple too many lately. I'll let this one go as such. I'm importing into a single page without splitting and the bug is about document splitting. I suspect there's something in the way that Word transforms html that confuses the importer. Of course, Microsoft developers wouldn't know this was happening if images were perfectly visible in Word. I have tried importing from a slightly different direction, and I don't lose the images but, worse, I lose all structure.


author: Tim Penner
body: I love a good mystery, but there have been a couple too many lately. I'll let this one go as such. I suspect there's something in the way that Word transforms html that confuses the importer. Of course, Microsoft developers wouldn't know this was happening if images were perfectly visible in Word. I have tried importing from a slightly different direction, but, worse than losing images, I lose all structure.


author: Guilherme Nedel [Atlassian]
body: Hello Tim, turns out we have a reported bug for images not getting to the application when using the Word Import, it is documented in [CONF-21852](https://jira.atlassian.com/browse/CONF-21852). You may like to add yourself as a watcher and describe your usage scenario as well.

Hope this helps.

comments: author: Tim Penner
body: Thanks, Guilherme, for bringing pointing this out. It turns out that this bug is about problems with word documents that are being split and (I didn't mention this but) I'm importing as a single document.


Tags: image

import
confluence updates scramble formatting
Asked by Jeremy Grand:

Every time we update confluence, the articles lose all their formatting. We've largely stopped using confluence because of this -- it's useless. So what are we doing wrong and how do we prevent this?


Answers:
author: Nic Brough -Adaptavist-
body: Sounds like you've a plugin or customisation that isn't able to handle upgrades properly.

I think you need to identify what you've got that scrambles it (I've done three confluence updates recently and there's definitely no loss of formatting, except where I've used theming plugins and messed up the upgrade totally)

Start with a look at the user-installed plugins - what, exactly, have you got in there?


author: Jeremy Grand
body: Yes, in fact I was reminded that we resolved this problem by removing the plugin quite awhile ago. But not all the articles have been corrected yet, which mislead me to think it was still an issue.
Is it possible (in confluence) to craft the url for iframe or dynamic to use?
Asked by john:

for example, I want to include the results from a internal search engine where the seach is for the page title. I see some references to the page title as a session varable but I have no idea how to get it appended to the end of the URL so that the page renders the results in a iframe


Answers:
author: Stephen Deutsch
body: Hi John,

Here is a user macro that should do what you need (according to your example):

```
## @noparams&lt;ac:macro ac:name="iframe"&gt;  &lt;ac:parameter ac:name="title"&gt;Wikipedia Page&lt;/ac:parameter&gt;  &lt;ac:parameter ac:name="height"&gt;500&lt;/ac:parameter&gt;  &lt;ac:parameter ac:name="width"&gt;100%&lt;/ac:parameter&gt;  &lt;ac:parameter ac:name="src"&gt;http://en.wikipedia.org/wiki/$content.getTitle()&lt;/ac:parameter&gt;  &lt;ac:rich-text-body&gt;    &lt;p&gt; &lt;/p&gt;  &lt;/ac:rich-text-body&gt;&lt;/ac:macro&gt;
```

You should just be able to mix and match as you need.

comments: author: john
body: This did work and on the site I have to use, I have to get an admin to write it. so I sure wish it was more like parsing works in mediawiki. But this does the answer. Thanks,


author: john
body: First thanks for relpying on this. The content would be in a confluence page here is an example XML fragment :

\<ac:macro ac:name="iframe"\>

\<ac:parameter ac:name="title"\>Wikipedia Page\</ac:parameter\>

\<ac:parameter ac:name="height"\>500\</ac:parameter\>

\<ac:parameter ac:name="width"\>1000\</ac:parameter\>

\<ac:parameter ac:name="src"\>http://en.wikipedia.org/wiki/Helium\</ac:parameter\>

\<ac:rich-text-body\>

\<p\> \</p\>

\</ac:rich-text-body\>

\</ac:macro\>

but I want the page name to be used instead of Helium.

thanks again for thinking about this


author: Nic Brough -Adaptavist-
body: Which Atlassian product are you working in here?

comments: author: Nic Brough -Adaptavist-
body: Ok, so is this about inserting an iframe into a confluence page and pulling data from another system, or inserting confluence into an iframe in another app?


author: john
body: Confluence


author: john
body: First thanks for relpying on this. The content would be in a confluence page here is an example XML fragment :

\<ac:macro ac:name="iframe"\>

\<ac:parameter ac:name="title"\>Wikipedia Page\</ac:parameter\>

\<ac:parameter ac:name="height"\>500\</ac:parameter\>

\<ac:parameter ac:name="width"\>1000\</ac:parameter\>

\<ac:parameter ac:name="src"\>http://en.wikipedia.org/wiki/Helium\</ac:parameter\>

\<ac:rich-text-body\>

\<p\> \</p\>

\</ac:rich-text-body\>

\</ac:macro\>

but I want the currnent page name value to be used instead of hardcoded word : Helium.

thanks again for thinking about this


Tags: iframe

page-title

parse

string
Confluence Active Directory - Members of specific Group
Asked by Bjoern Runge:

Dear Forum,

i added a group "confluence-users" to my AD (OU=Users) and want to add users to the group that get access to Confulence.

"confluence-users" group is located in:  
DN: CN=confluence-users,CN=Users,DC=Paniceus,DC=de (Apache Directory Studio)

the user, that should authenticate is located:

DN: CN=confluence-users,CN=Users,DC=Paniceus,DC=de (Apache Directory Studio)

Base DN:

ou=Organisatorisch,dc=Paniceus,dc=de

User Object Filter:

(\&(objectCategory=Person)(sAMAccountName=\*)(memberOf=CN=confluence-users,OU=Users,DC=Paniceus,DC=de))

Quick test works but furhter testing tells me that the user b.runge could not be found....what am I doing wrong?

Tried many diffrent configurations but none of them did work.

Any help appreciated!

Kind regards!

Bjoern


Answers:
author: Bjoern Runge
body: Hi Tiago,

yeah - that was my first idea. But it tells me that the user does not exist too.

Other ideas?

Best regards!


author: Tiago Comasseto
body: Hi Bjoern, judging by the location of your LDAP users and groups, it seems that your Base DN should be just *dc=Paniceus,dc=de* , instead of *ou=Organisatorisch,dc=Paniceus,dc=de*

Have you tried this configuration?

I hope it helps.

Cheers

comments: author: Bjoern Runge
body: Hi Tiago,

yeah - that was my first idea. But it tells me that the user does not exist too.

Other ideas?

Best regards!


author: Bjoern Runge
body: Hi there,

any other ideas?