Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to add generic Information to a page

Thomas H. May 28, 2015

Hello everybody, 

hoping somebody can help me out here smile 

My problem / the situation: 

I would like to add generic Information to a page (e.g. System preference (CPU, RAM ... like a system documentation) that updates when changes are made. It should be a nice clean solution and nothing like override or update an html tag or something like that laugh 

What I tried so far: 

I wrote a JSON script to POST Metadata over the REST API to the location of the page. (using this documentation for example: https://docs.atlassian.com/confluence/REST/latest/ ) 

so confluence received the metadata and I can check it out via this link: https://domain/confluence/rest/api/content/<PAGE-ID>/property

so I tried to use a macro to display the metadata on the page itself- well it won't work laugh 

So maybe it's the wrong approach... So I'm hoping somebody could help me a little bit smile

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Milo Test
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 30, 2015

Could you make the system info a separate page, then use the Include Page macro on each page? Then when you update the System Info page, all the pages that include it will be updated automatically.

0 votes
Giuliano C.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 28, 2015

Hi Thomas, 

 

We can see that you are looking to add such generic information to the instance with REST. However, have you consider using the Confluence Templates and then, once the info is changed, you can manually change it in the template?

 

Hope it could help you while we don't have an answer for the REST, sir! smile

 

Regards, 

Giuliano Tenedini

Confluence/Crowd Support

TAGS
AUG Leaders

Atlassian Community Events