youngmon/atlassian-qna huggingface dataset:
Custom macro to determine if user has space admin permission
Asked by Christopher Martino:

I'm trying to create a very simple custom macro that does the following:

```
#if ( User Has Space Admin Permission In Current Space )
    // display a link
#end
```

What exactly should I add to the if statement above to get this to work? I've tried a bunch of different things, and I think I'm just not understanding the syntax... Any help is greatly appreciated!


Answers:
author: Christopher Martino
body: Tried the following, but it didn't work.

```
#if ($action.hasPermissionForSpace(ADMINISTER,SPACEKEY))
    <a href='#'>Link</a>
#end
```


Tags: confluence-server

server

user-macro
Is it possible to create a personal checklist?
Asked by Wade Hardie:

I have created a procedure guide in a confluence space for our department. At the bottom of the guide I have placed a series of check-boxes to work something like a checklist for the user. However these are posted back to the page for everyone to see them.

Is it possible to make it so that each user can edit this checklist but not alter the web form (each person using the guide has their own list and it is marked as Unchecked if they reload the page)

Thanks.


Answers:
author: Fabienne Gerhard
body: Hi [@Wade Hardie](/t5/user/viewprofilepage/user-id/1499932)

i handled a similar problem - I created a template with a checklist and other Informations to be filled out by users and used the [Create from Template Macro](https://confluence.atlassian.com/doc/create-from-template-macro-317196995.html).

Using this button every user can create a page and edit the checklist.


Tags: checkbox

checklist

confluence-server

server
New user, Confluence "Road Map" too is not allowing me to edit
Asked by Taylor Bayouth:

I get this error:

This gadget cannot be displayed on your dashboard. This could be due to a licensing problem or an application error. If you need this gadget, contact your administrator for assistance. Otherwise, you can remove it from your dashboard.

I'm seeing a lot of articles online about this. Help?


Answers:
author: Suren Raj
body: Hello, Taylor!

Hope you're having a nice day. We're sorry to say that you're currently being affected by a known bug on Confluence that is already being worked on with the highest priority.

You can refer to the report on the URL below:  
- [CONFCLOUD-57804 - JIRA Gadget macros fail to load](https://jira.atlassian.com/browse/CONFCLOUD-57804)

We've taken the freedom to add you as a watcher for this bug report so you don't miss any updates related to it.

Kind regards,  
Suren Raj


Tags: roadmap
Header on first page of single page PDF export
Asked by Will Maclean:

Hi,

I'm trying to figure out how to use CSS to put a header on only the **first** page of a single page export. This is the code I have so far:

```
@page {
 margin-top: 4cm;
 margin-bottom: 2cm;
 @top-center {
 width: 100%;
 background-image: url("https://path.to/headerimage.png");
 background-repeat: no-repeat;
 background-position: center;
 background-size: contain;
 }
 @bottom-center {
 width: 100%;
 background-image: url("https://path.to/footerimage.png");
 background-repeat: no-repeat;
 background-position: center;
 background-size: contain;
 }
}

@font-face {
 font-family: "Century Gothic";
 src: url("https://path.to/font.ttf");
}

body { font-family: "Century Gothic", serif !important}
```

As you can see, the header specified in the '@top-center' tags appears on every page. Is there a '@header{}' rule or similar that I can use? Or some other way to make this work?

Thanks in advance


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Will Maclean](/t5/user/viewprofilepage/user-id/1202191),

Yes! There is a way to export your header content specific to the first page of the document. Try using this -

```
@page :first {

@top-center {
 width: 100%;
 background-image: url("https://path.to/headerimage.png");
 background-position: center;
 background-size: contain;
 }
}
```

Include all the specifics to your first page in @page: first{} and others in @page {}.

Hope this works!

Thanks

Sireesha


Tags: confluence-server

css

export

pdf

server
Getting estimate reading time for Confluence pages
Asked by Geoffroy J:

Hi

i was wondering if it is possible, through a Macro or an Add-on, to display on top of each Confluence page an "Estimate Reading time" value?

This is an information widely available on websites, and it can help keeping an user on a page (or not...)

Any thoughts?

Thanks in advance


Answers:
author: Shannon S
body: Hi Geoffroy,

It's definitely possible, but likely something you'll have to develop in-house.

Have a look at these threads:

* [Confluence estimated time to read macro](https://community.developer.atlassian.com/t/confluence-estimated-time-to-read-macro/2502)
* [Confluence Macro (Time to read)](https://community.atlassian.com/t5/Answers-Developer-Questions/Confluence-Macro-Time-to-read/qaq-p/500835)

Regards,

Shannon
how to insert an excel file in confluence page
Asked by Niky Lyon:

I have a spreadsheet (excel 2016 ) and i want it to show on the confluence page with the alphabetic sorting that is already on the sheet. how can I insert this excel in to the page. that fit the page and is not going out of the page


Answers:
author: AJ V
body: Niky,

It depends on what version of Confluence you are using. You can try using the "Excel" macro or using one of these alternatives:

* <https://confluence.atlassian.com/doc/display-files-and-images-245827130.html>
* <https://confluence.atlassian.com/doc/view-file-macro-170494360.html>

Hope this helps.

-AJ


Tags: confluence-server

server
How-To Enable AUI Plugin
Asked by Charisma Riley:

This is probably a ridiculously newb question, but how does one enable the AUI plugin in Confluence Cloud?


Answers:
author: AhmadDanial
body: Hi there, Charisma.

According to [Getting started](https://docs.atlassian.com/aui/getting-started.html) documentation and after verifying with the Cloud team, this feature is only available for Atlassian Server products. May I know if there is anything specific that you are planning to build from the AUI? Perhaps you can share some insight to it so we can see if there are any add-ons that can help?

comments: author: Kyrylex
body: There are icons that I used to format titles.

<https://aui.atlassian.com/aui/7.9/docs/icons.html>

After migration from Server to Cloud, just one of them works


Tags: aui

cloud

confluence-cloud
Sharing html pages with embedded resources in my confluence pages
Asked by Terence Wong:

Hi,

What would be the easiest way to share some html pages with embedded resources from my confluence pages?

Thanks,

T


Answers:
author: Shawn C
body: Hi T,

If you're looking to embed other webpages in your Confluence Pages, the native option would be to use the [iFrame Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=950276528); note that this does not always work as websites can block the ability to embed their pages.

There are also a few other [3rd Party Apps](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=html) on the Atlassian Marketplace that can provide some other options for embedding external web pages as well.

However if you're looking to Embed Confluence Pages on your own Websites, I'm afraid that this would not be possible natively as clickjacking prevention is enabled in the Cloud Environment and cannot be disabled. If you host Confluence Server, you could [disable and bypass this protection](https://confluence.atlassian.com/confkb/confluence-page-does-not-display-in-an-iframe-827335781.html) to workaround this security measure.

Looking through a few [Atlassian Community posts](https://community.atlassian.com/t5/Confluence-questions/Embedding-confluence-content-in-an-external-website/qaq-p/48256), I found suggestions to the [Embedder for Confluence](https://marketplace.atlassian.com/plugins/amoeboids.embedder/cloud/overview) and BobSwift's [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/10584068/Reference#Reference-render) Apps. You might be able to utilize one of these Apps in order to embed your Confluence content in an external site.

Cheers,   
Shawn


Tags: cloud

confluence-cloud
View Page Information
Asked by Admin4:

Hi, for some reason - very possibly User Error on my part - I'm no longer able to see a "Page Information" on the drop-down tab in the upper right corner of any page on any space on our Confluence. Please see attached pic.

There are options which never used to be there, eg "Resolved Comments", "View in Hierarchy" and "Slack Notifications".

Has this option on the drop-down been replaced? It certainly used to be there: <https://confluence.atlassian.com/doc/view-page-information-139408.html>

Basically I am trying to identify all of the incoming links to a page and this was the previous method I used.

Many thanks

William D.

![Page_Info.JPG](/t5/image/serverpage/image-id/32778iBD8E678C514037F8/image-size/large?v=v2&px=999 "Page_Info.JPG")


Answers:
author: Shawn C
body: Hi William,

Apologies for the inconvenience with the missing Page Information option in the Page Menu; it is quite odd that this option is not showing up. I was able to reproduce this issue in my own Cloud Test Instance and I've created the following Bug to track this issue: <https://jira.atlassian.com/browse/CONFCLOUD-62767>

As a workaround, you can still visit the Page Information by modifying the URL to look like:

```
https://instance.atlassian.net/wiki/pages/viewinfo.action?pageId=ID
```

If you have any other questions about this issue, please let me know.

Regards,

Shawn

comments: author: Shawn C
body: Hi[@Admin4](/t5/user/viewprofilepage/user-id/1128126),

Our Devs have reverted a change that hid the Page Information option from the Page menu and it's back again :D

If it's not immediately showing up, please try a hard refresh (shift + cmd/ctrl + r) or clearing your Browser Cache/Cookies; if it's still not showing, please let me know.

Regards,   
Shawn


author: Admin4
body: Thanks for the answer, Shawn - much appreciated.

William D


Tags: cloud

confluence-cloud
SharePoint Online / Confluence Cloud Integration, incl. Workflows
Asked by Charisma Riley:

So, my company currently uses (like many others) SharePoint and Confluence together. I am not really interested in having Confluence nested inside SharePoint; we are able to manage them separately (though as we grow, we may look into this for just ease of access). What I \*am\* interested in is creating some SharePoint workflows , and have them interact with Confluence workflows. For example, some workflow that starts in SharePoint because a form is submitted and when that workflow that results from that form being submitted is finished, it triggers another workflow on Confluence to create a few pages in a specific space from certain templates and update them with some information from that SharePoint for m and Azure AD. Can anyone see ho this might be accomplished? Is there a starting point for this level of cooperation between SP Online and Confluence Cloud?


Answers:
author: Shannon S
body: Hello Charisma,

For Confluence Cloud, there's no SharePoint integration that I am aware of that would allow you to have the workflows interact with each other.

For Confluence Server, there are a few different SharePoint add-ons from Marketplace.

* [SharePoint Add-ons](https://marketplace.atlassian.com/search?hosting=server&product=confluence&query=sharepoint)

If the usage of SharePoint is important to your team, I would recommend setting up a Confluence Server evaluation instance and see if any of those add-ons could accomplish what you need. If they do, you might want to consider migrating to Server.

Regards,

Shannon

comments: author: Charisma Riley
body: Agreed, and we are doing that. I guess I was hoping that there were options I might not be aware of, being as I'm new on the scene to both SharePoint and Confluence, let alone their integration. Though, I'm learning a lot! Thanks for this answer! I will continue my research and update here when I learn something.


Tags: cloud

confluence-cloud

sharepoint
Setting A Public Space Landing Page (Confluence Cloud)
Asked by AB:

We have a Confluence Cloud instance. The instance itself is private. However, we needed ONE page to be accessible for anonymous users. According to Confluence Cloud documentation, the only way to do that (without setting up user permissions and logins) is to create a SEPARATE SPACE \> Set it for 'Anonymous' (public) access. Which we did.

But what is happening is: anytime an anonymous user accesses, the DEFAULT HOME page icon at the top left (in every Confluence Cloud instance) is displaying the 'Activity' page of the PUBLIC space set.

So in other words, if you go to the Anonymous / Public page, and happen to click the icon in the top left (default home) which is something most people would probably do, what you get is not the page itself, but the 'Activity' feed of the page. And we want to avoid that.

Here's a screenshot showing the home icon I'm referring to and the 'Activity' and 'Popular' links at top:

![Cloud.Public.Default.Home.png](/t5/image/serverpage/image-id/32774i2A4A02110CD02875/image-dimensions/532x57?v=v2 "Cloud.Public.Default.Home.png")

Is there a way around this? In searching the community forums, the only solution I have found posted (that works) involved purchasing a 3rd party tool. This one \> "[Instant Websites For Confluence](https://marketplace.atlassian.com/apps/1214121/instant-websites-for-confluence?hosting=cloud&tab=overview)" (these run off Aws via 3rd party).

<br />

This 3rd party tool basically republishes a space in your Confluence instance (separately) for public consumption.

Is there a better option? Or a way to specify that default "Confluence Home" icon at top? It's problematic for us because we have mostly non-technical users that would find this confusing....

Thanks for any support/help/suggests....


Answers:
author: Shawn C
body: Hi AB,

One option would be to specify a [Custom Site Homepage](https://confluence.atlassian.com/display/ConfCloud/Configuring+the+Site+Homepage) that'll be used when your Users click on the Home Button, they'll be taken to the Space of your choosing. Please note that this will impact all Users and not just the anonymous ones.

Regards,   
Shawn

comments: author: AB
body: Hi - that's the problem. We already have this but apparently when a space in your Cloud instance is set as PUBLIC that does not work. Because that landing page itself would apply to the site for being 'private'....  

Any other ideas?


author: Dheeraj Gupta
body: Hi [@Shawn C](/t5/user/viewprofilepage/user-id/502249) ,

We too have the same issue. Nothing is working for us. Even the option you mentioned is not working?

Do you have a better suggestion on this?

Hi [@AB](/t5/user/viewprofilepage/user-id/1648932) ,

Did you find any solution for this problem?


Tags: confluence-cloud
Apache proxy and confluence works with Chrome, but not IE
Asked by David Shapiro:

Morning,

I got Apache 2.4 installed on our Redhat 6.x server (sigh) and got ssl, synchrony, and even appdynamics working. I thought. My preferred browser is Chrome. I then swung over and tried IE, and it lets me login, but then it only shows a title bar and drop down, but clicking on drop down does nothing. None of the gadgets are showing. It just does not work.

Anybody have experience with this? Note that going around Apache server and going to port, even on https works fine, but going through the proxying Apache is where the trouble lies.

On any page I try to access:

First message is about DOM7011: The code on this paged disabled back and forward caching.

Next error is about missing a semi-colon for batch.js, a confluence file.

There is mentions of AJS, and then at the bottom of the developer tools errors a final message:

SEC7115 :visited and :link styles can only differ by color. Some styles were not applied to :visited.


Answers:
author: Shawn C
body: Hi David,

Is there anything in your Internet Explorer Internet Settings that may be overwriting or changing the way it interacts with the Proxy? We've seen where GPOs applied can impact how IE loads pages and interacts with proxies. The workaround would be to have your Admins update the policy or use an alternative browser (like Chrome) to bypass the policy.

Cheers,  
Shawn
SmartSVN check out and lock one file onli
Asked by Angel Feu:

Hi,

I'm about to start using SmartSVN and I can not find in the documentation how to ckeck-out a single file and lock, but that my colleagues can check-out and lock other files in the same directory.  
I know that from version 1.7 of subversion you can achieve that.

Thank you for your answer.  
regards


Answers:
author: Daniel Eads
body: Hi Angel,

Are you looking to integrate SmartSVN with any Atlassian products (Jira, Bitbucket, etc)? We offer support for Atlassian products on this forum and can guide you with any integration-related questions. But we don't support SmartSVN itself and very few folks here use SVN at all - git is the preferred source control protocol for Atlassian products!

Thanks,  
Daniel


Tags: confluence-server

server

svn
Styling Task Lists on export to pdf
Asked by Tim Oldendorf:

Hello - I have 1 issues and 1 question

1) Issue - The Task Checkbox and the actual task are not lining up when exporting to pdf

![2018-09-19_10h08_20.png](/t5/image/serverpage/image-id/32752i9D4BE5BFD81A5B2D/image-dimensions/309x165?v=v2 "2018-09-19_10h08_20.png")

2)Question - How can I change the font size of the task list items on export? Through the pdf stylesheet I already changed the font size using this

body,p,li,td,table,tr,.bodytext,.stepfield  
{ font-size: 8pt !important; }

Which works for everything but any text that is attached to a task list checkbox

Thanks in advance for any assistance!


Answers:
author: Matthias Dannhorn
body: Hi Tim,

this is what Confluence renders and you can ad a font size:

```
ul.inline-task-list>li.checked {
 background-image: url(data&colon;image/png;base64,BASE64ENCODEDEIMAGEPLACEHOLDER);
}

ul.inline-task-list>li {
 background-image: url(data&colon;image/png;base64,BASE64ENCODEDEIMAGEPLACEHOLDER);
}
```

The default CSS rules for the PDF stylesheet: [confluencedefaultpdf.css](https://confluence.atlassian.com/confcloud/files/724764825/724764826/1/1427771626612/confluencedefaultpdf.css)

Further informations can be found here: [Customize Exports to PDF](https://confluence.atlassian.com/confcloud/customize-exports-to-pdf-724764825.html)

Regards

-matthias

comments: author: Tim Oldendorf
body: Thanks for your help Matthias.

That works if the task list isn't inside of a table. Any way to change it if it exists both inside and outside of a table?


Tags: confluence-server

css

custom-field

export

pdf

server
How do I limit the Related Labels macro to a specific Space (the current one)?
Asked by chazwhiz:

Confluence 6.5.2 Data Center

Adding a Related Labels macro to a page, it's pulling in labels from all spaces in our instance (showing a lot of labels that definitely do not exist in this space)

How do I force this macro to limit its scope to the current space?

I tried playing with some of the CQL filters like spacekey or space.key with \`=\` or \`:\` but I can't seem to make them work.


Answers:
author: Bill Bailey
body: We ran into a similar issue where we wanted to have a listing of related pages based on labels, but restricted to child pages. I ended up writing a rather complex user macro to accomplish this task, inspired by/derived from this macro:

<https://github.com/unidwell/confluence-include-child-pages-macro>


author: Shawn C
body: Hi Charles,

Currently, the [Related Labels macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=952622675) displays a list of all labels from every page which has one or more in common with the page it was added on; it is not possible to limit the list to just the Space the Page resides in.

If you can give me a bit more information about what your use case is with the Related Labels macro, I can create a Feature Request to see if an option to filter by Current Space or List of Spaces could be added.

Cheers,

Shawn

comments: author: scott.esbrandt
body: the use case is simply that its helpful to be able to restrict the related labels to a space (generally speaking the "current space") because we have no control over the same label being used in other spaces for content thats not relevant in the current space. Basically you'll end up sometimes with junk that can otherwise be filtered out by narrowing to a space. Many other macros have similar capability so this one feels like its "missing"


Tags: confluence-server

data-center

filter

key

label

macro

server

space
Excel type templete
Asked by Charles Meyers:

Currently my team completes orders that are added to a excel sheet that we can update. I am wondering how we can update this to use Confluence. Or even access this via Confluence.


Answers:
author: AhmadDanial
body: Hi there, Charles.

While the default feature in Confluence allows you to upload Excel documents as mentioned here - [upload and display files](https://confluence.atlassian.com/doc/display-files-and-images-245827130.html#DisplayFilesandImages-officeOfficeandPDFfiles), you can utilize the feature to edit the file with the **Companion**app as well:

* [Edit Files](https://confluence.atlassian.com/doc/edit-files-170494553.html)

For example, click on the uploaded excel file on the Confluence page and you should see this. Click on **Edit with**\>\> Edit with Excel:

![Screen Shot 2018-09-21 at 10.55.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/32926i4C915D2B1F24E8D9/image-dimensions/383x95?v=v2 "Screen Shot 2018-09-21 at 10.55.08.png")

The Excel application will automatically open and this will be shown on your Confluence UI while you are editing the file:

![Screen Shot 2018-09-21 at 10.55.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/32928i7968A3703C52FCBB/image-dimensions/383x322?v=v2 "Screen Shot 2018-09-21 at 10.55.16.png")

Once you make changes to the file and **Save**it. Go back to the Confluence UI and upload the latest copy of the file:

![Screen Shot 2018-09-21 at 10.56.31.png](https://community.atlassian.com/t5/image/serverpage/image-id/32929i9EE53FA6C9D7C75D/image-dimensions/382x345?v=v2 "Screen Shot 2018-09-21 at 10.56.31.png")

The updated file will be shown on the page.

Pretty awesome, isn't it? I suggest you to give it a try and let me know how it goes on your end.

comments: author: Charles Meyers
body: Thank you. This is what I was looking for but also brings up another question. I am guessing I do not have the Companion app installed and I am not an Admin. Is there a place I could go to try and download this to see if I even can without help from the IT folks? Thanks for your help.


author: AhmadDanial
body: Hi, Charles.

You are most welcome. By default, you should be able to download it when you get prompted for for it when you try to edit the file from Confluence. Can you please confirm if you are able to download it, install and utilize it from your end?

![Screen Shot 2018-09-25 at 08.26.54.png](https://community.atlassian.com/t5/image/serverpage/image-id/33137i5C6D05F2ABEBB373/image-dimensions/277x378?v=v2 "Screen Shot 2018-09-25 at 08.26.54.png")


author: Charles Meyers
body: I do not even have the edit option. Am I uploading these incorrectly?


author: AhmadDanial
body: Hi there, Charles.

Since you mentioned that you don't have the edit option, I'll be interested to verify the set of permission granted for the specific space that you have the attachment uploaded on. Can you please confirm if the group that you are on have the **Add Attachments**permission which is required to edit the file?