# Using handlebars in experience page

**URL:** <https://forums.losant.com/t/using-handlebars-in-experience-page/2187>\
**Category:** Help\
**Tags:** experience\
**Created:** [September 11, 2019, 9:08pm UTC](https://forums.losant.com/t/using-handlebars-in-experience-page/2187 "2019-09-11T21:08:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [September 11, 2019, 9:08pm UTC](https://forums.losant.com/t/using-handlebars-in-experience-page/2187/1 "2019-09-11T21:08:09Z")

</div>

I’m successfully accessing a pageData.payload array using handlebars and the each helper.

But on that same page I want to show what’s in another non array variable pageData.test , and I’m having some trouble.

tried using just {{ pageData.test }} gives me nothing

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [September 11, 2019, 11:20pm UTC](https://forums.losant.com/t/using-handlebars-in-experience-page/2187/3 "2019-09-11T23:20:54Z")

</div>

Hi @Lars_Andersson

If you are within the the `{{#each}}` iterator, you have to use `{{@root.pageData.foo}}` get back to the higher scope.

`@root` is always available for you to use.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [October 25, 2019, 9:01pm UTC](https://forums.losant.com/t/using-handlebars-in-experience-page/2187/5 "2019-10-25T21:01:50Z")

</div>

I know I can reach a specific pagedata value like this  
{{@root.pageData.runtimes.items.1.fef\_minutes}} while in a #each loop,  
but if I want to use the @index or @key insted of the number .1. above, it doesn’t work.  
Do I need to use triple brackets or something else I’m missing in the syntax?
