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

Issues changing global variable in dashboard

Mariana Aires February 24, 2020

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
TAGS
AUG Leaders

Atlassian Community Events