youngmon/atlassian-qna huggingface dataset:
Export images in Diagramly diagrams to PDF
Asked by Heather Dull:

I want to be able to export diagrams on a confluence page to PDF. These diagrams were built using Diagramly and include embedded images.

Right now the images don't export.


Answers:
author: David Benson _draw_io_
body: As a workaround while we look into solutions, you can now drag and drop images from your filesystem into the diagram and they will export to both image and PDF format correctly. So if you save your image and re-insert it into the diagram this way, you'll get your PDF on export.

You do version 3.0.0 for this.

comments: author: Heather Dull
body: Thanks for this tip but this isn't a good work around for us. We want to be able use the same images in multiple places and only have to update one image source. The method you suggest would require us to update every image in every instance that we use it.


author: David Benson _draw_io_
body: Sure. An [issue has been created on our JIRA](https://drawio.atlassian.net/browse/DFC-2), also.


author: Will
body: Ok, thanks. Can you post again here when you have a fix?

comments: author: David Benson _draw_io_
body: Certainly can.


author: Will
body: I work with Heather (above). The issue seems to be before the pdf export. It is actually when the Diagram is saved. If we edit the diagram, click save, click exit, then look at the attachments on the page, we see the png that Diagramly creates. Though, we can see the image in the diagram when viewing the page or editing the diagram, it is not present in the created png, and thus doesn't export.

I tried an image from our test server (we are self hosted), and it does work. Very strange! Here are screenshots:

EDIT:

![](../../upfiles/diagramly_edit.jpg)

PAGE + ATTACHMENTS:

![](../../upfiles/diagramly_attachments.jpg)

CREATED PNG:

![](../../upfiles/diagramly_created_png.jpg)

comments: author: David Benson _draw_io_
body: The problem is the viewing permissions of image export code running of your server differ from those of your browser logged in my your user. We're looking into a workaround for this.


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

We do have a bug report opened for it as you can see below:  
[](https://jira.atlassian.com/browse/CONF-25334)<https://jira.atlassian.com/browse/CONF-25334>  

I raised a bug report for that \[CONF-25335\|https://jira.atlassian.com/browse/CONF-25335\].  

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

comments: author: Heather Dull
body: So am I understanding you to say that this is a known issue with no plans to resolve it?


author: David Benson _draw_io_
body: Please submit this to us direct at [jgraph.freshdesk.com](http://jgraph.freshdesk.com)as a ticket so we can look in more detail (note that without the diagramly tag, now added, we don't get notification of questions here).


Tags: addon-com.mxgraph.confluence.plugins.diagramly

confluence-administration
how to find profile picture on filler path
Asked by Rinku Saha:

Hi,

we are using confluence version 5.1.3. i have requirement to download profile picture , but i m not sure where profile picture is storing. we are using filller path not DB.

Please let me know how to fibd those picture.

Thanks'

Rinku


Answers:
author: Rinku Saha
body: Hi John,

Thank you for your immediate response , i am actually looking for the path/location where the profile pictures are stored. I was aware of the query you shared this is will provide the file name. Please let me know if i am clear to you.

Thanks'

Rinku


author: JohnA
body: Hi Rinku,

I believe this answer provides the solution you are looking for to identify the location of your users profile pictures : [](/questions/15018/retrieve-profile-pictures-using-sql)<https://answers.atlassian.com/questions/15018/retrieve-profile-pictures-using-sql>

All the best,  
John


Tags: confluence-administration
What could prevent icons left from the profile picture showing?
Asked by Olli Aro [Ambientia]:

The prospect is using a demo environment and use IE9. Icons like notifications box, settings and ? are not shown. Confluence version is 5.3.

They have very high security restrictions in their network, could that be the cause? What should be done to overcome the problem?


Answers:
author: JohnA
body: Hi Olli,

I have seen things like proxies cause these kind of problems, where certain icons and/or content are not served properly, so I would recommend that you try bypassing the proxies, (for testing purposes), and see whether this resolves the issue or not.

All the best,  
John


author: Olli Aro [Ambientia]
body: Thanks John, we will try this.


Tags: confluence-administration
import space and site fails: a required security token was not present in the request
Asked by Daniel Naber:

I cannot import a site export created with Confluence 5.4.3, neither a space exported with that version. The site ZIP is 50MB, the space is 10MB. I'm trying to import into our newly created onDemand version. Strangely, the first site import today from 4.2.2 worked (but the spaces were missing):  

20 seconds (for the 10MB space) after pressing the "Import" button, I get "Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page". Firebug tells me that this is a 403 error for the POST to /wiki/admin/import/doimportconfluencesite.action.  

Happens with both Firefox and Chromium. What can I do?


Answers:
author: Daniel Naber
body: This was finally resolved by support. Only importing spaces (instead of the whole site) helped, which meant the users needed to be re-created manually (which was okay in my case).


author: Jonathan Simonoff
body: First, you can't import spaces exported from a different major version, so I'd expect the 4.2.2 one to fail. (The only way to get material over is to upgrade the 4.2.2 site before upgrading.)

As for the failure importing the one exported from the same version, all I have is a guess: it sounds like there's a permissions problem -- perhaps you don't have sufficient permissions on the new site, or it has been too long since login and your security token has expired.

comments: author: Daniel Naber
body: I indeed originally imported only the site from version 4.2.2, not a space. Permissons shouldn't be a problem, as I'm the admin and can do everything else in the admin area.


author: Jonathan Simonoff
body: You can't import a site from a different version, either.


author: Daniel Naber
body: Confluence site import says: "Confluence OnDemand accepts full site imports from version 4.0 and newer releases."


author: Jonathan Simonoff
body: So it does, and [](https://confluence.atlassian.com/display/DOC/Restoring+a+Site)<https://confluence.atlassian.com/display/DOC/Restoring+a+Site>seems to indicate the same thing (that you can upgrade a site by importing to a newer version). However, there is a reply from Atlassian in the comments indicating that it is problematic to import from a different major version. I'm not sure why they're so unclear about this.


author: divyesh
body: I am running into the same issue importing a site from our own hosted confluence 4.3.2 to AOD - Only one space shows up after the backup is imported (the zip file size is 83MB and the XML size inside is 66MB). Attempting to reimport results in the issue described in the original post.

Importing individual spaces would a painful task since I would need to upgrade the installation, etc.

Please help


Tags: cloud

confluence-cloud
Suddenly access denied
Asked by Alannah Darnel:

Hi there,

I have 2 questions:

1) Space: aequilibrium Email: [alannah.darnel@aequilibrium.ca](mailto:alannah.darnel@aequilibrium.ca)

Yesterday, I was able to create/invite users to the aequilibrium space. Today, whenever I click on Users from the Configure page, I get asked to login again and then received a 403 Forbidden error. It was working completely fine yesterday

2) Space: builddirect Email: [alannah.darnel@aequilibrium.ca](mailto:alannah.darnel@aequilibrium.ca)

Up until last week, I was able to use the builddirect space. Suddenly I have been denied access. Our administrators looked up my email and it appears as if I should still have access.

Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: Sounds like your account has been disabled or had the login rights removed from it. Even if it still appears to have access to individual spaces, if it can't log in, it can't use the system in general.

You'll need to talk to your admins more

comments: author: Alannah Darnel
body: Thanks - however I was an administrator for both spaces. Another admin tried to create a new user using the same email address (for 403 forbidden), and I'm receiving the same error.


author: Nic Brough -Adaptavist-
body: Administrator for the space does NOT give you login rights, or bypass any deactivation of your account.

You need to get your admins to check that you have login rights as well as your space admin rights. I'd also ask them to check that you and they are definitely looking at the same user ID, and not duplicates (the login id should be unique, even if it's an email address)
Displaying the Space Category
Asked by Bimmel:

How would one go about displaying the Space Category within a user macro?

Thanks!


Answers:
author: Davin Studer
body: A better way of getting the meta data is to use ...

AJS.Meta.get('space-name');

This is more future proof.

comments: author: Davin Studer
body: What if they decided that they no longer will put that data in the page on load? Rather it will be called asynchronously via the Meta.get() method if the client requests it. Or what if they change the name of the meta tag? In that case your code would fail but if you use the API they have built for this purpose it would continue to work. That is why I say it is a little more future proof. Since they built and API for getting the data I would use that. Plus it is fewer lines of code ... one vs eight.


author: Bimmel
body: How often does the meta tags values and content change? Forgive my ignorance but how is this more future proof?


author: Bimmel
body: I cannot argue with the likelihood of Atlassian changing what data goes into the meta tags but the method you mentioned relies on the Confluence Admins (me) to provide the category of the space in the name of space (editing **Space Details** \> **Name** \> \<type\>: Foo) rather than relying on the information provided in **Space Categories** in the same Space Details page. I would have to use some JS to extract the string up to the ":" and use that string for the data I'm looking for.

A sample output from running a test with AJS.Meta.get("space-name"):

```
Personal space: firstname lastnamedepartment space: Dept: deptname
```

I would also have to take that into account that individual users won't be adding the prefix of "Personal" to their respective space names nor adding a Space Category.


author: Davin Studer
body: If you want to use the menthod you mentioned above that would indeed be the case. I was simply saying that using the AJS.Meta.get methods is better than looping though all the meta tags like you were doing before.


author: Bimmel
body: Ok, I think I have a potential solution: Since we have a naming standard for putting the space category in the name of the space details name, the meta tags of the rendered pages store a number of various tidbits of useful information, including a meta tag named *ajs-space-name.* So, I used a simple JavaScript loop to run through all the meta tags until it found that specific tag. From there, I'm able to extract the value from the tag's content attribute.

```
var metas = document.getElementsByTagName('meta');	for (var i = 0; i &lt; metas.length; i++) { // loop through all the meta tags		var metaName = metas[i].name; // grab all the meta tag's name attributes		if (metaName == "ajs-space-name") { // name of meta tag that holds the space category			var metaContent = metas[i].content; // get the content value for target			var spaceCategory = metaContent.substring(0, metaContent.indexOf(":")); // only hold string that ends up to ":"			}		}
```

Does that look fool proof?

comments: author: Bimmel
body: Note: This does not grab space categories for personal spaces.
Task with dates
Asked by Martha Gery:

Is there any way in Confluence to create a task with a due date?


Answers:
author: BillA
body: what would you do with the due dates? you could just type the date into the task description.  


author: HosseinA
body: Hi,

At the moment the functionality is not available. However, we have a feature request on it and you can visit:

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

You may watch the ticket for updates :)

Cheers
Feb. 26 2014 Confluence security advisory
Asked by Robert Lauriston:

This advisory's description says, "We have identified and fixed a vulnerability in Confluence which allowed unauthenticated users to commit actions on behalf of any other authorised user. In order to exploit this vulnerability, an attacker requires access to Confluence web interface."

If unauthorized users can access only the login page, signup is disabled, and the Confluence instance is not integrated with any other Atlassian products, is there any risk?

<https://confluence.atlassian.com/display/DOC/Confluence+Security+Advisory+2014-02-26>


Answers:
author: VitalyA
body: The configuration you have described is still vulnerable.


Tags: confluence-administration

security
Default search box text missing after upgrade
Asked by Karen Beck:

Using these instructions [Customizing Search Values](http://www.brikit.com/display/help/Customizing+Search+Values), I applied some javascript in the Brand Designer to customize default text in the Search field. When we upgraded Confluence from 5.2 to 5.4 (and the compatible version of Zen), the default text in search box disappeared.  

Is this a known issue with the upgrade? Do you have any idea about how to fix this?


Answers:
author: Karen Beck
body: Issue is resolved.

comments: author: brbojorque
body: Hi [@Karen Beck](/t5/user/viewprofilepage/user-id/597111) , it would a great help if you share how did you manage to solve this.

Thank you.


author: Karen Beck
body: I also checked with Brikit. Apparently the default text is still there, but after the upgrade it displays white so it's not visible on the white Search field background. They recommended applying some addtional CSS to the brand. This worked fine.

```
#search ::-webkit-input-placeholder{ color: crimson; }#search :-moz-placeholder{ color: crimson; }#search ::-moz-placeholder{ color: crimson; }#search :-ms-input-placeholder{ color: crimson; }
```

(Obviously swap out "crimson" for whatever color you want there.)

Issue is resolved. Thanks.

comments: author: Mikael Mikkola
body: Thanks, but Karen's code (in the wikispace Stylesheet) does not affect the placeholder text color at us (C5.7 server). IE9: light blue (or if the top bar color is changed, a lighter shade of the bar color, whereas its search box is a darker shade), Firefox \& Chrome: placeholder text not visible!BTW, I guess that there is no method to (a) change the header search box placeholder text, nor to (b) produce a page tree (e.g., sidebar) search box placeholder text. If there is, we'd like to hear. Livesearch would do that, but I'd like to do that in by a standard wikispace macro (instead of having to add "{Livesearch...}" to every Document theme without being able change it later centrally), and I am not able to do that.


author: Deividi Luvison
body: Hey Karen,

During a upgrade the files in the installation directory are replaced with the ones of the taget version, so any customizations made in the files inside the \<Confluence Install\> directory needs to be reaplied.

From the scenario you described, plus the guide you provided I can see that this is a customization made by the ZEN plugin itself.

One idea is for you to try to reapply that guide, however if it fails I believe you should mail the ZEN plugin vendor for assistance.

Thanks and Regards,  
David\|Atlassian Support


Tags: default

search

text

upgrade
Integration of Confluence Questions OnDemand with HipChat
Asked by Erich Leipold:

Can you make Confluence Questions notify a designated room that someone posted a question (and maybe the question and link back).

This way people can use Answer for questions, rather than Hipchat and the history and answers dont get lost to time?

Stretch goal would be posting to different rooms based on the selected tag, or a default room if none of the tags match.

For example, a developer as a Java related technical question, tags it with Java, and get posted to a Java Support Room in Hipchat.


Answers:
author: bradley_bristowstagg
body: FYI This feature has been added to Questions in Spaces that are integrated to HipChat. There is a separate enhancement to link Question Topics to certain rooms here: <https://jira.atlassian.com/browse/CQ-1914>


author: Scott
body: Yes, I'm surprised actually, I thought this would have made sense.


author: Bradley Bristow-Stagg
body: We're definately interested in this option as well.


author: dstuecken
body: We need that as well. We're even thinking about developing something on our own, which polls all the new questions once in a while and then posts all the new ones to our hipchat room.


author: BillA
body: Its on the backlog but not currently being worked. Please see <https://jira.atlassian.com/browse/CQ-82>


Tags: cloud

confluence-cloud

questions-for-confluence
Is there way to see who is following an entire workspace? I did not see in Answers any threads on that topic or such an option in workspace admin. I looks like you can see who is follwoing a specific page
Asked by Pat Condon:

Is there way to see who is following an entire workspace? I did not see in Answers any threads on that topic or such an option in workspace admin. I looks like you can see who is following a specific page

Thanks


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

You can see a list of who's watching a space, you can click on the top right where says "Watch" then click on Manage watchers.  
I hope this helps.  

Cheers,  
WZ

comments: author: Pat Condon
body: William,

Thanks very much. I did not realize that really worked until I added my test user

Thanks!


Tags: confluence-administration
recently-updated macro exclude users from results
Asked by Paulo Castelo:

Hi. I already have read some answers to this question but without any definitive conclusion.

I am using Confluence 4.3 and the thing is that I want to prevent some users to appear in the recently updated results. Was this already solved or added to the macro? Or is there a way to do it that I did not yet have found?

Thank you


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

Out-of-the-box I believe that there isn't a way to prevent some users to appear in the recently updated results. Maybe if you have a private space, and this users just add content in this space, there's a chance that the user will not be shown in the recently updated results.  

I hope this helps.  
Cheers,  
WZ

comments: author: Paulo Castelo
body: Hi William,

Thank you for your reply. Unfortunately that will not solve my problem because they do changes all over the application and, so, appear in every space Recently Updated panels...

Is there no other way to do this? Can't we have something similar to the recently-updated with a user macro?

Thank you once more.


author: Helen Gosper
body: I have a similar issue and would like a simple solution.


author: Fred Bunting
body: Unfortunately, this apparently used to be a feature in the Recently Updated macro, but got dropped along the way.

There is a JIRA ticket for a feature request to add this back. I recommend adding your vote to:

<https://jira.atlassian.com/browse/CONF-20956>


Tags: confluence-administration
Naming Convention of page?
Asked by Jonathan Lau:

May I know more about the naming convention of page?

It seems that there is an issue when i put "\[Text\] ABCD EFGH" as page name.  
The problem is likely to result from the bracket.

Appreciate any help.

Cheers,  
Jonathan


Answers:
author: JohnA
body: Hi Jonathan,

From the sounds of it you are hitting this bug, which is related to square brackets in page titles: [](https://jira.atlassian.com/browse/CONF-30020)<https://jira.atlassian.com/browse/CONF-30020>

So, in theory Confluence should gracefully handle titles with square brackets but unfortunately due to that bug there is some odd behaviour with them and I suspect tihs is what you are encountering.

All the best,  
John


author: Jonathan Lau
body: Hi John

Thanks for the heads up and you guess makes perfect sense. The bug is exactly what I have been experiencing.

So I guess I would have to avoid putting square brackets in titles at this moment until the bug is fixed... (gonna try with parentheses, curly brackets and angle brackets too)  

Cheers,

Jonathan


author: Mick Davidson
body: Jonathan,

This is probably covered in the Confluence docs, but there are certain things that you can't use, however sometimes this is only apparent when you do something else.

For example, I've found using something like a colon in a page title is acceptable but if you then use the page with the colon in the title in the Include Excerpt macro, the macro can't find it.

So you have to edit the page name and remove the colon. When you do this the Include Excerpt macro will work.

This is just an example, but it shows that sometimes saving the page is ok, but linking to it isn't. It's a matter of experimenting and seeing what works.

Cheers.


Tags: cloud

confluence-cloud
Site administrator unable to create site space
Asked by Addie Mrosla:

Hello,

I am a Confluence site administrator and have lost the ability to create a new site space. When I click "Create a New Space," I am only given the option to create a Personal Space. This is now the universal experience for all of the admin on our team.

Please help!


Answers:
author: Steve Gerstner [bridgingIT]
body: Go to your admn console and look out for -\> global permissions. There should be an option to change this.


author: Addie Mrosla
body: Great! This worked. Was this part of the latest update? As far as I can tell, nobody on our side changed the global permissions settings.

comments: author: Steve Gerstner [bridgingIT]
body: No, I think this feature is available for a very long time. I would bet someone changed it ;)


Tags: cloud

space