youngmon/atlassian-qna huggingface dataset:
Using AUI - Forms in a confluence page
Asked by Ruben Zimmermann:

Hi,

I have added a few radio buttons via the HTML macro into a confluence page.

<https://docs.atlassian.com/aui/7.8.0/docs/forms.html>

The form itself works, but the state is not stored.

What have I missed?

Thanks in advance

Ruben


Answers:
author: Thor
body: To save values stored in form elements on your page you need to persist them somehow.

A common approach would be some javascript to collect the inputs values and send them to a REST endpoint (java) where they can be stored in the database or in a file for example.

comments: author: Ruben Zimmermann
body: Thanks for feedback. Do you have another idea how I could accomplish my idea (without purchasing additional plugins)?

<br />

For the common approach, could you point me to a sample app to study a bit how this works?

<br />

Ruben


author: Thor
body: You're welcome. Unfortunately there is no easy or free way to create forms in Confluence.

If you want to do this without using any plugin you'll need someone who understands at least the HTML and JavaScript basics.

I currently don't have an example but the steps you'd have to follow are straight forward:

1. Create a confluence plugin with the Atlassian SDK
2. Build a REST endpoint with the [REST Plugin Module](https://developer.atlassian.com/server/framework/atlassian-sdk/rest-plugin-module/)
3. Persist and retrieve data at the endpoint with
   1. [Active Objects](https://developer.atlassian.com/server/framework/atlassian-sdk/active-objects/) OR
   2. via [Plugin Settings (SAL)](https://developer.atlassian.com/server/framework/atlassian-sdk/storing-plugin-settings/)
4. Control [form submission / handling with some javascript](https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Sending_forms_through_JavaScript) that you either
   1. inject via HTML macro (*very dirty approach, not recommended*)
   2. include in your [plugins web resources](https://developer.atlassian.com/server/confluence/web-resource-module/) and load into the according context

This is basically all you need to persist form data in confluence. To make it user-friendly you can either build your own plugin or you'd have to use one of the existing plugins from the marketplace or contact a company to build something that follows your exact specifications.


author: Ruben Zimmermann
body: Thank you very much for the detailed explanation. :-)

Very appreciated.

I guess I will go for the marketplace approach if I am asked to add a full featured form ;-)


author: Thor
body: You're welcome :-)

I wish you good luck finding the right solution for your goals!
Jira issue macro doesnt work
Asked by Ferdinand Fischer:

Hi,

i have serverall issues with the jira macro in confluence:

1. it keeps loading forever.  
   ![07-04-2018 23-31-05.jpg](/t5/image/serverpage/image-id/18961iF550C4E9248E6D14/image-size/large?v=v2&px=999 "07-04-2018 23-31-05.jpg")
2. it doesnt work at all  
   ![07-04-2018 23-31-48.jpg](/t5/image/serverpage/image-id/18962i058463FF10FABCD4/image-size/large?v=v2&px=999 "07-04-2018 23-31-48.jpg")
3. it doesnt find the issue if the page was created with GAIA.  
   ![07-04-2018 23-33-35.jpg](/t5/image/serverpage/image-id/18964i08C3BDD048D80086/image-size/large?v=v2&px=999 "07-04-2018 23-33-35.jpg")If i press enter the issue is found.
4. Also should?nt autocomplete work in the searchbox?

I can access all issues over "show in jira" in the edit view.

Collaborative editing is also disabled.

Thanks


Answers:
author: Suren Raj
body: Hi, Ferdinand.  

We would like first to test if the application link is working as expected, can you give us feedback on bottom points:  
- Can you let us know, are you able to create a new page with Jira issue macro, and is the link visible in Jira issue in this case?  
- Have you tried recreating application link in this case, and after you do it, are you seeing "connected" on Confluence and Jira side?

At this point, I am suspecting that Application link is not working correctly, but we will know more when you recreate it.

comments: author: Ferdinand Fischer
body: Hi Suren,

i had two application links to confluence in jira but one to jira in confluence.

I deleted the links and created the link between jira and confluence new.

I can create issues with the macro and click on the link to get to them, but i still get an indefinitely loading icon  
![08-04-2018 14-26-00.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/18969iCFBD1FAFFFBA2E15/image-size/large?v=v2&px=999 "08-04-2018 14-26-00.jpg")

which the results in following error  
![08-04-2018 14-31-46.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/18970i939327B3D4B36EB3/image-size/large?v=v2&px=999 "08-04-2018 14-31-46.jpg").


Tags: jira

macro
How do I add user to a distribution list in confluence?
Asked by Sherjeel_Kazmi:

I want to add a user to a Confluence DL so that when I assign permissions to that DL on a specific page the user on it get access


Answers:
author: AnnWorley
body: The term distribution list implies an email list, I hope this is not what you are looking for.

Confluence has groups that are handy for assigning permissions, though they are not associated with mail.

To add a user to a group, go to User Management and choose the group, then add the user, or you can choose the user and add them to the group.

Here is the documentation for Confluence Cloud:

[Manage groups](https://confluence.atlassian.com/cloud/manage-groups-744721627.html)

and Confluence Server:

[Adding or Removing Users in Groups](https://confluence.atlassian.com/doc/adding-or-removing-users-in-groups-138321.html)

I look forward to hearing whether this is the information you are seeking.
Server base url from localhost to wiki.domain name.org
Asked by Ababacar Samb:

I am new to confluence. I have installed confluence server on a windows server 2012 R2. Now I am accessing the site using localhost but I would like to change the base url to [www.wiki.domainname.org](http://www.wiki.domainname.org). I keep getting error message that the server url is not the same as the one used to access confluence. Can you please help?


Answers:
author: Suren Raj
body: Hi, Ababacar.  

Can we know the steps taken to change the base URL?  

You also may refer to the following link to know how to use different base URL than localhost:

* <https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-753894340.html>
* <https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html>

comments: author: Ababacar Samb
body: Hi Surren,

I am going to the general configuration settings and update the url. That is where I am getting the error message. So if I understand correctly, I need to update the context path on both the server.xml files?

Please let me know. I am new to this and struggling a bit.

Thanks,

Ababacar
Creating a page that's a database for a user to interact with
Asked by Steven Erickson:

How can I turn an Excel file into a page on Confluence that allows a user to be able to filter and search based on the content in the file?

More specifically, the Excel file I have lists over 100 data claims. Each row contains additional information on the data claim. That includes creation date, expiration date, JIRA ticket #, source, type of claim, and the topic of the claim. There can be up to 4 topics of the claim (so there is four columns for "topic").

My goal is to create a page and allow a user to search by either topic, source, or type of claim. For example, if they are looking for an internal claim (type of claim) that's focused on topic abc, they'll be able to click a few buttons and it'll bring up claims that meet that criteria.

What's the best tools to build this type of page?


Answers:
author: Minh Tran
body: [@Steven Erickson](/t5/user/viewprofilepage/user-id/1207517) As far as i know there is not any way to do that in Confluence by default.

However you can still display your excel in Confluence. You can check it out here <https://confluence.atlassian.com/doc/office-excel-macro-375849173.html>
Unable to Delete Attachment
Asked by Samuel Carlisle/Nidhi Kalra:

There's a Word document in search results that I'm able to open but not delete even as an admin. It doesn't appear as one of the attachments on its page to delete it through the interface.

Document name: "TMD 2015 Performance Evaluation Form.doc"

URL: \[domain/space/page\]?preview=%2F23662222%2F23662320%2FTMD+2015+Performance+Evaluation+Form.doc

How can we delete this file?

We recently upgraded to Confluence 6.7.1 from a version 5.


Answers:
author: AnnWorley
body: I am afraid you are running into [Deleted Attachments Returning in Confluence Search Results](https://jira.atlassian.com/browse/CONFCLOUD-40833).

A space admin may perform this workaround to get rid of the file:

1. Delete the attachment from the trash by going to Space Tool \> Content Tools \> Trash \> choose the deleted attachments \> Delete
2. Purge the trash by going to Space Tool \> Content Tools \> Trash \> purge

I look forward to hearing the results.

comments: author: Samuel Carlisle/Nidhi Kalra
body: That worked, Ann.

Thanks so much for helping me multiple times.

Sam


Tags: attachment

permission
Gliffy flow chart won't show up Confluence Page
Asked by Kaitlyn:

I made a Gliffy Flowchart and only a small portion of the left side shows up when I click Save. In both edit and preview it shows up no problem. I can also view it if I click full screen from my page.


Answers:
author: Kaitlyn
body: I changed the page layout and move the flow chart the first larger portion on the left side and it worked like a charm.


Tags: gliffy
Space Tool button gone missing
Asked by Cindy Phan:

Hi,

I just created a space for our team here:

<https://confluence.eng.vmware.com/display/AOM/AOM>

I don't see an option for Space Tools for me to update the URL or add team members. Can you please advise whether I have admin rights or not?

Thanks,

Cindy


Answers:
author: Sloan
body: Hey [@Cindy Phan](/t5/user/viewprofilepage/user-id/1207436)

from your description it seems likely you do not have permission to administer this space.

Sadly, we can't check if you have admin permission or not, please contact your Confluence administrator**.**

Or if you have Confluence Admin permission check Administration -\> Space Permissions, look for your space and you should be able to access the permissions.

Best Regards  
Niklas

comments: author: Cindy Phan
body: Thanks for response Niklas. I am not the admin. How do I know who my Confluence administrator is as it's not listed anywhere...:-(


author: Sloan
body: Do you have an internal IT Support? I'd start there.
Prepopulating Pages in a new Space?
Asked by Mike Neupert:

Hello,

We'd like to add Spaces for all our customers and have it auto-add the pages we'd like instead of doing it manually.

Is there a way that, when creating a new Space, you can set it to automatically add certain page templates?

I guess I'd like to create a 'Space Blueprint' along with being able to make Page templates.

Thanks,

Mike


Answers:
author: Sloan
body: Hi [@Mike Neupert](/t5/user/viewprofilepage/user-id/1207407)

Confluence by itself doesn't provide any functionality like this.

I think there should be add-ons fulfilling your requirement.  
I had a quick search, maybe the [Space Tree Creator (copy space)](https://marketplace.atlassian.com/plugins/eps.focuspro.SpaceTreeCreator/server/overview) helps?

Best Regards  
Niklas
How to link an individual status macro to another page
Asked by maryellen.gonzales:

I am trying to update individual status macros on one page and have them populate to another page. Is this doable?

Example: I'm project planning and have individual project pages. I want to update the status on my project page then have it update the program summary page.


Answers:
author: Ada Chen
body: Hi [@maryellen.gonzales](/t5/user/viewprofilepage/user-id/1207365) - You can try using the Excerpt macro to populate the other page: <https://confluence.atlassian.com/doc/excerpt-macro-148062.html>

Your set up will depend on how much information you want to be populated on the other page (eg. if you want to carry over a whole table).


Tags: developer
[CLOUD] Format code block on PDF export with stylesheet (CSS)?
Asked by Jeremy Hranko:

The font used for code blocks on a space export is disproportionately large with respect to the rest of the content.

Is it possible to modify the font of the code block macro on export?


Answers:
author: Jeremy Hranko
body: Eventually I was able to fix my own issue by adding the following to my CSS

```
/* Format code block macro font */ 
.code pre
{
font-size: 12px;
}?
```

comments: author: Erica Cunningham
body: This works for server too, you saved me a lot of headaches by posting this fix. Much appreciated!


author: Daniel, Ashley
body: I have a question on this. This works very nicely but what if I have many code blocks on my page and I want each of the code block font to be a different color... do you by chance know a way to do this? code pre is what is listed for each block I do, so it if I assign it a color it does it for all. I put a screenshot below. Any help would be great... I've been going round and round trying to modify things to add to my PDF Stylesheet

![code blocks.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/220227iC2D53D3999835464/image-size/large?v=v2&px=999 "code blocks.PNG")


author: Jeremy Hranko
body: I don't know of a way to do it. You'd have to be able to distinguish between the different code blocks by using a unique class or other identifier, but the Confluence editor (at least on Cloud) doesn't give you a way to do that, as far as I can tell.

Maybe someone more savvy than me can help out. Good luck.


author: Daniel, Ashley
body: I essentially figured out a workaround using Pre Macro.. I copied a lot of different styles and added it to the inline style box of the macro.. its still essentially the code block just now I can edit font color and stuff.


Tags: atl-adm

confluence-cloud
Using decorators to show UI elements on custom pages in a Confluence Server plugin
Asked by paul.folder:

Hi everyone,

I am building a Confluence Server plugin.

I have a custom web item and a custom XWork action.

The web item is located in the Actions menu of a page:

![Confluence Web Item.png](/t5/image/serverpage/image-id/18878i52028755E55FDEC6/image-size/large?v=v2&px=999 "Confluence Web Item.png")

When I click the web item, it takes me to the view returned by the XWork action. However, I have only gotten the atl.admin and atl.general decorators to work.

Here is the Velocity template:

```
<!DOCTYPE HTML>
<html>
<head>
 <title>Hello World - in title</title>
 <meta name="decorator" content="atl.general"/>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
```

And the resulting view:

![Confluence General Decorator.png](/t5/image/serverpage/image-id/18874iFD3A03E37B8E45C3/image-size/large?v=v2&px=999 "Confluence General Decorator.png")

How can I get my custom page to show the Spaces sidebar to the left, the breadcrumb and various interaction options at the top of a page (Share, Like, etc.) and the Comment section at the bottom?

![Confluence Missing Decorators.png](/t5/image/serverpage/image-id/18879i1D4AB82B1E3E923F/image-size/large?v=v2&px=999 "Confluence Missing Decorators.png")

I have some experience with developing JIRA plugins where it was relatively simple to get a custom page to show e.g. in the Project Settings. Confluence seems to be a different beast so far.


Answers:
author: Zachary Hayes
body: Those sections are web panels, try these as web panels-- atl.page.left.sidebar for the left sidebar, atl.page.metadata.banner for the breadcrumbs, and atl.comments.view.bottom or atl.page.content.footer for the comment section
Copying a page or downloading attachments fails for just one user
Asked by Holger Maier:

Hi,

One of our users who works with Confluence frequently suddenly cannot copy a page or download attached files anymore. She was able to do so, but now in both cases the page shows a dark-grey layer on top of the page with a rotating 'busy' circle in the middle and that's it, nothing else happens. This strange behaviour is independent of the browser used (Firefox or Internet Explorer). Other users logged on to the same computer can work without problems.

This may not necessarily be a problem caused by the Atlassian software, however I have no idea where else I should search for a solution. Did you ever encounter a similar phenomenon? If yes, how did you solve it?

Thanks a lot for your help!

Best regards,

Holger


Answers:
author: Mirek
body: Is there any entry in the log for that event? This should give a clue. If not having access to the logs I would recommend checking all differences between this user and other that are able to copy the page. Can he copy other page on the same space or it is only related to only specific page? Please check if the user added the page as favorite or add a personal label, watch the space or this specific page that user want to copy.

comments: author: Holger Maier
body: Hi Mirek,  

<br />

<br />

Good point! I started the Log analysator, it found two issues:  

- After upgrading Confluence, you are unable to create new pages or spaces  

- Document Contents Are Not Searchable  

We'll follow the recommendations and check whether they fix the issues.  

<br />

<br />

Thanks,  

<br />

<br />

Holger


author: Holger Maier
body: Hi Mirek,

We had a close look at the results of the Confluence log analysator. The issues it found had already been fixed earlier or are not directly related to our issues.

Do you have any other ideas? The user I mentioned is not able to copy any page on the same space, although she could copy pages before. Her access privileges were not changed. Access to these pages are not restricted in any way.

Thanks,

Holger
Please add possibility to edit sections
Asked by Stefan E:

Here it states that it is not possible to edit sections

<https://confluence.atlassian.com/confkb/can-users-edit-individual-sections-within-a-page-199206.html>

Redmine already supports this since 2008.

Please add support for at least editing sections that are defined by using headings.


Answers:
author: Roman Kirilenko
body: Take a look at [this](https://marketplace.atlassian.com/plugins/confluence.extra.cipe/server/overview) add-on. It does exactly what you need.

comments: author: Stefan E
body: Thank you for the link. We already spend money for confluence and I am not willing to spend more to get features that should be provided by confluence directly. Currently I have the feeling that I'll use Redmine instead.


author: Andreas
body: I'm sorry but I don't get the point of this question. Can you explain this in more detail?

<https://jira.atlassian.com/browse/CONFSERVER-5913> is resolved and so it is already possible to edit sections on a Confluence page.

For more information on how to layout pages in Confluence see: <https://confluence.atlassian.com/doc/page-layouts-columns-and-sections-275188613.html>

comments: author: Stefan E
body: Thank you for clarification. I was expecting that

a) Each header would provide an edit button when I hover over it. Currently I have to 1. scroll up a bit to enable the top toolbar and 2. move my mouse all the way up to the top of the screen to use the single edit button. I do not find this very comfortable.

b) I would expect to only see the content of the section I want to edit. Currently I see the whole content of the page. Also see comments on bottom of your linked ticket.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/18880i6219A7E080171641/image-size/large?v=v2&px=999 "image.png")


author: Stefan E
body: Please update the misleading and outdated FAQ page that I linked.


author: Andreas
body: Looks like an interesting improvement to me. Feel free to open up a feature request for that. Here you can find information on how to do this: <https://confluence.atlassian.com/confeval/billing-and-licensing-evaluator-resources/customization-and-professional-services/can-i-request-a-feature>
> Please update the misleading and outdated FAQ page that I linked.

I'm sorry but I can't help you with that. Someone at Atlassian has to take care of this.


author: Stefan E
body: \>Feel free to open up a feature request

That is what I just did with this question because I was not able to create an issue in the first place... As a customer I expect atlassian to do the rest now.


author: Andreas
body: You should be able to log in with the same credentials that you use here.

This here probably isn't the right place for a feature request.


author: Stefan E
body: I totally agree.. nevertheless the creation of the issue ticket did not work.
Number of attachments per page
Asked by Matthias Dannhorn:

Hello Community

I use the attachment macro. Is there an option to set the number of attachments per page? Similar to the task report macro?

The problem is that there are super long lists at the end of the page and I do not want to have an extra page for attachments.

Thank you for your support


Answers:
author: Thomas Schlegel
body: Hi Matthias,

I don't think so.

Maybe you can wrap your attachments macro with an expand macro, so the attachments are not visible until someone expands them.

comments: author: Matthias Dannhorn
body: Hi Thomas,

I think so, too. Your suggestion is a workaround that works, not elegant but ok.


author: Andrey Khaneev _StiltSoft_
body: Hi Matthias,

Another workaround if you have [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro is to use [Freeze first row](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-FreezingFirstNRows/Columns) option. It will look like the first table [here](https://demo.stiltsoft.com/display/tblfilter/Managing+Look+of+Tables?src=contextnavpagetreemode).
Cutting of table with Ctrl+X keeps table sceleton instead of removing the table completly
Asked by Stefan E:

I post this here because I was not allowed to create a new issue ticket. \*grmpf\*

If I cut and paste a table with Ctrl+X, Ctrl+V I would expect that the original table is completely removed. However, an empty table remains that I still have to manually remove.

This is very annoying if I have to move a lot of tables.

=\>Please remove the table completely when pressing Ctrl+X.

I use confluence 6.7.2

Before Ctrl+X:

![image.png](/t5/image/serverpage/image-id/18858iE377BA14D9B6C7B1/image-size/large?v=v2&px=999 "image.png")

After Ctrl+X:

![image.png](/t5/image/serverpage/image-id/18859i24B3993577F776F2/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Alana Fernando
body: hi [@Stefan E](/t5/user/viewprofilepage/user-id/1207119)!

there is a feature request ( [CONFCLOUD-58293](https://jira.atlassian.com/browse/CONFCLOUD-58293) ) related to your suggestion. you may comment, vote and watch the suggestion. so that they will consider on implementing the feature in there future releases. :-)

**Reference:**

1. [CONFCLOUD-58293](https://jira.atlassian.com/browse/CONFCLOUD-58293)
2. [Implementation of New Features Policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)

hope this helps :-)

comments: author: Stefan E
body: Or I switch the product... Confluence seems to be full of bugs.


author: Suren Raj
body: Hi, Stefan.  

I'm afraid you hit the following bug:

* <https://jira.atlassian.com/browse/CONFSERVER-36184>

The workaround is to use cut from the Editor.

I would strongly suggest that you add it to your watchlist for future updates. I also suggest you comment on the bug, that way our Bugmaster can see how this problem is impacting your business.