Discussions
-
Table Row Highlighter - CSS Hack
(Said in an infomercial voice) Has this ever happened to you? You are on a Zoom/Teams call, looking at a large table, and people are confused where on the table you are pointing (insert video of really irritated people)? Did you waste time, trying to figure out what row your colleague was talking about? Well your troubles…
-
Getting Started with User Macros - Writing a Wrapper Macro
First a note about the intent of this series of articles (this is the first —hopefully). While there are resources that talk about writing user macros, they typically talk about all that surrounds the macro, syntax, and give a simple "hello world" example. The problem with user macros is that they are coded using Velocity…
-
Accessing/setting page properties in user macro
I am able to set page properties using the macro on the page and pass those to Scroll PDF (in this case). If I include that page properties macro inside a user macro, the values are not set (maybe related to reported bugs about not working inside a panel macro). So I think that I need to handle this with get/set to the…
-
Updating the Hello World Macro Page
All, if you have ever had issues trying to follow the steps for the create-a-confluence-hello-world-macro/ you will notice that the instructions were last updated in 2017, and the source on BitBucket was updated in 2016. Since then, several things have changed, making it very difficult to get through the tutorial. While…
-
Why does Confluence use class="auto-cursor-target"
This is more of a curiosity. I often have to edit the storage code for a page to clean up various items. I noticed awhile back that the following code would appear, I guess as a spacer around some objects? <p class="auto-cursor-target"> <br/> </p> It seems the be filtered out when the page is displayed. Does anyone know…
-
Running patch cve-2021-26084-update.sh results in permission denied
I am trying to run the patch as directed via the security alert https://confluence.atlassian.com/doc/confluence-security-advisory-2021-08-25-1077906215.html I am on Centos 7.9. I have followed the steps in the notice to run the patch script, but I keep getting permission denied. Is there some step that is missing, or is…
-
Set image size to exact pixel number
Coming from the server versions, and now moving to the new editor, I found the handles for adjusting the image size to a set number of pixels, for example, 500px? The ability to set the width is important for creating professional looking pages. Is the option hiden, or just not available?
-
A Child Page by Label User Macro
I am a huge (yooge) fan of user macros. They fill in the holes in Confluence functionality, or create usable variants of existing macros. This article provides a solution for generating a child page listing that filters based on labels. Motivation For PDF exports (using the v3.x Scroll PDF Exporter), I needed a list of…
-
I didn't relize that Confluence is nearly 1,000 years old!
I saw this in my log analyzer today. I was shocked to see that this question has been around for nearly a 1000 years!??!? On a serious note, has any one seen something like this before in their log file? My system date is correct, but I did just do a minor version upgrade to CentOs.
-
How do I retrieve the actual file modification date of an attachement
I have a user macro that generates a table of attachments, parsing information from the title, and displaying some of its properties. I know I can access the attachment dates with: $attachment.getCreatedDate() $attachment.getLastModifiedDate() But these dates are for when an attachment is uploaded to a page, not the date…
-
How can I add a custom property to an attachment?
First, a disclaimer. I know enough Velocity and Java to be dangerous, but I do a mean copy and paste. ;-) I am building a user macro that will retrieve a list of attachments (user documents), parsing the document number from the file name. I need to be able to sort the listing via this doc number. My first thought was to…
-
When a past version is deleted, is that content deleted
This question is in reference to Atlassian Documentation: Page History and Page Comparison Views I know I can delete an older version of a document. When that older version is deleted, does it just delete the view of that version, or does it delete the changes made by that version?
-
Is anyone else having issues with boolean parameters in user macros not working?
I have come across a bug in the more recent versions of Confluence ( 5.5.1, 5.6.5, 5.7.3, 5.9.4. 5.9.5), where Boolean parameters always evaluate as true when used in user macros (or the user-macro module for plugins). Is anyone else having this issue, or needing this functionality? If so, please vote for this bug:…