Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set page-properties (details-macro) via user-macro

Matthias Born
Contributor
July 4, 2019

I'd like to set some metadata informations per page and generate a report. 

One requirement is "as close to confluence standard as possible": No additional apps but user-macros are allowed.

This points to page-properties (details-macro) and page-properties-report (detailssummary-macro)

But: Unfortunately I need some enumerations, some calculations and a grafical represention for this values on their page.

So I thought I whrite an user-macro that provides enumeration-parameters, calculates and displays the values in their page.

But I'm unable to set the values for the page-properties-report (detailssummary). 

Can somebody please help? How can I set page-properties within an user-macro so page-properties-report can read them?

Thanks!

Matthias

 

1 answer

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2019

Short answer is you can't. I have tried to do the same thing. You can make a macro that creates the page property table, but the summary must be looking at the storage code. So I know of know what to make what you want to do work

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events