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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,585
Community Members
 
Community Events
184
Community Groups

User Macro - read text file in _inclusionsLibrary

Edited

Hi all, 

I have many pages which require a new reference number at the top of the page every 4 or 5 weeks (not in the header). Currently each page author has to update this manually.

I'm trying to create a user macro which I can include in every page and then update a single file (in the attachments of one of the spaces) which is then read by the macro and placed on the page.

As an admin, I could update the User Macro like below but I want normal users to be able to update the reference number themselves in another file/text file (attachment within a confluence space) which the macro then reads.

## @noparams
#set($outputHtml="<b>Reference Number</b>")
$outputHtml

I've tried the excerpt include and placing the content in the _inclusionsLibrary, but this does not allow content to be placed in-line with other surrounding text.

Any assistance would be much appreciated. 

Raj

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events