youngmon/atlassian-qna huggingface dataset:
SQL plugin style options if you don't display as a table?
Asked by Beverly Flegel:

This Confluence add-on provides many choices for styling the output when you choose "Show results in a table", but I'm really struggling with options for output NOT in a table. Nothing I've tried seems to work.

Ultimately, I'm trying to display the month a report is for. I pull this as a query since it's always run for the prior month. This is done for more than 30 clients so doing this manually isn't efficient. So I have "Report for.." and then a query to display the month/year "inline". When I do this, I only get the default "paragraph" format. image2015-5-29 16:33:45.png

If I try to set the "Report for.." text to something like h2, I get image2015-5-29 16:32:19.png so it is not kept "inline".

Additionally, we export these to PDF and distribute, and that creates different behaviors in the text as well. The closest I've come to getting something that isn't tiny is to put it in a table and use the @confluence table class and end up with image2015-5-29 16:39:1.png, but that will at least retain the row styles I put in the macro, but it's also frustrating that it shows up as a header row.

If it helps, this is the query I'm running (Oracle db)

```
SELECT to_Char(ADD_MONTHS(TRUNC(SYSDATE,'MONTH'),-1),' Month YYYY') "Report for" from dual
```

[](https://community.atlassian.com/t5/Confluence-questions/SQL-plugin-style-options-if-you-don-t-display-as-a-table/qaq-p/289915?attachment-id=5233){#link_118865cc86f62d}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/49165/1/image2015-5-29%2016%3A32%3A19.png){#display_118865cc86f62d_0}  
[](https://community.atlassian.com/t5/Confluence-questions/SQL-plugin-style-options-if-you-don-t-display-as-a-table/qaq-p/289915?attachment-id=5234){#link_118865cc86f62d_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/49165/2/image2015-5-29%2016%3A39%3A1.png){#display_118865cc86f62d_2}  
[](https://community.atlassian.com/t5/Confluence-questions/SQL-plugin-style-options-if-you-don-t-display-as-a-table/qaq-p/289915?attachment-id=5235){#link_118865cc86f62d_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/49165/3/image2015-5-29%2016%3A33%3A45.png){#display_118865cc86f62d_4}


Answers:
author: Davin Studer
body: If you have the [content formatting macros](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.contentFormattingMacros) (free) you could put a div macro around the SQL output and then style it with the style property on the div macro to make it look the way you want.


Tags: addon-org.swift.confluence.sql
sincronizar Calendario Microsoft Outlook
Asked by Janette Romero:

Hola, la herramienta tiene alguna opci?n para poder sincronizar el calendario de M.Outlook con el calendario de los compromisos en confluence?

Gracias


Answers:
author: Pelagia Papoulidou
body: This could be a very important feature and a reason for us to start using Team Calendars.Pelli


Tags: confluence-administration
Can I make a section "non-scrolling"?
Asked by Ruth Haworth:

I have some long documents with tables of contents. I created a two-section layout with a narrow left section for the table of contents and a wider main section for the content. I would like the left-section to be non-scrolling so it doesn't move when the reader moves down the main section.


Answers:
author: Steffen Heller
body: You can make an element fixed and non-scrolling with this CSS:

```
NAME_OF_THAT_ELEMENT {position: fixed;top: 0px;left: 0px;}
```

But you will have to rework your whole layout and use something else where left and right are separate elements and can be addressed individually (instead of the section macro where left and right columns are probably just different \<td\> within a \<table\>).


author: Gabor Nagy _Midori_
body: That sounds possible using CSS. Can you post the source code you have so far so that we can tell you how to fix it?
data center version
Asked by Shelly:

If we plan to switch to the data center version of confluence after upgrading to 5.7, do we need to work on the Active directory integration again or just following atlassian's **Moving to Data Center** documentation steps would do? I am confused because I need to estimate the level of effort just by reading the documentation. Please suggest.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Just follow the documentation to move. No need to work on the AD integration again.
Okta and on Prem Confluence
Asked by Gerri Urban:

Trying to get the configuration finished for Okta and an on Prem Confluence instance, and I have it working, However I can't figure out what I need to do to setup a non-ldap account (admin) to be able to login. I have tried to following the setup for JIRA but that doesn't seem to be working. Any body out there doing this?


Answers:
author: Gerri Urban
body: OK - so sadly it looks like nobody out in the community is trying this and Atlassian is not going to assist since it is a third party app - so I guess I'm on my own to try to hack something together that works.

I am bummed.


author: Gerri Urban
body: Yes I did - you have to edit okta-config-confluence.xml, add

\</md:IDPSSODescriptor\> \<spUsers\> \<username\> localaccountname \</username\> \</spUsers\> \</md:EntityDescriptor\>

This was directly after the url for the SSO

Let me know if you need more information.

Thanks!

Gerri


author: mwright
body: Hey Gerri,

Didi you find an answer? I am going to intergrate OKTA to JIRA / Confluence onpremise and have the same question as you.


Tags: confluence-administration
Reporting plugin issue
Asked by Romans Pushkar:

Running 5.4.4 on Java 7. Installed reporting plugin v 4.3.15 but can't enable.

Getting the following error:

2015-05-29 12:54:16,689 ERROR \[http-443-15\] \[atlassian.plugin.manager.DefaultPluginManager\] enableConfiguredPluginModule There was an error loading the descriptor 'null' of plugin 'net.customware.confluence.plugin.reporting'. Disabling.  
-- url: /wiki/rest/plugins/1.0/net.customware.confluence.plugin.reporting-key \| userName: XISO269 \| referer: <https://wiki-staging.pw.utc.com/wiki/plugins/servlet/upm#manage>  
java.lang.NullPointerException  
at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32)  
at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:100)  
at com.atlassian.confluence.plugin.descriptor.xhtml.MacroMigrationModuleDescriptor.enabled(MacroMigrationModuleDescriptor.java:40)  
at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1661)  
at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleEnabled(ConfluencePluginManager.java:135)  
at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1453)  
at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1420)  
at com.atlassian.plugin.manager.DefaultPluginManager.notifyPluginEnabled(DefaultPluginManager.java:1398)  
at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyPluginEnabled(ConfluencePluginManager.java:114)  
at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugins(DefaultPluginManager.java:1370)  
at com.atlassian.confluence.plugin.EventDispatchingPluginController.enablePlugins(EventDispatchingPluginController.java:124)  
at sun.reflect.GeneratedMethodAccessor1514.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:606)  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)  
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  
at com.sun.proxy.$Proxy49.enablePlugins(Unknown Source)


Answers:
author: Chander Inguva
body: Hi Pushkar,

* Did you try to uninstall the add-on and re-install it ?
* May be Reporting Plugin is missing some dependencies.

Regards

Chander Inguva

comments: author: Romans Pushkar
body: Thank you. How can I find this plugin's dependencies?


Tags: addon-net.customware.confluence.plugin.reporting

confluence-administration
upgrade to 5.6.6 cannot edit certain pages
Asked by Jennifer Tux:

We are currently upgrading from 5.3.4 to 5.6.6 and have encountered an issue where the body of certain pages can no longer be edited. however, the title can be edited and it appears not to have anything to do with permissions of the users. I've read that this happened when upgrading from Confluence 3.X to 4.X, but the solutions I've found appear not to do the job. Has anyone else encountered this? We have 1200 pages that appear to have this problem ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")

<https://confluence.atlassian.com/display/DOC/Migration+from+Wiki+Markup+to+XHTML-Based+Storage+Format>


Answers:
author: Patrice Rompas
body: Hi Jennifer,

Few things that you need to ensure:

* Your license is not expired
* You're running on [Supported Platforms](https://confluence.atlassian.com/display/CONF56/Supported+Platforms)

Otherwise, I'd recommend you to create a Support Ticket [i](https://support.atlassian.com/secure/Dashboard.jspa)n [Atlassian Support](https://support.atlassian.com/secure/Dashboard.jspa) to get help.

Regards,  
Sam


Tags: confluence-administration
Page Restrictions
Asked by Ralf Loessner:

Hello,

could someone give me an answer to the following question: Is there a limit for number of user in the function "Page Restrictions" (view and edit)?

Thank you.

Ralf


Answers:
author: Maarten Cautreels
body: Hi Ralf,

I haven't run into any limitations yet but from an administration point of view I would not recommend adding too many people to the Page Restrictions as this will complicate the administration of these restrictions. It might be better to add these people to a Group and configure the Restrictions to work with that group.

It also enables you to reuse that same group for other pages.

Best,

Maarten

comments: author: Ralf Loessner
body: Thank you. You're absolutely right. It is a very special case and I need this information truly. It seems, there is a limit from 21 entries to ...
PDF attachment content type "application/force-download"
Asked by Michael Schlueter:

When adding a PDF as attachment to a page, the content type of the attachment is usually set to ***application/pdf*** . However, sometimes it is set to ***application/force-download***. In this case, the document is not displayed by the browser, the document is downloaded instead. It has to be changed to application/pdf manually to work as expected.

Does anyone know, how the content type for uploaded attachments is determined?


Answers:
author: Daniel Santos
body: Hi Michael,

I hope you are using Firefox!

It seems to be a browser problem acording to the following similar references:

* <https://github.com/rails/rails/issues/18978>

> I do think there is a FireFox issue playing some role:  
> <http://jsbin.com/ulamor/213/edit?html,css,console,output>  
> FireFox returns "application/force-download" where Chrome and Safari both return "application/pdf"

* <https://www.redmine.org/issues/19435>

> Alright, this seems to be a Firefox "bug" (at least I'll refer to it as a bug, the developers don't) discussed in <https://bugzilla.mozilla.org/show_bug.cgi?id=373621>

* File upload set mime type as application/download instead of application/pdf : <https://bugzilla.mozilla.org/show_bug.cgi?id=373621>

You could try to use another browser to confirm that.

Kind regards,

Daniel P Santos

comments: author: Michael Schlueter
body: Yes, you're right. I verified it with Chrome and IE and both are working fine. So, I assume, we have to live with that. Thank's for pointing me in the right direction.


author: Daniel Santos
body: You are welcome Michael! We are here to help. :)


author: Gilles Versepuech
body: Hi,

I have exactly the same problem with Confluence and Firefox 38.2.1 on Mageia.

Thank's for your answer.

Gilles Versepuech
Can I set Chinese as language of a Confluence cloud instance?
Asked by ??:

Actually there isn't a Chinese option and I can't find a way to install a language package for a confluence cloud instance.

image2015-5-29 6:58:22.png  
[](https://community.atlassian.com/t5/Confluence-questions/Can-I-set-Chinese-as-language-of-a-Confluence-cloud-instance/qaq-p/403852?attachment-id=12642){#link_118867824cb013}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/68353/1/image2015-5-29%206%3A58%3A22.png){#display_118867824cb013_0}


Answers:
author: Paulo Hennig
body: Right now, you can't.

Feature request:

<https://jira.atlassian.com/browse/CLOUD-7017>

<https://jira.atlassian.com/browse/CLOUD-7692>

Cloud applications don't currently support the installation of language packs from Atlassian Translations.


Tags: cloud

confluence-cloud
Support for Confluence 5.7.4
Asked by Roy Lu:

Is there a timeline for supporting Confluence 5.7.4?

Thanks!


Answers:
author: rrudnicki
body: Hi Roy,

The plugins you've mentioned are developed by Junoe.

Since this is a third party plugin, we recommend you to contact directly the plugin's vendor. On the link below you can find more details:

<https://marketplace.atlassian.com/vendors/1212089>

Regards,

Renato Rudnicki


author: Paulo Hennig
body: Hello Roy,

If you are talking about the Confluence End of Life Policy, you can take a look here <https://confluence.atlassian.com/display/Support/Atlassian+Support+End+of+Life+Policy>

Case if you are talking about a specific plugin, can we have a clarification about which plugin you meant ?

comments: author: Roy Lu
body: Hi Paulo,Sorry if it was not clear, I was redirected to this page when I clicked "ask a question" on the plugin page in Atlassian Marketplace. I am talking about the "DITA Converter" and "DITA Macro for DITA Converter" plugins for Confluence.
Team Calendar: How to lock an event when a person is editing it
Asked by Username:

For the team calendar macro, I need to be able to lock the event when a person is it.

For example, lets say user X creates an event A on the calendar and saves it.

When user Y clicks on the edit link in the calendar, another user X must not be able to enter the edit window of the event. Or at least, a message must be shown to X when he tries to edit the event.


Answers:
author: rrudnicki
body: Hello there,

I believe this link about Team Calendars restrictions can be useful for you.

<https://confluence.atlassian.com/display/TEAMCAL/Restrict+a+Calendar>

Also, there's a similar discussion on this page:

<https://answers.atlassian.com/questions/43079/team-calendar-restrictions>

Regards,

Renato Rudnicki


Tags: confluence-administration
How to simply add drop-downs to the Confluence ?Product Requirements? blueprint template?
Asked by Bob Blair:

I can't add drop-downs to the Confluence 'Product Requirements' blueprint template. In a Space (not global). I edited the 'Product Requirements' blueprint and the page previews correctly displaying the drop-down, but when clicking the 'Create' button and selecting the "Product requirements" template, the drop-down is no longer displayed.

Thanks!

<br />

Confluence-dropdownIssue.jpg  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-simply-add-drop-downs-to-the-Confluence-Product/qaq-p/16360?attachment-id=10815){#link_118867cfe7cf76}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/2736/1/Confluence-dropdownIssue.jpg){#display_118867cfe7cf76_0}


Answers:
author: RobS
body: I have exactly the same problem. Interested in any answer or workaround


Tags: cloud

confluence-cloud
Limit total amount of storage per user?
Asked by Sam Yerkes:

Hello,

We are currently running into an issue where we are running out of storage space on our hosted confluence setup. I know there is a way to limit the overall attachment size to 100MB. Is there a way to limit the total amount of space User X can use on attachments (e.g. 1GB total)?

In addition, is there a way to tell what users are using the most disk space?

Thanks!


Answers:
author: Rex Kidwell
body: I have developed a number of queries to collect this information, but I'm looking for a way to limit the amount of space usage per space. I'd like to have a REST API call for the space to then prevent users from uploading when they've exceeded and certain space limit, such as 1 or 2 G for a space. I've hunted quite a lot for this and haven't been to successful.


Tags: confluence-administration
Pass report output without HTML
Asked by Harley Payne:

Hello

I am trying to use a Confluence to lookup a value from a Scaffolding table, and then pass this value into an SQL macro. I was planning on using groovy for this and it is working fine, but the value that gets passed has HTML tags around it (even though I set the text field in Scaffolding to be plain text).

How can I configure this to pass the value without the \<p\>\</p\>? So using the script shown below I am getting a value of \<p\>12345\</p\> passed as ${mapobjidset} when what I need is just 12345.

My groovy text is below:

=========

```
import com.atlassian.renderer.v2.RenderModedef renderMode = RenderMode.suppress(RenderMode.F_FIRST_PARA)// macro to pull the correct mapobjid valuedef mapobjidMacro = """{report-block}   {local-reporter:key=data:TestTable}      {text-filter:          key=data:WorkflowIDField        | value=PAF      }   {local-reporter}   {report-body}      {report-info:key=data:MapObjIDSetField}   {report-body}{report-block}"""?def mapobjidset = subRenderer.render(mapobjidMacro, context, renderMode)// now run the SQL using the chosen mapobjiddef SQLMacro = """{sql-query:     dataSource=DS  | noDataMessage=N/A}SELECT    Map_MapID,   Map_Title,   Map_MapObjIDFROM   DS.WMapWHERE   Map_MapObjID IN (${mapobjidset}){sql-query}"""??out.println SQLMacro
```

=======


Answers:
author: Nelson Carranza
body: Hi Harley,

I would try using the injected functionality from reporting. This will work if you are expecting one single value. I do not see that your groovy handle multiple values neither , but im not familiar with groovy so i cant really tell.

Let say report returns 3 ids, so I think: mapobjidMacro will be = "id1 id2 id3" so sql query will fail since it is expecting "id1", "id2", "id3"

<https://docs.servicerocket.com/display/REP/Injecting+Parameters+with+Parameter+Injections>

```
{report-block}   {local-reporter:key=data:TestTable}      {text-filter:          key=data:WorkflowIDField        | value=PAF      }   {local-reporter}   {report-body:injected=true}      	  	  {sql-query:     dataSource=DS  | noDataMessage=N/A}SELECT    Map_MapID,   Map_Title,   Map_MapObjIDFROM   DS.WMapWHERE   Map_MapObjID IN ('%data:MapObjIDSetField%'){sql-query}   {report-body}{report-block}
```

If you are expecting multiple values , since you are using IN , Can you do something like this:

```
mapobjidMacro  = mapobjidMacro.replaceAll("&lt;[^&gt;]*&gt;", "").trim();
```

Regards

Nelson

comments: author: William Crighton [CCC]
body: nice answer


author: Harley Payne
body: That worked well thanks. Simpler than the groovy approach. I have control over the scaffolding text so I can just format it properly to pipe in.... ie for multiple - '1234', '5678'

comments: author: Nelson Carranza
body: Hi Harley,Do you mind accepting my answer? Thanks


Tags: report

scaffolding

scriptrunner

sql
How do Atlassian applications sync with a time source?
Asked by Jeremy Hyer:

For example, was wondering if Crowd, Confluence, and/or JIRA's application time was synchronized with a centralized clock?


Answers:
author: Pedro Cora
body: Hi Jeremy, the applications will use the system clock. So if all apps are running on the same server, you should not have any problems. However if they are not, then you need to make sure all server are synchronised with a NTP server. :smile:


Tags: crowd

jira
Can confluence be linked or integrated with other software such as Sales Force?
Asked by Mike Ehrhardt:

I am not a developer so apologies if I don't use the correct terms. I am doing some initial fact finding about Confluence. One of the questions I am being asked is can we link or integrate (not sure what the correct term is) to other progams such as sales force? Are there any types of programs/software confluence can't be linked to or integrated with.

Thanks in advance for the help!!


Answers:
author: Jesse Miller
body: Hi Mike, there are alot of integrations out there available for Confluence and an ever expanding amount of add-ons that can help with these integrations. Best place to start searching for a specific integration would be to do a quick search on [Atlassian Marketplace](https://marketplace.atlassian.com/). If you dont find what you need, there is an extensive API you can use to build your own integration or contact an [Atlassian Expert](https://www.atlassian.com/resources/experts) for custom development if you want.

Any more specifics on what you are looking for in the way of integrations?


author: Mike Ehrhardt
body: Thanks for the additional information Jesse. I think with knowing a plugin is available for Sales Force combined with your information about where to look for additional intergation info is what I need for now. As I suspected, integration is possible with a miriad of products.

I will pass all of this information on to the people I am doing this initial research for and see what happens. From here it is pretty much out of my hands. Rest assured however, that should any additional questions arise I will let you know.

Thanks again for everyone's help!!


author: Mike Ehrhardt
body: Thanks Jobin.

I suspect that is what they are looking for but as I mentioned in my previous response, I will get some detail and come back with more specifics.


author: Jobin Kuruvilla [Adaptavist]
body: There is a [Confluence CRM plugin](https://marketplace.atlassian.com/plugins/go2group-crm-plugin) that can be used to pull customer information from Salesforce to Confluence. Again, as Nic mentioned, it depends on what you really need!


author: Mike Ehrhardt
body: Thanks for the quick response Nic.

While I have an idea of what they want, I will get with the appropriate people on my end and find out more detail. Again, thanks!! I will return with more specific information....hopefully tomorrow.


author: Nic Brough -Adaptavist-
body: You can "integrate" it with anything that has a remote interface (i.e. can be talked to over a network). But "integrate" is such a vague word, it's functionally useless. The best answer I can give you to "can we integrate Confluence with something?" is just "yes"

The more important question is really "what do you want from the integration"?