youngmon/atlassian-qna huggingface dataset:
How to create PDFs using Java?
Asked by swisscompedia:

Hi there,

I am trying to create PDF exports of pages using the Java API of Confluence. I am using @ComponentImport PdfExporterService

This groovy code example works:

```
import com.atlassian.confluence.pages.Page
import com.atlassian.confluence.pages.PageManager
import com.atlassian.confluence.user.AuthenticatedUserThreadLocal
import com.atlassian.sal.api.component.ComponentLocator
import com.atlassian.confluence.extra.flyingpdf.analytic.PageExportMetrics;
import com.atlassian.confluence.extra.flyingpdf.PdfExporterService
import com.atlassian.user.User

Page page = ComponentLocator.getComponent(PageManager.class).getAbstractPage(114915234)
User user = AuthenticatedUserThreadLocal.getUser()
return pdfExporterService.createPdfForPage(user, page, "", new PageExportMetrics())
```

(I am using an own groovy console which allows me to inject a binding to the PdfExporterService)

Doing similar in Java fails with

```
java.lang.ClassNotFoundException: com.atlassian.confluence.extra.flyingpdf.analytic.PageExportMetrics
```

I played around with the class loaders a little, but nothing seems to help. How can I make the class loader find that class?


Answers:
author: David Herrera
body: Hey [@swisscompedia](/t5/user/viewprofilepage/user-id/4711197) how are you? Did you finally were able to solve this?

We are in the same situation. We tried to use the PdfExporterService and we got the same error because of the PageExportMetrics class not found.

Seems like they only exported first level classes of the package **com.atlassian.confluence.extra.flyingpdf**

But this is really weird as you cannot use this service without analytics classes.

The only service we could use is the **XmlToPdfConverter**. But we still got no successful results because some resources cannot be resolved (the contextPath parameter is best candidate to be wrong).

Did you opened a ticket to Atlassian for this? Maybe we should do it.

comments: author: David Herrera
body: <https://ecosystem.atlassian.net/servicedesk/customer/portal/14/DEVHELP-15335>


author: David Herrera
body: Updates: They have created a bug ticket, so there is hope of incoming versions with a fix. Feel free to vote!! :pray:

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


Tags: confluence-server

export

pdf

server
Mermaid Diagram - Move diagram to new page
Asked by Daniel Louw:

Hello,

I have a question about the Mermaid Diagrams plugin for Confluence.

I want to split my pages up, as I have a couple of them that have become too cumbersome and complex for a single page.

Is there a way to copy the diagrams into a new page, that does not involve recreating them from code? Copying the diagram element itself does not work it seems.


Answers:
author: Ste Wright
body: Hi [@Daniel Louw](/t5/user/viewprofilepage/user-id/1233769)

Given there's been no response on this answer - I'd recommend contacting the vendor directly to ask this question (assuming they have contact options).

To do this...

1. Go to the App's [Marketplace](https://marketplace.atlassian.com/) listing
2. Select the Support tab
3. Select a contact option from the right-hand menu

Let us know if you find a suitable resolution!

Ste


Tags: cloud

confluence-cloud
Adode Not Opened
Asked by Pax-NKUNGA:

The HKLM path is generically:

HKLM\\Software\\Adobe\\(product name)\\(version)\\AVGeneral\\bValidateBytesBeforeHeader=dword:00000000

For example, to change the behavior for Acrobat 11.0, create a DWORD at this location: HKLM\\SOFTWARE\\Adobe\\Adobe Acrobat\\11.0\\AVGeneral\\bValidateBytesBeforeHeader=dword:00000000

The HKCU path is generically:

HKCU\\Software\\Adobe\\(product name)\\(version)\\AVGeneral\\bValidateBytesBeforeHeader=dword:00000000

For example, to change the behavior for Reader 10.0, create a DWORD at this location: HKCU\\SOFTWARE\\Adobe\\Acrobat Reader\\10.0\\AVGeneral\\bValidateBytesBeforeHeader=dword:00000000

*Always change the product and version number in the preference path to match your installation. This method allows the PDF to display on machines you control.*


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Could you explain what this has to do with Confluence?
Is there a way to share the calculated field created under AIO reports?
Asked by Jino Kannen:

I have created a calculated field under my AIO report area, the same calculated field can be accessed by others if I use that field in a report and share the same report with others, however the other jira users under my organization not able to pick that calculated field from their own AIO report console. Is it possible to share a calculated field with other users?


Answers:
author: Sreeja Manchala {Appfire}
body: Hi [@Jino Kannen](/t5/user/viewprofilepage/user-id/3506922)   

Good day, I am Sreeja Manchala from the Bobswift support team. We have created a support ticket <https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-9819> to better track your request. However, we couldn't add you as a reporter. Please sign up using this link <https://bobswift.atlassian.net/servicedesk/customer/portal/1/user/signup> and share the user name/id. We'll then add you as the reporter of this request.

Regarding your query about the possibility of sharing the calculated fields with other users, we have an existing improvement ticket for introducing this functionality <https://bobswift.atlassian.net/browse/ART-124> with our development team that continues to be worked on by them and tracked. Please feel free to vote and add yourself as a watcher to the ticket so that you can get all future updates.

Note: If you are unable to access the request or vote for it, please review this link: <https://bobswift.atlassian.net/wiki/spaces/SUPPORT/pages/975012266/Access+a+development+request+provided+by+the+support+team>  

Regards,  
Sreeja


Tags: aio-reports

cloud

confluence-cloud
How can I get access to modify a page of the Confluence pages?
Asked by Andrea Goncalves:

Hi, I would like to modify the Targets \| Timeline page of the confluence, this one <https://criteo.atlassian.net/wiki/spaces/SOE/pages/1532428409/Targets+Timeline> how can I get access and be able to do this?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Andrea Goncalves](/t5/user/viewprofilepage/user-id/4795881) ,

welcome to the Atlassian community!

this should be a cloud instance and not a server one. BTW, you should request access to a space admin or a confluence admin within your organization.

Hope this helps,

Fabio


Tags: confluence-server

server
Table transformer - Multiple sql queries
Asked by Karthika_Natarajan:

I have a result table for which I used 3 table transformers. Because I wanted to use the result table of one query as a source table for the other since I add new columns to each query. Which is the best way to do it? I tried nested queries but it doesn't work.

My queries are like this

--Select rownum() as 'RN' , T1.'First column' from T1 -----\> **RN is the new column added**

--Select

case when rownum() in (2) then "Test" else null end as 'Status', T1.First column from T1**---- Status is the new column**


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Karthika_Natarajan](/t5/user/viewprofilepage/user-id/4730609) ,

You may try to nest the second query in the FROM destination of the first query. Here is an example for you:

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

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

SELECT \*,  
CASE WHEN 'RN' = 2 THEN "Test"  
ELSE NULL  
END  
AS 'Status'  
FROM (SELECT rownum() as 'RN', T1.'Project' FROM T1)

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

Hope this may help your case.

comments: author: Karthika_Natarajan
body: Thank you [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) , But I create few new columns in my query I get this error **'TypeError: Cannot read properties of undefined (reading 'RN')'**

SELECT  
CASE  
WHEN T1.'RN' IN (1,5,9)  
THEN "Test"  
WHEN T1.'RN' IN (2,6,10)  
THEN "Dev"  
WHEN T1.'RN' IN (3,7,11)  
THEN "Int"  
WHEN T1.'RN' IN (4,8,12)  
THEN FORMATWIKI("{cell:bgColor=#E3FCEF}Total {cell}")  
END AS 'Status',  
CASE  
WHEN T1.'RN' IN (1,2,3,4)  
THEN T1.'Project' END AS 'Car',  
CASE  
WHEN T1.'RN' IN (5,6,7,8)  
THEN T1.'Project' END AS 'Auto',  
CASE  
WHEN T1.'RN' IN (9,10,11,12)  
THEN T1.'Project' END AS 'Bus'  
FROM (SELECT ROWNUM() AS 'RN',  
T1.'Project' FROM T1 WHERE T1.'Project' NOT IN ('Project'))


author: Katerina Kovriga {Stiltsoft}
body: Try to remove the T1."XXX" reference from the first part of your query:

SELECT  
CASE  
WHEN T1.'RN' IN (1,5,9)  
THEN "Test"  
WHEN T1.'RN' IN (2,6,10)  
THEN "Dev"...

----\>

SELECT  
CASE  
WHEN 'RN' IN (1,5,9)  
THEN "Test"  
WHEN 'RN' IN (2,6,10)  
THEN "Dev"...

The query tries to look for the "RN" column in the first table but there is no this column at this stage, we add it in the end of the query.

My original example looks like that:

SELECT \*,  
CASE WHEN **'RN'** = 2 THEN "Test"  
ELSE NULL  
END  
AS 'Status'  
FROM (SELECT rownum() as 'RN', T1.'Project' FROM T1)


author: Karthika_Natarajan
body: It worked :) Thanks a lot [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746)


author: Katerina Kovriga {Stiltsoft}
body: That's great! Thank you for reaching out!


Tags: confluence-server

server
Adding Fields to Memebers profile
Asked by Moutaz mohammad:

I just wanna know if there is away to create a Field for all users under Group confluence-useres (Such as Personal Email , Another Address .. etc )

Thanks in Advance


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Moutaz mohammad](/t5/user/viewprofilepage/user-id/4790382) ,

you can do that using an external app like the following [https://marketplace.atlassian.com/apps/29106/user-profiles-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/29106/user-profiles-for-confluence?hosting=server&tab=overview)

Hope this helps,

Fabio

comments: author: Moutaz mohammad
body: So there is no other way to add or remove fields from the useres profile ?


author: Fabio Racobaldo _Herzum_
body: Not with builtin features


author: Moutaz mohammad
body: [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) thanks alot


author: Fabio Racobaldo _Herzum_
body: you're welcome [@Moutaz mohammad](/t5/user/viewprofilepage/user-id/4790382)


Tags: confluence-server

server
Why Confluence search is not searching files in connected folders, connected through Team Files app?
Asked by Sujith Voona:

I have connected Share point, Google drive and One drive to a Confluence space with Team files connector, The main idea of doing this is to gather all the files at one place so that it would be easier to search files. After connecting all the required drives when I do a quick search on Confluence search, which is on the top right of the Confluence page, the files inside these connected folders are not getting searched. There is a search button within the connected folder but it is not quite useful for us. We want files to get searched when we search in Confluence search.  
Is there any possibility that files can be searched across various connected folders or is there any app that can be incorporated to Confluence so that searching across various folders can be achieved?


Answers:
author: Robby Holtmann_IntraFind Software AG_
body: Hi [@Sujith Voona](/t5/user/viewprofilepage/user-id/4795683)

our search solution "[iFinder Confluence Search](https://marketplace.atlassian.com/apps/1220508/ifinder-confluence-search?hosting=server&tab=overview)" should match your request.

This is an Enterprise Search technology for a much better search in Confluence and the ability to connect further source (additional license cost) into like SharePoint, OneDrive, Google Drive, Jira, file share, cloud services, and many more.

With the new iFinder searchbar in your confluence you can search with one search query into Confluence and all connected sources. Everything is user rights proofed. Every user will only see and found content where he has rights on it.

Also included is our++iFinder Search Macro++, which displayed content from other source (and also Confluence content) direktly on a Confluence Page.

This enterprise search solution delivers top results based on linguistic analysis and offers many additional features. These articles may help you:

? [iFinder Confluence Search](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Enterprise-Search-for-Confluence/ba-p/1584172)

? [iFinder Search Macro](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/iFinder-Search-Macro-for-Confluence/ba-p/1717979)

Let me know, if you need further information or like to get a demo first.

Best

Robby


author: Pramodh M
body: Hi [@Sujith Voona](/t5/user/viewprofilepage/user-id/4795683)

Confluence quick search is only used for searching pages, spaces in Confluence, not the documents you have connected from different shared folders

Here's a guide

<https://support.atlassian.com/confluence-cloud/docs/search-for-pages-and-posts>

Thanks,  
Pramodh

comments: author: Sujith Voona
body: Is there any possibility that files can be searched across various connected folders or is there any app that can be incorporated to Confluence so that searching across various folders can be achieved?


author: Pramodh M
body: I have not come across any plugin as such [@Sujith Voona](/t5/user/viewprofilepage/user-id/4795683)


Tags: cloud

confluence-cloud
How to use Confluence on mobile browser
Asked by arkadi kaplon:

Hello,  
I have an iOS device, and I tried to enter my space via a browser of my mobile device instead of the computer. Confluence's visibility is not good in the mobile.

I read a bit on the internet and saw that it is possible to download applications such as Confluence data center and Confluence cloud, but in both, it is necessary to log in with a username and password. The thing is, my space is public and anyone can use it without the need to log in.

Is there a solution for users who do not have a user name in Confluence and want to use my space without registration because it is public?

Thank you


Answers:
author: Andy Gladstone
body: [@arkadi kaplon](/t5/user/viewprofilepage/user-id/4609745) by default, Public spaces will only be available via a browser on a mobile device. The apps are only for users that have credentials for a Confluence Site - either Cloud or Data Center.

Sorry I can't help more.


Tags: cloud

confluence-cloud

mobile
How to add Teams Calender in Confluence
Asked by Raju Mandapaka:

Hi Team,

Can some suggest/explain the process of adding Teams calendars in confluence.

Note : we are not premium users of confluence


Answers:
author: Britta Neugebauer _yasoon_
body: Hi [@Raju Mandapaka](/t5/user/viewprofilepage/user-id/4136783) ,

as [@Srinatha T](/t5/user/viewprofilepage/user-id/4686256) already pointed out, the native Team Calendar by Atlassian is only available in Confluence Premium.

In case you use Outlook calendars, you can add it to Confluence Cloud Standard with yasoon's app from the Atlassian Marketplace: [Outlook Calendars for Confluence \| Atlassian Marketplace](https://marketplace.atlassian.com/apps/1217554/outlook-calendars-for-confluence?hosting=cloud&tab=overview) (and it is **free** for up to 10 users). Please note, I work for yasoon, so I am a fan of the app :-P

Here you find a short demo:

<https://youtu.be/Y285YW6VG5A>

With this integration you'll be able to work with your Jira dates in Confluence.

Also, permission management for calendars is fairly easy and you can comfortably choose between different templates and view options.

I hope that could help.

Have a great day,

Britta


author: Srinatha T
body: Hi [@Raju Mandapaka](/t5/user/viewprofilepage/user-id/4136783) ,

Seems like its been moved to confluence cloud premium since addition of many business needs.

* [team-calendars](https://www.atlassian.com/licensing/team-calendars)

Thanks,

Srinath T


author: Srinatha T
body: Hi [@Raju Mandapaka](/t5/user/viewprofilepage/user-id/4136783) ,

Welcome to Atlassian community.

I am not sure about your entitlements . But below URL has all the info you need.

* [create-add-and-edit-calendars](https://confluence.atlassian.com/teamcal/create-add-and-edit-calendars-654213559.html)

I hope the above information helps. Have a good day.

Thanks,

Srinath T

comments: author: Raju Mandapaka
body: Hi [@Srinatha T](/t5/user/viewprofilepage/user-id/4686256)

Is that option is available in Confluence cloud???


Tags: cloud

confluence-cloud
How to to solve a problem with displaying graphics?
Asked by Jacek S?omski:

I have problem with displaying graphics on my board (see at avatars - screen below). It happened today when I tried to upload a new image into a new card. Currently I am not able to change graphic at the background too. Problem exists in many computers at many browsers. My collegues from my team doesn't have this problem and they could see graphics correctly. Please help :)![Zrzut ekranu 2020-08-19 o 19.31.56.png](https://community.atlassian.com/t5/image/serverpage/image-id/107255i1143FC2B46DF0C7B/image-size/large?v=v2&px=999 "Zrzut ekranu 2020-08-19 o 19.31.56.png")


Answers:
author: Soumyadeep Mandal
body: Hi [@Jacek S?omski](/t5/user/viewprofilepage/user-id/3697595) ,

You should have a minimum 1280x720p resolution on pc/mac and any other big-screen device.

For small devices use trello app from app store or from play store.

comments: author: Jacek S?omski
body: I have a big monitor (attached screen is only a part of my monitor).


author: Soumyadeep Mandal
body: You have to use at least 1280px wide space in your monitor to use the trello perfectly.

and also try to clear your browsing data and re-login to your account.


author: Jacek S?omski
body: Hi [@Soumyadeep Mandal](/t5/user/viewprofilepage/user-id/3861721) ,

My resolution is 2560x1600 so it is OK. I have this problem only with one board. My other boards are OK and graphics are shown OK. My collegues from my team could see this board correct so the problem is that only I, and only on one board, I couldn't see graphics. I am sure that my browser and monitor are OK because I have the same problem at this one specific board at many browsers on 2 different computers.

I guess that problem appered when I tried to create a new card and I tried to insert a graphic from my clipboard using ctrl+v. After that, graphics at this specific board crashed :/

Yes, I know. Sounds tricky :/


author: Jacek S?omski
body: I guess that it might be a problem with showing graphics at my Atlassian account. Because in other boards I am not able to set a photo at the board backgroud. I try to do that but photo at background doesn't appear. I am able only to set a backgroud colour.


author: Soumyadeep Mandal
body: Hi [@Jacek S?omski](/t5/user/viewprofilepage/user-id/3697595) ,

You can contact with trello team by asking trello support [HERE](http://trello.com/contact)


Tags: css

display

layout
How do I delete a public board I'm not the owner/admin of?
Asked by teamvanessamarin:

Can someone please tell me how to delete a public template from Trello???

It's not my board. I downloaded it from a free opt-in. The only options I'm given are in the screenshot below![Screen Shot 2020-08-19 at 1.17.23 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/107249iDFC5D533B0897625/image-size/large?v=v2&px=999 "Screen Shot 2020-08-19 at 1.17.23 PM.png")


Answers:
author: Benny
body: I have the same issue - this feature is so annoying! In all of my workspaces there is a "Project Management" board that I cannot delete. It ruins the experience, as there are boards I didn't create mixed in with my boards.

The "Recent Boards" thing is not a solution, because every time I re-visit the site there it is at Position 0 again.

***We need the option to delete unwanted boards that we did not create.***

It is so ridiculous that Trello thinks users want them creating boards for us that we cannot delete. Get rid of it.


author: Iain Dooley
body: [@teamvanessamarin](/t5/user/viewprofilepage/user-id/4056774) if you're not a member of the board, the only reason you're still seeing it is because it's in your "recent boards". Eventually it won't be :)


author: Soumyadeep Mandal
body: Hi [@teamvanessamarin](/t5/user/viewprofilepage/user-id/4056774) ,

Welcome to the community!

Basically you can not delete any board you are not an admin/owner of. But you can leave the board.

comments: author: Benny
body: You can't leave, it always shows up on your home page under "Recently Viewed". Even if you view other boards, it shows back up later.
Card Cover image uploads but does not display
Asked by John Hurley:

I am editing a number of different cards, each on different topics.  
I uploaded a graphic (jpeg) to one to serve as the cover. It is displayed as expected.

On another card I uploaded a different graphic the same way:  
I click \> Cover  
\> Upload a Cover Image  
Select the image (40KB jpg)

![Image_details.jpg](/t5/image/serverpage/image-id/107246iFE483803FAB40B31/image-size/large?v=v2&px=999 "Image_details.jpg")

It uploads with no error but is displayed in the card thumbnail as a colored rectangle and does not appear at the top of the card.

![Rainwater_CoverIssue.jpg](/t5/image/serverpage/image-id/107248i62010D16B19A2F32/image-size/large?v=v2&px=999 "Rainwater_CoverIssue.jpg")  
When I double click on the colored thumbnail, it opens the correct image in a separate window but it is not displayed in the card.   
(I can delete the image and display a pre-loaded Splash as the cover image but not this image or any alternative I have since tried)


Answers:
author: Soumyadeep Mandal
body: Hi [@John Hurley](/t5/user/viewprofilepage/user-id/4056741) ,

Welcome to the community!

I think there is a problem with your internet connection.

You can start fresh by clearing browsing data and re-login to your account and upload the image again.

comments: author: John Hurley
body: Hi Soumyadeep,  
You may be right. When I returned to the Card after a few hours, the cover was displaying correctly.  
However, I have the same problem with other cards/covers and no other issues with my Internet.  
I do get this error when I opt to open the cover graphic in a different tab:

![BrowserError.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/107324iEB396397C127BB4B/image-dimensions/509x254?v=v2 "BrowserError.jpg")

But I have no issue reaching any other website.


author: Soumyadeep Mandal
body: Hi [@John Hurley](/t5/user/viewprofilepage/user-id/4056741) ,

Change your browser to google chrome!


author: John Hurley
body: Are you serious?