youngmon/atlassian-qna huggingface dataset:
Confluence page with drop downs that filter data responses
Asked by Doug:

We have a project where users want to create a Confluence page that will allow users to choose data from drop downs and then response data is displayed. An example would be a page that has 3 drop downs and users must make a choice in each of them. The drop downs would be like Country Origin, Country Destination, Shipping Method (Air, Ground, Ocean). Data associated with those choices like carrier, contact name, account, etc. would then be returned once the choices are made.

We have one option where we use the Table Filters and Charts for Confluence plugin and data is pulled from an attached Excel spreadsheet. It's ok, but the user would like something a little more elegant. The requirements would be below. Any suggestions on alternatives? Basically looking to create a simple "if this then show this" type of page.  

* Ease of use for end users and page editors
* No data should be shown until users make choices on the 3 criteria


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello [@Doug](/t5/user/viewprofilepage/user-id/1097156)

You can set [Show first N rows](https://docs.stiltsoft.com/display/TFAC/Sorting%2C+freezing+and+other+table+viewing+options#Sorting,freezingandothertableviewingoptions-ShowfirstNrows) option to **0+** in the Table Filter macro so that it won't show any rows until filtration is applied.


author: RM
body: This is another addon, and you'd probably still need to pull data from Excel, but the Confiforms addon (<https://wiki.vertuna.com/display/CONFIFORMS/Basic+concepts>) might work.

I've only used it for more simple forms, such as work intake and surveys, however, it does have a number of more advanced features for forms.


Tags: confluence-server

server
`At least one attachment file must be included` when uploading via rest api
Asked by Zhenye Na:

I go this error when I use the rest api call to upload an attachment

I have use the following script to do it

```
headers = {"X-Atlassian-Token": "no-check"}
with open(image, 'rb') as f:
    res = requests.post(
        url,
        headers=headers,
        files={image:f},
        auth=some_auth_here
    )
```

I once used the curl command and it works, but not for python scripts. Am I missing some point here?

----------------

problem solved


Answers:
author: Zhenye Na
body: solved

comments: author: Moises Rizo
body: how?


author: Ako Tulu
body: [Related thread with answer](https://community.atlassian.com/t5/Answers-Developer-Questions/Uploading-attachment-into-Confluence/qaq-p/473851)


Tags: atl-adm

confluence-server

server
Is there a way to reference and paste sections from other pages onto a new page?
Asked by cara.hall:

Similar to how you can identically paste whatever data is on another page (ex. in Excel you can use formulas to reference data on one page to another) that will update whenever you update the original page. Are you able to do this for sections on confluence?

For example, we are trying to set up a portfolio page that has a view of all our individual program pages, but are trying to avoid copy and pasting each time there's an update on our individual program pages.


Answers:
author: RM
body: Have you tried the Include Page macro that comes built into Confluence? <https://confluence.atlassian.com/doc/include-page-macro-139514.html>

If you want to include only part of a page, use the Excerpt macro. However, you can only have **++one++** excerpt macro on a page. Therefore, if you want to go this direction, you'll need to purchase one of the MultiExcerpt macros [https://marketplace.atlassian.com/apps/169/multiexcerpt?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/169/multiexcerpt?hosting=cloud&tab=overview) or [https://marketplace.atlassian.com/apps/1217620/conditional-multiexcerpt?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/1217620/conditional-multiexcerpt?hosting=datacenter&tab=overview).

I've not used the latter, just the former, but I love it!


Tags: questions-for-confluence
I wrote a post for the community which briefly appeared then disappeared.
Asked by Mike Bowen:

I wrote a post for the community which briefly appeared under articles then it disappeared. There was no explanation and I am now wondering if it was something I said or what?

It took me all afternoon to get the facts right and now its gone. It doesn't even appear in my drafts.

Please help!


Answers:
author: Mike Bowen
body: Hi Shannon,

That was the page. It has since been put back. I understand you have an over eager spam control. I tried deleting this post, but do not have delete rights.

Thanks,

Mike

comments: author: Shannon S
body: Hi Mike,

Thank you for confirming that. We're working with Khoros to help improve our spam control, but in the meantime we are keeping an eye on our spam folder and removing anything that doesn't belong there throughout the day.

There's unfortunately no ability to delete here on Community, but moderators are able to move threads to a private collection in case you need to hide anything.

If you run into anything in the future that needs to be hidden, please let one of us know, and we can help you out.

Regards,

Shannon


author: Shannon S
body: Hi Mike,

Thank you for contacting us about this. Do you know what the name of your article was? Only certain users have permission to write articles, did it go into discussions, perhaps?

I found that you wrote this one post, but I'm not able to find anything else:

* [How to automate a page (report) that summaries changes on other pages?](https://community.atlassian.com/t5/Confluence-discussions/How-to-automate-a-page-report-that-summaries-changes-on-other/td-p/1237620)

If you can tell me what the name was and the day you wrote it, I can try to find it for you.

Regards,

Shannon


Tags: cloud

confluence-cloud
Info macro in HTML export - how to style CSS?
Asked by ScottBrennan:

I'm trying to restyle the CSS for the Info, Note, Warning and Tip macros after exporting a Confluence page to HTML.

However, the generated site.css file is gigantic and convoluted, so I cannot figure out how to do so.

For example, the CSS used for the Info macro seems to be c*onfluence-information-macro* , *confluence-information-macro-body* , and c*onfluence-information-macro-information*. However, changing these in the CSS to add a background colour and a border has no effect.

Any solutions?


Answers:
author: Sneha_Ganesh
body: Did you find any solution yet? I am still missing icons. This is a known issue for quite some years.

comments: author: Thomas Hoppe
body: Same here. Even with latest cloud, the CSS for those macros is missing in the styled output. Is there any remedy?


Tags: atl-adm
how to copy pages from one cloud instance to another cloud instance
Asked by Andrew Drury:

How do I copy (or export / import) a group of pages from one instance of Confluence Cloud to another instance, please?

Thx


Answers:
author: Shannon S
body: Hello Andrew,

Thank you for contacting us about this.

You can create a custom space export and then select only the pages you need. See [Export Content to Word, PDF, HTML and XML](https://confluence.atlassian.com/confcloud/export-content-to-word-pdf-html-and-xml-724764824.html#ExportContenttoWord,PDF,HTMLandXML-ExporttoHTML,XML,orPDF) for details on that:
> **To export pages to HTML, XML, or PDF:**
>
> 1. Click on the space name in the sidebar and choose the cog icon (![](https://confluence.atlassian.com/confcloud/files/724764596/946040245/1/1519863124095/newcog.png)), then open the **Content tools** tab
> 2. Click **Export**
> 3. Select **XML** , then hit **Next**
> 4. Choose **Custom Export** in order to export selected pages only. Select the pages you wish to export.
> 5. Click **Export**
>
> When the export process has finished, you can download the zipped archive or PDF.

You'll need to repeat this for each set of pages you want to export per space.

Follow [Import a Confluence Space](https://confluence.atlassian.com/confcloud/import-a-confluence-space-724765531.html) for steps on how to then import the spaces back into Confluence. If the space already exists with that space key, then you will need to rename the space key manually in the XML. I recommend **Solution 2** from [How to copy or rename a space in Confluence.](https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html#HowtocopyorrenameaspaceinConfluence-solution3)

Let me know if you have any questions.

Regards,

Shannon

comments: author: Patrick Leal
body: Thanks for the information.

Got all the way to the*Import a Confluence Space* page and got an "error during import."

There error message is: *Could not locate exportDescriptor.properties in the archive*.

I exported a Space from a production Confluence Cloud instance and was trying to import it into a development Confluence Cloud instance.

That was the HTML export. Switched to XML export, and got this:  
*{"errorType":"PublicSignUpDisabled","message":"Public Sign up is not enabled"}*  
If it's not one thing, it's another with these exports/imports. The cynic in me says that Confluence just wants you to go to their marketplace and pay more money to do things it should be doing out of the box (or used to do).


Tags: cloud

confluence-cloud
Google Calendar
Asked by imcmullon:

I am not able to add a google calendar using the widget connector.

The calendar is public


Answers:
author: Shannon S
body: Hello there,

Thank you for raising with us. This is a known issue due to some changes on Google's end:

* [CONFCLOUD-41009](https://jira.atlassian.com/browse/CONFCLOUD-41009) *Widget Connector no longer works with Google Calendar*

This is caused by a change in the Google Calendar API that caused it not to work with our widget connector anymore. In Confluence Cloud, we do not have plans to fix this issue, because Google could change their API again and break it once again.

It is better to display the calendar via the [iFrame Macro](https://confluence.atlassian.com/confcloud/iframe-macro-950276528.html). This is more stable, because you won't be affected by any changes on Google's side. It's also more flexible because you can control the height and width of the calendar.

1. In the editor, open the macro browser
2. Search for *iFrame* and insert it
3. In the dialog, set the URL to the calendar embed URL.
4. Set the height/width to the dimensions you'd like.
5. Click "Insert".
6. Publish your page

If you are on Server, the appropriate bug is below:

* [CONFSERVER-41009](https://jira.atlassian.com/browse/CONFSERVER-41009) *Widget Connector no longer works with Google Calendar*

See [How to put an iFrame into Confluence](https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html) for information on how to embed an iFrame in Confluence Server.

Let me know if you have any questions about this.

Regards,

Shannon
Automatic update of labels from space contents
Asked by Akhil Krishnan:

Hello Team,

Could you please check the possibility for below requirement.  
I have a confluence space and need a mechanism for auto update for labels.  
For example, in my space, I have a table cell(eg :Current Program Phase) which has a specific value. This value will be changing frequently . Is there any way to update the label same as that cell value. Let say, cell value is Development, label should be updated as "test-development". After some time, cell value will change to "Implementation" and this time label should replace with "test-Implementation".

Could you check and let me know in any way we can achieve this requirement.

Regards  
Akhil


Answers:
author: Akhil Krishnan
body: can anyone help me here ?


author: Brant Schroeder
body: You should look at scriptrunner for confluence you might be able to use it to make this work [https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview)

comments: author: Akhil Krishnan
body: Hello [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100)

Thanks for the update.

Apart from script runner, is there any possibility to create a user macro that will handle this feature? Could you please help me with some samples , if any


Tags: confluence-server

server
How do I center align a profile picture macro?
Asked by Kyra:

I am trying to center align the profile picture macro in a table so it is right beneath a center aligned name and job title, but it seems to be resizing based on the width of the column. I'm not sure how to make it so that it will stay in place.


Answers:
author: Victor Mutambuki
body: Create a table with cells and insert the images horizontally. For example, a row of 5. If need be, create another row.

Victor

comments: author: Kyra
body: Hmm that doesn't seem to be working for me. This is the issue I am experiencing:

![Screen Shot 2019-11-26 at 11.04.01 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/74132iF12ABE497ECCC183/image-size/large?v=v2&px=999 "Screen Shot 2019-11-26 at 11.04.01 AM.png")


author: Victor Mutambuki
body: You should be able to insert image place holders and remove any spaces around the place holder.

Victor


author: Kyra
body: Hi Victor, I'm not sure how to do that yet! Can you share how?


author: Victor Mutambuki
body: Kyra,

Edit the page that has the profiles. Tap on the image and move it around to align. Also, you can insert links to the image.

Victor


author: Rominiek Schoonen
body: Saddly that doesn't work at all? Can you paste a screen shot of this working?


author: Mark Stolzenberg
body: [@Kyra](/t5/user/viewprofilepage/user-id/3652779) have you found a solution yet? I am having the same issues.


Tags: cloud

confluence-cloud
Can we display service desk portals in Confluence pages.
Asked by Sai sampath Bharadwaj garikipati:

We are looking a way to display service desk portal forms in a Confluence Page.


Answers:
author: Sai sampath Bharadwaj garikipati
body: Victor,

We have an add-on called Raley Intake forms for Jira, that gives us an option to display forms in a Confluence page.

If a user submits a ticket using the form, Jira ticket is created in respective project.

Likewise, we are looking for a way to display JSD portal forms in a Confluence page. So that we get a chance to describe about the fields and forms more informatively, as there is no option to have hover text or ghost text in portal view. ( I know there is a field for description for both forms and fields in portal view, but we are looking for a better way)

Thanks,

Sai.


author: Victor Mutambuki
body: Sai,

I do not see how as the interaction of JSD and Confluence is on Knowledge Base.

Victor


Tags: confluence-server

server
In the new Confluence Cloud Editor how do you display attached files as link (former: Show as Link)?
Asked by Alex Dopp:

For the old Confluence Cloud editor there was a **Show as Link** button for file and image attachments. (see: <https://confluence.atlassian.com/confcloud/display-files-and-images-724765104.html>)

How do you achieve this in the new editor?


Answers:
author: Dan Winkler
body: [@Alex Dopp](/t5/user/viewprofilepage/user-id/1804605) The short answer is that in the "new editing experience" you can't. Read all about it [here](https://jira.atlassian.com/browse/CONFCLOUD-65302), and I know there are other places in the community where this has been discussed.


Tags: cloud

confluence-cloud
Is the MS SQL-Server 2019 supported ?
Asked by Andreas Schmitt:

We are in the Microsoft Partner Network (MPN) and have access to the current SQL-Server versions. Unfortunately, there is no longer the version 2017 of the SQL server there. We only have access to the 2019 version.

Will the 2019 version already be supported?

There is no hint in the supported platforms at this time.

Best Regards Andreas


Answers:
author: Brant Schroeder
body: 2017 is the latest supported platform. <https://confluence.atlassian.com/doc/supported-platforms-207488198.html> 2019 would probably work but would not be supported and you might have issues arise so I would not use it in a production enviorment. With MPN you should be able to access 2017.

comments: author: Jean-Michel Rottiers
body: MS SQL server 2019 has a compatibility mode allowing to use 2017 databases on a 2019 engine

Don't know if it can help.


author: Paul Stone
body: Do we have a road map for SQL 2019 Support? Does the Compatibility mode work? I am at a crossing of upgrading the SQL as my other systems are now requiring SQL 2019 - Any help would be helpful! :)


author: Michael
body: We currently have JIRA 8.8.1 running on SQL Server 2019 (NOT in compatibility mode either) without issues, though it's a very small instance with just a couple users.


author: Stephen Reece
body: Michael, do admins receive the warning that an unsupported version of SQL is being used? Does this also show up for users?


author: Michael
body: Stephen, I believe after the initial upgrade the upgrade summary page may have noted the unsupported SQL version. After continuing there should have been a warning in the upper right corner that you can choose to ignore, at that point you never see any mention of it again anywhere.

I created a new regular user and logged in, that user does NOT see any mention of the warning. I created a new user and added them to the administrators group (logging in initially did not show the warning), but after adding them to the group and logging in they receive the following warning in the upper right corner:

"The **Supported database** health check has failed in your system." There is a link on this warning to not remind them again, clicking that would hide it and there would again be no mention of it for that user. Hopefully that helps.


Tags: confluence-server

ms-sql

server
How can I use php inside a confluence page
Asked by Daniel Schulz:

Hello Community,

is there a solution to the problem? I read the article and unfortunately only the iFrame works for me. But I would like to include the php script directly on the Confluence page. I put the php script on the whitelist and followed the instructions. Unfortunately nothing is displayed on the Confluence page. Can anyone help me?

Thanks for help

Daniel


Answers:
author: Nic Brough -Adaptavist-
body: What is not working? Have you installed the module and checked the apache server can serve up php outside Confluence?

What errors do you get when you try to view a page with php embedded in it?

comments: author: Hagen Ermer
body: Hi Nic, I'm a colleague of Daniel and working with him on that issue. We have installed the module and there is a running apache with php installed as well. We can't get php running, except in an iframe with an external adress which is whitelisted. And we need to get rid of the iFrame. I also looked for the home directory on `the confluence-init.properties - file, which says it is /var/atlassian/application-data/confluence. I created a hello-world html file which I cannot access either, even when I access the server from our network via the ip-adress - that's one of he weird things. The confluence-init.properties file I found in /opt/atlassian/confluence/confluence. I tried several locations to access the pure html file and none of them led to success.`


author: Hagen Ermer
body: No matter if a \*.php or \*.html file, the error ist still the same 403 message...![403.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/74398i488BCB5EFE8F7232/image-size/large?v=v2&px=999 "403.JPG")


author: Nic Brough -Adaptavist-
body: Sorry for the delay, I've been swamped.

If the html file does not work, then Apache is not configured to serve it up correctly. I'm afraid I can't tell you how to fix that, I don't know what your config is.


author: Daniel Schulz
body: Thanks for your answer,  
I know the article, unfortunately it doesn't work for me.


author: Sven Schatter _Lively Apps_
body: You might find [this piece of documentation](https://confluence.atlassian.com/confkb/how-to-use-php-inside-confluence-pages-317197666.html) helpful.

EDIT: Or do you mean, you already followed these steps?

comments: author: Hagen Ermer
body: Yes, we followed these steps but aren't able to get the php file running locally


Tags: confluence-server

server
Can I remove or customise the "create a how-to/troubleshooting article" create screens?
Asked by Jack Noble:

I've ended up going down a rabbit-hole of trying to manage my company's labels on Confluence (absolute nightmare!), and I've got to a point where I can restrict my users' label creation abilities with plugins in every aspect of Confluence except for the screens that appear when creating a new how-to or troubleshooting article.

![conflabel1.png](/t5/image/serverpage/image-id/74098i2139DFA4348DBE8D/image-dimensions/701x388?v=v2 "conflabel1.png")

I can't find a place to customise or remove these screens anywhere in the admin functions; they don't seem to be a blueprint or anything like that. I tried circumventing them by changing my users' "Create" buttons to link directly to blank templates for the necessary article types, but unlike blank pages and blog posts, how-to and troubleshooting articles seem to have a unique draft ID by the time they reach the edit page.

Does anybody know of a way I can remove, or at least customise these screens? Happy to try custom HTML, plugins, anything you can recommend.

Thanks in advance!

**UPDATE:**After doing a little digging, this appears to be the "dialog wizard" module. I can't find a way to edit a dialog wizard short of coding a template from scratch, so again, I'm open to any suggestions. Thanks!


Answers:
author: Shannon S
body: Hi Jack,

Thank you for contacting us about this.

This screen is part of the How-To Article Blueprint, and it's not possible to customize within the Confluence UI. According to our documentation on [Blueprints](https://confluence.atlassian.com/doc/blueprints-323982376.html), the individual templates themselves can be modified, but not anything outside of that, such as these screens.

You can review [Confluence Blueprints](https://developer.atlassian.com/server/confluence/confluence-blueprints/) on our [Developer Resources](https://developer.atlassian.com/resources) page for more information on modifying and creating new Blueprints.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: administration

confluence-server

custom-field

screen

server