# System.perspective.navigate offset

**URL:** <https://forum.inductiveautomation.com/t/system-perspective-navigate-offset/105479>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 23, 2025, 5:46pm UTC](https://forum.inductiveautomation.com/t/system-perspective-navigate-offset/105479 "2025-04-23T17:46:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasmine.myles](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jasmine.myles](https://forum.inductiveautomation.com/u/jasmine.myles)\
**Post date:** [April 23, 2025, 5:46pm UTC](https://forum.inductiveautomation.com/t/system-perspective-navigate-offset/105479/1 "2025-04-23T17:46:01Z")

</div>

I am currently using system.perspective.navigate(url...) to scroll to a specific instance within my flex repeater. The scroll works, but because I have a docked view it overshoots the instance, and the user cannot see the full instance. I've attempted using scrollTo instead with some sort of offset but I cannot get it to connect to the domId I set-up on my embedded view and thus the scrolling feature does not work.

my domId is set as a String to register the value I am passing through to name each instance.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 24, 2025, 10:14am UTC](https://forum.inductiveautomation.com/t/system-perspective-navigate-offset/105479/2 "2025-04-24T10:14:58Z")

</div>

What if you check this example?

You shouldn't need to set domIds for eauc of your flex repeater views since you can use the index each is given already (this is taken care of by my view already)

> [@Scroll to anchor on button onActionPerformed](https://forum.inductiveautomation.com/t/scroll-to-anchor-on-button-onactionperformed/46333/8):
>
> I needed to do this for my application so I chucked it into a View template to use for either tables or flex repeaters. It has all of the options from the scrollIntoView function configurable: [JS Hacks - Scroll Row Into View v1.0.zip](https://forum.inductiveautomation.com/uploads/short-url/2sqw5thGUsAnql9xL6SyKW8BW9M.zip) (30.4 KB)

---

<div class="post-metadata">

**Author:** ![jasmine.myles](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jasmine.myles](https://forum.inductiveautomation.com/u/jasmine.myles)\
**Post date:** [April 28, 2025, 4:19pm UTC](https://forum.inductiveautomation.com/t/system-perspective-navigate-offset/105479/3 "2025-04-28T16:19:00Z")

</div>

Would you set this up on the embedded view of the flex repeater? How would I connect this then to a button in my docked view, so that I can scroll to the correct instance in my Flex Repeater in my main view?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 28, 2025, 8:34pm UTC](https://forum.inductiveautomation.com/t/system-perspective-navigate-offset/105479/4 "2025-04-28T20:34:59Z")

</div>

There's a demo view showing how to use it, but it's done at the repeater level. You give it a domId, set that domId in the objectDomId of my embedded view. Set the option to flexRepeater in my params. And then you can trigger the scroll into view function by changing the rowNumber param. You'll need to get the row index of your row in the flex. From another view, you can send a message, or use a session custom prop
