07-30-2018 13:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-30-2018 13:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I have multiple views. When I return to home view I would like to reset position/pagination to first page for panoramaview.
I tried
document.getElementById('container-home').value = 0;
But it does not change page.
How to do this?
Answered! Go to the Best Answer.

Accepted Solutions
08-07-2018 17:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-07-2018 17:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hard to tell without seeing more code, but if you definitely have a handle on the container, then that should be valid.
<use id="container-home" href="#panoramaview">
Are you using template symbols? https://dev.fitbit.com/build/guides/user-interface/svg/#template-symbols
If so, you might need to get a handle on the instance, then use that to get a handle on the container of your panorama.
Please provide more of the gui file

08-07-2018 17:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-07-2018 17:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hard to tell without seeing more code, but if you definitely have a handle on the container, then that should be valid.
<use id="container-home" href="#panoramaview">
Are you using template symbols? https://dev.fitbit.com/build/guides/user-interface/svg/#template-symbols
If so, you might need to get a handle on the instance, then use that to get a handle on the container of your panorama.
Please provide more of the gui file

08-11-2018 12:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-11-2018 12:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
#JonFitbit I double checked code and it works. I was not sure that this was the correct way.

