youngmon/atlassian-qna huggingface dataset:
Is it possible to create editable, persistent Confluence templates without buying third party plugins?
Asked by Christopher Woods:

I'm experimenting with Confluence with a view to possibly migrating our knowledgebase to it. We have a lot of data including a lot of pages in clear categories, dozens of pages with almost identical designs and content (bar the geographical location they pertain to, etc). All of these examples would benefit greatly from having chunks of their page design and content handled by embeddable template elements.

This is where I seem to have encountered a shortcoming of Confluence: you cannot apparently create embeddable 'templates' (like MediaWiki's sidebar templates, for example) which you can drop into a page, with all pages using it being automatically updated should you later edit the template.

I can see how to create whole-page template designs, which become a 'freestanding' page when you create a new page from them, but I cannot see how I can place a sidebar and other elements into a page template - and have those elements remain dynamically linked to their parent template after you save your edit.

I can also not see how to create a templated page design which remains a template (in terms of layout, sections and headings) with just spaces where specific text or values can be inputted which change the resulting rendered page... Without purchasing commercial plugins.

Am I looking in the wrong place, or have I missed something? (I've read the manual, and done a fair whack of Googling to try and get round this problem, and the solution has not yet revealed itself.)


Answers:
author: Bill Bailey
body: For anyone stumbling upon this later, I would make use of the [multi-excerpt plug-in](https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro) (very inexpensive), then you could add a named excerpt that points to the a page that contains dynamic content to a column in a section in your standard template. That way, the excerpt is always on any page you create from the template, but the content in the except is maintained on a separate page.

Alternately is to write a user macro for this function, Insert the macro the same way as for the excerpt. Then anytime you update the macro, that update is reflected on every page.

Much lighter weight that trying to write a plug in,


author: Boris Berenberg
body: You are correct, this functionality does not natively exist. Your options would be the paid plugins, or to write your own plugin to provide this functionality. Take a look at: <https://developer.atlassian.com/display/CONFDEV/Creating+a+Template+Bundle>


author: Jonathan Simonoff
body: No.

The closest thing I've come up with (and it isn't very close) is to use user macros. If you have the way text is displayed determined by a user macro, you can change the macro and every instance will change.

But that is a weak replacement for what you are want, and only sufficient in limited circumstances.
Profile picture is white
Asked by Victor Lee:

I tried to upload a .jpeg photo (280kB) but the picture does not display. Instead I have a blank space where the picture should be. Same issue as CONF-32109.


Answers:
author: Victor Lee
body: Hello,

No, this does not happen with any other pictures on the same profile.

I have not been able to test if it woks with other non-admin users. I will let you know as soon as possible.

This issue was brought to my attention on December 19th.

Thank you,

Victor


author: Giuliano C.
body: Heya Victor,

Is it happening with any picture used for the profile? Also, as you have confirmed that this did not happen with the other admin using the instance, can you share if this will happen with users non-admin? And for the last, when did you start to notice this issue?

PS: If this is becoming critical for your instance and usage, don't hesitate to raise a new ticket through our Support Channel (<https://support.atlassian.com)>

Cheers,

Giuliano


author: Victor Lee
body: I don't receive any errors when loading the page. I had an admin try uploading the picture as their profile and it worked fine. I checked the logs and I don't receive any error entries either. Just for more information, I am running version 5.5.2 on IE11 on Windows 7.


author: Benito Picarelli
body: Hi Victor,

Do you see any errors if you load the page that should have your picture while running Chrome's developer tools?

Also, have you checked the confluence logs too?


Tags: profile
Page layout not displaying
Asked by Derek Thomas:

On our Confluence site, the page layout boarders (dashed lines) have disappeared and are not displaying in all browsers. We are not sure why or how this happened. Has anyone seen this issue?

We have not performed a version update lately and can not find the root cause.

Thank you


Answers:
author: Mallmann
body: Hello Derek,

From your description it's not very clear what exactly is happening. May I ask you to attach a screenshot of the error here? Also, please can you check the \<confluence-home-directory\>/logs/atlassian-confluence.log file to see whether you can find any error related to soy-templates or something like that?

Also, please confirm your current version.

Best regards,

Eduardo Mallmann


author: Rodrigo Girardi Adami
body: Hi Derek,

I believe that you are having a problem with the page layout customization. if you go to confluence admin -\> layouts and try to reset the page layouts, do the issues resolves?

If you cannot go to Admin for some reason, you can delete the contents from the layout table by running this SQL command. Backup the database before as always.

```
delete from decorator;
```

Then restart confluence.

I hope this helps.

Cheers,

Rodrigo


Tags: confluence-administration
Pocketquery: how to display a bar chart with annotations on bars
Asked by Stefano Coletta:

From the [official Google docs](https://developers.google.com/chart/interactive/docs/gallery/barchart) about Google Charts I see in the example "**Density of Precious Metals, in g/cm\^3**" I can annotate the value of the bars at its end by adding

```
var view = new google.visualization.DataView(data);      view.setColumns([0, 1,                       { calc: "stringify",                         sourceColumn: 1,                         type: "string",                         role: "annotation" },                       2]);
```

And then pass *view* at the draw() function.

My current code to display a bar is simple as:

```
&lt;script&gt;PocketQuery.chart('BarChart', {  height: 700,  chartArea: {    height: '100%',    width: '50%'  }});&lt;/script&gt;
```

How can I add annotations like that by using PocketQuery? Which is the correct call?  
Thank you for any help.


Answers:
author: Felix Grund (Scandio)
body: Hi Stefano,

Sorry for the late reply! In your case, you need to manipulate the data array for the charts. You can achieve this that way:

```
&lt;script&gt;(function() {    // Create a new data table object in which the first row already contains    // the table headers.    var dataTable = [['col1', 'col2', {role: 'style'}]];         // Iterate through the PocketQuery result and add the values to the data table. You can do arbitrary manipulations with the data before.    jQuery.each(PocketQuery.queryArray(), function(index, row) {        dataTable.push([row.col1, row.col2, '#ccc']);    });     PocketQuery.chart('AnnotationChart', {dataTable: dataTable});}());&lt;/script&gt;
```

You should try around in your developer tools and the JS debugger to dig more into this surrounding. Let me know if you need further help!

Regards, Felix \[Scandio\]
How do I hide confluence content on a page based on permissions.
Asked by ScottW:

I would like to show and hide content on a confluence page based on their group membership. The visibility plug-in does not seem to be supported anymore. Any suggestions?


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

The visibility plugin seems to be supported in the latest versions of confluence 5.6.x as we can see [here](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility). I believe you can still use it for this request :smile:

Cheers,

Rodrigo

comments: author: ScottW
body: Hmm. Thank you. Our IT department is having problems getting the visibility plug-in installed. I guess, we'll have to work out that detail. But I guess it's good to know that it's an option for us.


author: Davin Studer
body: If you truly want the content to be hidden however you need to combine the visibility plugin with the page include plugin. The reason for this is users could just view the source of the page (tools menu -\> view source, or if they have edit permissions they could just edit the page and see the information, also the search engine will index the content so they could see it in search. If you truly want it hidden what you need to do is put the content to be hidden on its own page and then give it a viewing restriction to the group or people that view it. Then on another page you would include the hidden content page onto that page and wrap it in the visibility plugin with the save view restrictions that were assigned to the hidden content page. The reason for wrapping the include macro with the visibility macro is to avoid the error that would be shown to users who don't have viewing rights to the hidden content. This is the way to truly make the content hidden.

comments: author: ScottW
body: You made a really good point. The users of the page won't have edit permissions. But I love your approach to use the include plug-in and restrict the content. If only the include plug-in would render nothing if the user doesn't have permission. Or even better, give us the option to either display an error or nothing.


author: Felix Kaiser
body: It does show an error message, but preemted with a respective warning, this should work fine.


Tags: confluence-administration
attachments macro - upload attachments only in edit mode
Asked by Margherita:

Hello,

Is it possible to force the attachements upload only in the edit mode?

I have a wiki in which users could create and add document via template.   
In the template users could attach document, but I would like to set the properties of the {attachments} macro to allow only people that create the document to upload documents.   
In other words...I would like to have the "allow uplod" field available only in edit mode. Users that view the documents (but did not create it) could only download attachments.

Thanks for your time and help,

Margherita


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

I believe in Confluence cloud you cannot customize the instance to remove links such as the attachments. probably in a standalone you could develop some plugin or change the layout of the page to remove the attachments upload button and leave just the attachments upload when editting the page.

I'll leave this question open since others may have some additional idea for this.

Cheers,

Rodrigo


Tags: attachment

cloud

confluence-cloud
Content gone
Asked by Remon van de Kamp:

Over night it seems a lot of our content pages in confluence OnDemand are gone. I can't find any reference to them anywhere, and they're also not in the trash.

Can someone at atlassian please support me to find out where the content is and if it would be possible to restore it?


Answers:
author: davy
body: Hi Remon,

Please raise a ticket at <https://support.atlassian.com/customer/servicedesk-portal> with the details ?

Cheers,


author: Juan Felipe Cardona
body: Hello, check your restricted pages... could it be that someone else just restricted the access to those pages?


Tags: cloud

confluence-cloud
How can I put a space message (on all pages) to a certain user group in Confluence
Asked by Eduardo Llanos:

I want a certain an internal group to see information on all pages in a space. How do I accomplish that? Can I use Site Layouts and set a certain parameter to make sure that it is only the internal group that sees the information.

ConfluenceSpaceInfo.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-can-I-put-a-space-message-on-all-pages-to-a-certain-user/qaq-p/90184?attachment-id=9275){#link_11890be5ac3d98}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/15144/1/ConfluenceSpaceInfo.png){#display_11890be5ac3d98_0}


Answers:
author: Alex Medved _ConfiForms_
body: May be you can do it by customising the PageLayout

I tried to hack something quickly and it worked...

```
#set ($userGroups = $userAccessor.getGroupNames($action.authenticatedUser))#set ($groupToMatch = "confluence-administrators")#foreach ($group in $userGroups)  #if($group == $groupToMatch)    &lt;p&gt;Hello admin!&lt;/p&gt;  #end#end
```

to put in a PageLayout before body (for non documentation theme spaces)

```
&lt;div id="main-content" class="wiki-content"&gt;  $body &lt;/div&gt;
```

But, the code will also work for Confluence space layouts / site layouts


author: Davin Studer
body: The [Public Annoucement Service](https://marketplace.atlassian.com/plugins/com.atlassian.pas) add-on can do this. It's free too.

comments: author: Eduardo Llanos
body: Hi David, Thanks for the answer. The plugin can set an application level message but not on space level which is what I am looking for, but it is an useful plugin!
How can an administrator update a Confluence avatar
Asked by Thomas Monclova:


Answers:
author: Davin Studer
body: Here is an open source utility I created for changing a user's profile photo. It uses Confluences API's so it is safe to use ... as opposed to hacking the database.

<https://bitbucket.org/fredclown/confluence-profile-photo-uploader>

comments: author: Davin Studer
body: I just released v1.1.0.0 of the profile photo uploader. It does better face detection and cropping, has a version checker, and a test harness to see how the system will crop and resize your photos.


author: Boris Berenberg
body: There is no supported way to do so. You can use <https://marketplace.atlassian.com/plugins/com.javahollic.confluence.confluencesu> to switch into the user and then change it. You can also hack it via the DB, but that is high risk.


Tags: confluence-administration
Question about how to import Gliffy scheme to Draw.io
Asked by Olivier Cruilles:

Hello,

We use Gliffy since many years and now we are very interested about draw.io plugin in Confluence but hoe could we convert Gliffy draw to draw.io.

I try to do it in the evaluate version a draw.io but nothing appears after importation of the .gliffy file generated by the Gliffy confluence plugin.

I saw on internet that it is possible since soon (<https://drawio.atlassian.net/browse/DFC-3>) but how can we try it.

We use Confluence v5.4.3 and draw.io v3.10.1

Thank you in advance for your answer.


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

Since David answered this question for you, I'll set this as resolved.

Cheers,

Rodrigo

comments: author: David Benson _draw_io_
body: Doesn't it make more sense to set my answer as the accepted one rather than yours? And shouldn't yours be a comment since it doesn't answer the question?


author: David Benson _draw_io_
body: In the latest plugin version you can import Gliffy saved files via File-\>Import.

You can also save the Gliffy attachment and drag and drop it into a new diagram, [see this video](https://www.youtube.com/watch?v=whyOjpyaQfQ)

comments: author: Nicolas Casel
body: On the video, at 0mn 47s, from where do you grab the image (png)?


author: David Benson _draw_io_
body: It's the Gliffy attachment I save at 32 seconds. I drag and drop it from the filesystem into the blank diagram.


author: Nicolas Casel
body: "from the filesystem"Ok, because what is shown on the video makes me think that we have to drag'n drop something from the left panel...So when I drag'n drop a .gliffy file from my filesystem to the draw.io diagram, it displays a 'text block' with the json content instead of the scheme.


author: David Benson _draw_io_
body: For completeness, the problem here is that the version of draw.io is too old and doesn't have Gliffy import.


author: David Benson _draw_io_
body: That's the old issue tracker, but the feature is in progress. The first beta will be early next year. I suggest to send an email to support@draw.io and we'll add you to the beta testers list.


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

confluence-administration
Placement of macros on pages
Asked by Jake Lown:

Is there a way to specify where a macro will show up on a page? I am trying to find a way to have a macro appear on the right side of a page, however it keeps defaulting to the left side of the page. Is there a way to specify that I want this macro to show up on another side of the page?


Answers:
author: Mike Rathwell
body: Assuming this is a macro that displays something specific (like a chart macro or the like) there are a couple of ways you can do it.

1. Select the macro and click the "right justify" button. The macro will move to the right side.
2. If you want something else on the LEFT side of the page:
   1. Create a section (just use the { section } shortcut for speed
   2. Create a column and set the percentage you want for the left hand side content
   3. Create a second column with the percentage of page width you want it to be. Put your macro in this column.


author: Yagnesh Bhat
body: One way would be to create a user template with the macro placed wherever needed and then create pages out of that template. That way, its guaranteed that the macro will stay only at the place given to it in the template.


author: Mike Rathwell
body: Jake,

I just tried it. The only way I could make it work was with option "2" above. I arbitrarily made a section, then a column at 70% width and a subsequent 30% width column. I put the livesearch macro in the 30%. Not elegant and not strictly forced fully to the right side but is right side-ish. YMMV

It did NOT work to select the macro and right justify it. Dang it.

comments: author: Jake Lown
body: Thanks Mike, I'll give that a shot and see if I can mess around with that method a little more. Who knows, maybe we can figure this out!


author: Jake Lown
body: I'm using the LiveSearch macro


author: Davin Studer
body: Which macro?


Tags: confluence-administration
Watching pages while watching a space
Asked by ittay dror:

I have several spaces I want to keep track of, just so that if I have spare time, I watch the list. Sort of like reading an rss feed. Naturally, I redirect emails to a special "wiki" folder. Obviously this folder gets filled quickly. But, for some pages where I'm actively participating, I want to set a watch on the page. I will get one email on changes, but if in the email I have some indication this is a favorite page, I can prevent it from being redirected to the "wiki" folder so it is in my inbox and I can read it.

How can I achieve such use case?


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

As far as I know, there are no differences in Pages and spaces email updates when you have them as favorites and is watching them.

I've created this feature request for you: <https://jira.atlassian.com/browse/CONF-35960>

I suggest to vote and ask your colleagues to vote as well to increase the popularity of the feature.

Cheers,

Rodrigo
Macro To List Table Cell Contents
Asked by Alex Fleig:

We use confluence to document IT systems for our clients. We create pages which contain IP addresses for various pieces of equipment. I was wondering if there is way to tag the IP address on those pages and then insert a macro in a parent page that would list all the IP's.

For example, i have a page for a router with an IP address on it. Then I have a page with a server that has an IP on it. On another page can I insert a macro that will make a list of those IP's.


Answers:
author: Davin Studer
body: Have you looked at the page properties and page properties reports macros. I think that will do what you want. On your child pages you would put in a table with two columns the left column is the key and the right is the value. Surround that with a page properties macro. See below screenshot.

image2014-12-19 9:23:30.png

Next add a label to the child page. Something like server-page.

image2014-12-19 9:24:34.png

On your parent page add a page properties report macro and restrict to to using the server-page label.

image2014-12-19 9:26:2.png

When you view the parent page you should see something like this. You can add more key/value pairs to the child page table as well to see more columns in the report.

image2014-12-19 9:27:51.png  
[](https://community.atlassian.com/t5/Confluence-questions/Macro-To-List-Table-Cell-Contents/qaq-p/209006?attachment-id=10106){#link_11890c6289d082}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/35235/1/image2014-12-19%209%3A24%3A34.png){#display_11890c6289d082_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Macro-To-List-Table-Cell-Contents/qaq-p/209006?attachment-id=10107){#link_11890c6289d082_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/35235/2/image2014-12-19%209%3A23%3A30.png){#display_11890c6289d082_2}  
[](https://community.atlassian.com/t5/Confluence-questions/Macro-To-List-Table-Cell-Contents/qaq-p/209006?attachment-id=10108){#link_11890c6289d082_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/35235/3/image2014-12-19%209%3A26%3A2.png){#display_11890c6289d082_4}  
[](https://community.atlassian.com/t5/Confluence-questions/Macro-To-List-Table-Cell-Contents/qaq-p/209006?attachment-id=10109){#link_11890c6289d082_2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/35235/4/image2014-12-19%209%3A27%3A51.png){#display_11890c6289d082_6}


author: Bob Swift (personal)
body: Metadata plugin (<https://marketplace.atlassian.com/plugins/org.andya.confluence.plugins.metadata>) perhaps with Reporting (<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.reporting>).


author: Alex Medved _ConfiForms_
body: The usual "page include" does not work for you?

You can try something like <https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro> (you tag what you want to make as "excerpt" and then reference it from another page(s))


Tags: confluence-administration
help me the installation file is corrupted
Asked by Svetlana Goryavskaya:

I downloaded the 5.6.5 installer vindovs and he constantly writes to me it does not matter even what I did not shake the installation file is corrupted. if it is a download please try it again


Answers:
author: Giuliano C.
body: If the file is not corrupted, would you mind to provide us a screenshot of the one?


author: Nic Brough -Adaptavist-
body: I'm afraid that does not make a lot of sense.

Could you try downloading it again, and checking that the download completes properly? Then tell us what error you get when you try to run it.


Tags: confluence-administration
Confluence Space Logo
Asked by gewewa:


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

Can you clarify what is the question? In case you are looking for changing the space log, you can do it by following [these steps.](https://confluence.atlassian.com/display/DOC/Changing+a+Space%27s+Logo)

Cheers,

Rodrigo


Tags: confluence-administration