youngmon/atlassian-qna huggingface dataset:
Numbered column of table is too wide when exporting to PDF
Asked by Michelle Oliveri:

Using the new editor, I've added a table with a numbered column. The published version looks great, but the PDF Export extends the numbered column to half of my page. Is there a way to adjust the width of the numbered column? ![Number Column issue.png](https://community.atlassian.com/t5/image/serverpage/image-id/73305iC5C9B3FBB8469F78/image-size/large?v=v2&px=999 "Number Column issue.png")


Answers:
author: Herve Frydlender
body: Him

Try to add this in PDF stylesheet :

```
/* Fix default behavior on table's column width */
table
{
    table-layout: auto !important;
    width: auto !important;
    word-wrap: normal;
}
```

comments: author: Michelle Oliveri
body: Hi Herve,

Thank you for the code - it actually worked to adjust my columns! The only problem is that now my images are not showing in the table (unless they are really small). Is there something to add to the code to trigger images to show?

Thanks,

Michelle


author: Poorvi Jhawar
body: Hi [@Michelle Oliveri](/t5/user/viewprofilepage/user-id/1065191)

Please confirm that the table is responsive.

Even if it is responsive, I would recommend you to change it to fixed width and then responsive again. Export it and this should do the trick.

Let me know how you go :)

Cheers

Poorvi

comments: author: Michelle Oliveri
body: Hi Poorvi,

Do you know where the fixed width / responsive toggle can be found in the new editor?

So far, I am not seeing it.

Regards,

Michelle


author: Poorvi Jhawar
body: Hi [@Michelle Oliveri](/t5/user/viewprofilepage/user-id/1065191)

My bad, you are using the new editor. There is no way to change it currently in the new editor.

<https://community.atlassian.com/t5/Confluence-questions/What-happened-to-responsive-table-widths/qaq-p/1020187>

Cheers

Poorvi


author: Michelle Oliveri
body: This is very strange. When I first add a table and enter information, the PDF Export stretches my numbered column to half the page (as shown in the picture). However, at some point, the table eventually starts working properly (numbered column staying at a decent width on the PDF Export). I have no idea what is triggering it to work suddenly. I simply kept trying to add different images and kept exporting my page. At some point, the table adjusted (even with no images in the table). Just wanted to share!

Now if I can get the editor to show me my Excerpt Includes in edit mode! (But that's a different issue. :) )

comments: author: Poorvi Jhawar
body: Thanks [@Michelle Oliveri](/t5/user/viewprofilepage/user-id/1065191) for sharing your experience, it will help when others have a similar problem :)


author: Christal Vandecar
body: Having the same issue. Not sure how to fix it. Why does the exported PDF give the numbered column so much space?


Tags: cloud

confluence-cloud
Data from templated pages creating a Summary page
Asked by Scott Barnes:

I have a template that has various tables and fields that would be too much content to see from a high level what is going on with this process.

What I am looking to accomplish is to keep using each page created from the template to track the specific project, but have a page where each new page created from that template shows selected fields/progress to show from a high level where the individual projects stand.

If anyone has any ideas or questions on this, please let me know!


Answers:
author: Shannon S
body: Hi Scott,

Thank you for contacting us about this. Happy to help!

You might be able to use [Page Properties Report Macro](https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html) in conjunction with the [Page Properties Macro](https://confluence.atlassian.com/doc/page-properties-macro-184550024.html).

Essentially you use the Page Properties macro to collect information on the individual pages, and then display it in the Page Properties Report Macro using key/value pairs.

Have a look at that and let me know if that would help you.

Regards,

Shannon


Tags: cloud

confluence-cloud

template
How do you add files from another page?
Asked by Shannon Engler:

With the old editor, I was able to upload all my documents for a space to a file list for that space, and when I created a new page, I could just "add Files/Images" to the new page using the uploads from the file list. That way, when I wanted to insert a new version, I could just go to the file list and upload a new version. I like this method because it tracked all of my uploads as different version.

With the new editor, I cannot find a way to search for files on other pages/spaces in Confluence. The Files \& Images button only gives me the option to upload new ones, or upload the same images or files I've uploaded to a specific page (not the file list) on any pages using the new editor. Or I can use Google Drive, Giphy, or Dropbox.

Additionally, I uploaded the documents to the file list and am not able to search for them to do a simple link any more either. I click the link button and it only lets me see pages I've recently been to or I can copy and paste a link. There is no search functionality.

Am I missing a setting somewhere or is there a workaround that someone has found for this?


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Shannon Engler](/t5/user/viewprofilepage/user-id/1160186) ,

Yes, Files \& Images button only gives the option to upload new ones, or upload the same images or files available on Google Drive, Giphy, or Dropbox.

Uploading the documents/files to the **Files \& Images** button will show them under the **Recent uploads**.

In the **Recent uploads**, you should be able to view all the uploaded documents/files in other pages and within space and in case they are missing, try in a different browser and make sure to clean the cache, cookies on the browser.

Using the**link** button, you will be able to link the pages but not the files/documents.

Thanks,

Kiran.


author: Thomas ?hrbom
body: Link Search is severely broken (see [CONCLOUD-65363](https://jira.atlassian.com/browse/CONFCLOUD-65363)).


author: Fabienne Gerhard
body: Hi [@Shannon Engler](/t5/user/viewprofilepage/user-id/1160186)

I also stumbled across this and it's a mess that search function is not given in anymore (hopefully it's 'not yet').

There is a workaround mentioned by [@Helen Gosper](/t5/user/viewprofilepage/user-id/544620) mentioned in this [post here](https://community.atlassian.com/t5/Confluence-discussions/Try-out-the-new-editing-experience/td-p/1000813/page/5#M5135). It's more like a copy\&paste of an existing page but it's working - hope this helps.

Good luck!

comments: author: Shannon Engler
body: This is ultimately what I ended up doing when I was struggling with it yesterday. Thank you!


Tags: confluence-cloud
How can I add metadata when creating a new page via REST API?
Asked by Tom Hudgins:

I'm using the Confluence REST API to create new pages. That works great but I now need to add some metadata to a new page and I'm having difficulty with how to do that. Based on the schema for content creation resource, I'm sending this payload in my POST call

```
{'type':'page',
'title': 'My Title',
'space': 'My Space',
'metadata': { 'userid': 'myid'},
'body': ...
}
```

Everything works except that when I go to read the page (expanding metadata), I don't see my metadata. All I get is something like this:

```
"metadata": {
"_expandable": {
"labels": "",
"frontend": "",
"currentuser": "",
"editorHtml": ""
},
"properties": {
"_links": {
"self": "https://<server>/rest/api/content/86945505/property"
}
}
```

I'm not sure what I'm missing. Should I be able to set my own metadata on the page?

I do see the information about Content Properties but that requires an extra call after the page is created that I was hoping to avoid.

Thanks for any insight


Answers:
author: Prerak Shah
body: Yes, I have the similar doubt


Tags: confluence-server

rest-api

server
Inetgrate Remedy BMC (Reporting) into Confluence
Asked by Paula Kay:

I'd like to be able to display or present Remedy reports onto a Confluence Page. I'm not finding any macros to do this. The problem is the ability to login to Remedy via the link which seems to be problematic and the source of the problem. Any suggestions here?


Answers:
author: Julien Doolaeghe
body: Hi There,

I have the same interest, I might not help on finding a solution, but if you find something please update on the topic.

I'll do the same with whatever i can identfy

Cheers,   
Julien


Tags: confluence-server

server
Is there a way to search to see if a group is attached to more than one space/page?
Asked by Delta Dental:

Is there a way to search to see if a group is attached to more than one space/page?


Answers:
author: Poorvi Jhawar
body: Hi [@Delta Dental](/t5/user/viewprofilepage/user-id/2050246)

There is nothing native for this, however, I found this Knowledgebase article which certainly help you with what you need. You'll need to run SQL queries.

<https://confluence.atlassian.com/confkb/how-to-list-which-spaces-a-group-can-access-720636535.html>

Let me know if this answer's your question :)

Cheers

Poorvi


Tags: confluence-server

server
User is not able to Update the Confluence pages
Asked by Vinod Patel:

Hi,

Issue with Users. Not able to update or view Confluence pages.


Answers:
author: Scott Theus
body: HI [@Vinod Patel](/t5/user/viewprofilepage/user-id/3640754) ,

Can you help with more information?

What happens when they try to update a page? Are they getting error messages? Do they have "Update" permissions?

-Scott
Access to API Rest blocked by CORS
Asked by amasik:

Hi!

I want to call the API REST Confluence for my confluence server in Sharepoint's React.js code.

But I have this issue:

Access to XMLHttpRequest at 'http://confluence-server' from origin 'http://sharepoint2019' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I already add http://sharepoint2019 in the whiteliste of my confluence server.

Thanks in advance


Answers:
author: Shannon S
body: Hello [@amasik](/t5/user/viewprofilepage/user-id/3625564),

Thank you for reporting this to us. I'm aware of a bug where adding the URL to Allow Incoming in the Confluence whitelist isn't adding the necessary header.

* [CONFSERVER-41269](https://jira.atlassian.com/browse/CONFSERVER-41269) *Access-Control-Allow-Origin header missing from Confluence CORS implementation*

There's a workaround on that bug where you can add the header yourself:

* Add the header via Tomcat by adding the following to \<confluence-install\>/confluence/WEB-INF/web.xml:  

  ```
      <!-- Tomcat built in CORS implementation -->    <filter>      <filter-name>CorsFilter</filter-name>      <filter-class&gt;org.apache.catalina.filters.CorsFilter</filter-class&gt;    </filter>    <filter-mapping>      <filter-name>CorsFilter</filter-name>      <url-pattern>/*</url-pattern>    </filter-mapping>    <!-- End of built in CORS implementation -->
  ```

* If using Apache as a reverse proxy, add the following to the \<Location\> or \<VirtualHost\> configured for Confluence (reference: [CORS on Apache](https://enable-cors.org/server_apache.html "Follow link")):  

  ```
  Header set Access-Control-Allow-Origin "*"
  ```

<br />

Can you try that, and let me know how it goes?

Regards,

Shannon


Tags: atl-adm

confluence-server

rest-api

server
Confluence cloud I get this error Could not load unknown macro in the macro browser
Asked by dan_marcantel:

I am trying to make an executive dash board I get this error trying to insert gadgets that already exist.

Could not load unknown macro in the macro browser.

What could be going on?


Answers:
author: Shannon S
body: Hi Dan,

Thank you for reporting this to us.

This was a known issue at the time, and was raised in a bug ticket below (as you discovered via the support ticket you also raised):

* [CONFCLOUD-68530](https://jira.atlassian.com/browse/CONFCLOUD-68530) *Unable to use Jira gadgets/filters from macros in Confluence*

The issue was reverted 2 days ago, and you should no longer be experiencing this issue.

Could you please confirm?

Regards,

Shannon


Tags: cloud

confluence-cloud
What happened to the Code macro?
Asked by Chris Tully:

I just went add a new page to our Wiki and was for the first time forced into the new editor. It was bad enough to have some tools renamed so that I could not find them....

For example, I was used to going to the dialog listing and searching for "cod" to fine the Code macro. Doing that in the new editor turns up nothing. I finally noticed that there is now a Code Snippet macro on the menu, so I no longer have to search for it.

But having features taken away is supremely frustrating. In the old editor, I could set the background for my code snippets to black, and I could turn line number on or off it will, and I could set a title. In the new editor all three options are missing. I can set the code language or delete the snippet, but that is it.

How do I access the missing features?


Answers:
author: Shannon S
body: Hello Chris,

Thank you for contacting us about this.

As you discovered, the code macro was removed from the new editor and replaced with the Code Snippet command (type /code).

We have a feature request for further customization within the Code snippet:

* [CONFCLOUD-66437](https://jira.atlassian.com/browse/CONFCLOUD-66437) *Allow further customization of the "Code" macro in the new editor*

If you notice any other features are missing, have a look at the [Cloud Editor Roadmap](https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html) and there may be a feature request or bug for that missing feature.

Have a look at [Atlassian Marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=code%20macro) in the meantime. There are a few code block add-ons that you can use in the meantime that allow for the type of customization that's missing from the new editor.

Regards,

Shannon

comments: author: Chris Tully
body: In my opinion, pointing a customer to the Market Place for community contributed replacements for a deleted feature is a cop out. Clearly the new editor was not fully finished before it was pushed out in the wild and forced on everyone.


Tags: confluence-cloud
Spaces
Asked by Scorpion:

I am unable to create spaces under the free plan. Says contact admin. I am the admin.

There is no access on the free plan for the spaces settings.

I also do not see the new space I created while signing up for Confluence on Cloud.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Scorpion](/t5/user/viewprofilepage/user-id/3640605)

Can you share a screenshot please? Can you go to the cog and then global permission? What do you see?


Tags: cloud

confluence-cloud

space
Best Practices for Disabling verus Deleteing Users on Confluence Server
Asked by Jonquil Williams:

As a system and space admin, I am involved in determining our policies for disabling versus deleting users in Confluence. Right now we are not integrated with JIRA, but at some point we may do so. I've read through the basic guidelines about the pluses and minuses to deleting users. Does anyone have any feedback regarding deletion, such as:

1. Do you immediately disable anyone who is not eligible for rehire?

2. For other users, do you disable for a period of time (e.g., 6 months, a year) and then delete the user if they do not return to the company after that time period?

3. Do you have a policy to never delete users (or never delete users that are eligible for rehire)?

4. If your policy is only to disable users, have you run into any problems with the user list getting too long to be manageable? If so, did you find a way to deal with that situation?

Of course our managers will have input to our policy, but I want to present the answers to these questions as part of our discussion.

Thank you.


Answers:
author: JP _AC Bielefeld Leader_
body: Hi,

1. Yes, but we disable the user in our AD

If you plan to have more than two applications and/ or more than 10 users think about adding an Active Directory or LDAP server to your environment. Otherwise there will be the issue that you forget to disable someone somewhere...

2. / 3. Deleting a user is done after a year or (GDPR) if the user requests this. This relates to "Unknown user" entries in pages \& comments. There are tools allowing to anonymize all user entries, if someone leaves the company.

4. AFAIK disabled users are not shown in user lists \& cannot be mentioned or used for sharing pages.

Disabled users do not count toward your license count.

Best

JP

comments: author: Jonquil Williams
body: Thank you very much!


Tags: confluence-server

server
Limit search to current space
Asked by Daniel Wal:

There needs to be a way to limit the full search (when the user hits \<Enter\>) to the current space. The LiveSearch macro only limits the dynamic search to the current space (when the spacekey is set properly, of course).

This really shouldn't be so difficult to figure out/implement.


Answers:
author: Shannon S
body: Hello Daniel,

Welcome to Atlassian Community! It's nice to meet you.

It's not possible to restrict the search in Quick Search, only in the Full Search.

We had a feature request for this in the past, but it was closed as we don't have plans to implement it:

* [CONFCLOUD-13704](https://jira.atlassian.com/browse/CONFCLOUD-13704) *Make the quick search configurable to space or global*

You can use the [Livesearch Macro](https://confluence.atlassian.com/confcloud/livesearch-macro-724765225.html) in a page instead if you want to quickly restrict a search to a single space.

Let me know if you have any questions about that.

Regards,

Shannon

comments: author: Daniel Wal
body: Hello,

I am using "LiveSearch" - it only limits to the configured Space if user doesn't hit \<ENTER\>. This really should be implemented in Cloud.


Tags: cloud

confluence-cloud
Force spacing between macros?
Asked by Jan Dan:

Hi all. I have a problem with my page formatting - I have several expand macros to a page, and they are listed really closely together. I would like to add space between them. However, no matter how many spaces I put between them on the edit page, when I publish it, the line breaks do not appear. I have tried using enter, as well as shift+enter, and I cant seem to get it to work. Any suggestions?


Answers:
author: RM
body: Something that's worked for me in the past on a server instance is to add a space, type a few characters, and save/publish the page. Then edit the page, delete the characters, but not the space (if possible), and save/publish.

Another option is using the Divider (i.e., horizonal line) available under the Macros dropdown. It automatically adds a space above and below. Of course, then you have a line....

For a server instance, if you have the (free) source editor macro, you could try adding paragraph tags (\<p\>\</p\>) between each expand macro. I've only started using cloud recently, and haven't found a similar one.


Tags: cloud

confluence-cloud
Own Theme / Template for Mobile Version?
Asked by Hauke H?rhold:

Hi,

is it possible to re-design the mobile version of Confluence?  
I want to change colors, logos and other stuff.

For the normal version you just can create a template-plugin, for I can't find anything like this for the mobile version.

Ideas? Or isn't it possible?


Answers:
author: JP _AC Bielefeld Leader_
body: Hi,

are you referring to the mobile APP or the mobile VIEW (Opening the URL in a browser on a mobile device?

The APP cannot be customize, for the mobile view there are several options (colors, logos) or apps/addon from the marketplace. We use Scroll Viewport, an app which is also used by Atlassian.

Best

JP

comments: author: Hauke H?rhold
body: Alright, I disabled the Apps "Confluence Mobile Plugin" and "Confluence Mobile Web Plugin" (where is the difference?).

Now I should style my CSS with [@media](/t5/user/viewprofilepage/user-id/2657427) querys I read, but they don't really work?

Not so easy with mobile Confluence...

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

Okay, media queries work when I add `<meta name=``"viewport"` `content=``"width=device-width"``> to custom HTML HEAD (as mentioned here: `<https://community.atlassian.com/t5/Confluence-discussions/Confluence-for-Mobile-Devices-Without-quot-Confluence-Mobile/td-p/737498>`)`


Tags: confluence-server

mobile

server
Sorry, an error occurred trying to log you in. Please try again.
Asked by anshul18pixels:

Sorry, an error occurred trying to log you in. Please try again.


Answers:
author: Zak Laughton
body: Hi Anshul,

We'll need a few more details to help out here.

* Are you still experiencing this issue?
* Is this a server or a cloud product?
* Have you ever been able to log in?
* If so, have there been any changes you're aware of since the last time you tried to log in?
Problem to start Confluence Server 6.14.3
Asked by Oficina Calidad y Mejora Continua:

Hi! we have a problem to start Confluence Server.  
Log say:

<br />

org.springframework.beans.factory.BeanCreationException:  
Error creating bean with name 'queryAnalyzer' defined in class path resource \[indexingSubsystemContext.xml\]:  
Bean instantiation via factory method failed;  
nested exception is org.springframework.beans.BeanInstantiationException:  
Failed to instantiate \[org.apache.lucene.analysis.Analyzer\]:  
Factory method 'createAnalyzer' threw exception;  
nested exception is java.lang.VerifyError: Stack map does not match the one at exception handler 31

I try Rebuild the Content Indexes From Scratch, but not solve the problem. Some could help me please??it show these exception:

<br />

Exception Details:  
Location:  
com/atlassian/confluence/search/lucene/ConfluenceAnalyzer.(Lcom/atlassian/confluence/setup/settings/SettingsManager;Lcom/atlassian/confluence/search/lucene/analyzers/UserDictionaryFactory;)V @31: nop  
Reason:  
Current frame's flags are not assignable to stack map frame's.  
Current Frame:  
bci: @24  
flags: { flagThisUninit }  
locals: { uninitializedThis, 'com/atlassian/confluence/setup/settings/SettingsManager', 'com/atlassian/confluence/search/lucene/analyzers/UserDictionaryFactory', top, uninitializedThis, 'com/wily/introscope/agent/trace/IMethodTracer' }  
stack: { 'java/lang/Throwable' }  
Stackmap Frame:  
bci: @31  
flags: { }  
locals: { top, top, top, top, top, 'com/wily/introscope/agent/trace/IMethodTracer' }  
stack: { 'java/lang/Throwable' }  
Bytecode:  
0x0000000: 2a3a 0413 0121 1301 1c13 011e 1301 2001  
0x0000010: 1301 23b8 0114 3a05 2ab7 0001 a700 0c00  
0x0000020: 1905 b901 1a01 00bf 2a2b b500 02bb 0003


Answers:
author: JP _AC Bielefeld Leader_
body: Hm,

did you upgrade? If yes, what was the original version? Looks a bit like a Java version change...

Best

JP


Tags: confluence-server

server