Is there a way, or a workaround, that will allow me to include the following two items in the Page Properties Report macro?
I realize they could manually type it into the page properties, but that just isn't feasible when the information is already on the page. Can this be pulled in?
Well, I just went ahead and created my own user macros to solve the problem. For anyone interested, the two macros below do nothing more than display the date and the name of the user who last modified the page on which the macro has been placed.
Last Date Modified
Last User Modified
Unfortunately, the above didn't work quite as planned. The macro is placed in the page properties macro, but when it is pulled into another page using the Page Properties Report macro, my macro above is pulling in that page's last mod user and date rather than the page on which it was placed.
## Macro title: My Macro ## Macro has a body: N ## Body processing: Selected body processing option ## Output: Selected output option ## ## Developed by: My Name ## Date created: dd/mm/yyyy ## Installed by: My Name ## This is an example macro ## @noparams #usernameLink($content.getLastModifierName())
Really, the only two important things are the "No macro body" and the code I provided.
Also, realize that after saving the macro it will take a little time (few seconds) for it to appear in the macro browser. And, you may have to refresh the whole page and re-enter the page editor to get the updated macro browser.
Here’s another edition of “What’s New” this month in Confluence Cloud. Quickly (and more easily) adjust permission settings We know that sometimes the layers of space permissions and page restric...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events