It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issues changing global variable in dashboard Edited

I'm building a list of recently viewed pages for my Confluence dashboard, using the layout files. I already have the code that shows the list but now I'm trying to implement a "show more" button that incrementally shows more of that list. I'm unsure how to maintain the value of how many we've gone through (so javascript knows where to iterate).

I tried setting update a global variable like: #set($start = 0) and then change it using #set($start = $start + 3). They work but only once. I've tried changing it inside the javascript code but it doesn't change permanently. Any tips?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

5,343 views 4 6
Join discussion

Community Events

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

Events near you