# Object Traversal

**URL:** <https://forum.inductiveautomation.com/t/object-traversal/82196>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 21, 2023, 1:48pm UTC](https://forum.inductiveautomation.com/t/object-traversal/82196 "2023-11-21T13:48:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Purushothaman\_R](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Purushothaman\_R](https://forum.inductiveautomation.com/u/Purushothaman_R)\
**Post date:** [November 21, 2023, 1:48pm UTC](https://forum.inductiveautomation.com/t/object-traversal/82196/1 "2023-11-21T13:48:39Z")

</div>

I have a dropdown in a flex container/tab container/view i need to send coordinates to another view text/test/map component how to call the view from dropdown to map component i have tried self.parent.parent.("text"), can anyone explain how we can call the other view i will paste the screenshot for better understanding.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/8/187daef5ba69c22d58669920a12b8a7e1743f822.png)  
as you can see here i don't know how to call map component

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 21, 2023, 1:50pm UTC](https://forum.inductiveautomation.com/t/object-traversal/82196/2 "2023-11-21T13:50:23Z")

</div>

Components in one view cannot access components in a different view. Full stop. You will need to use messages or session custom properties to pass the information.

---

<div class="post-metadata">

**Author:** ![Purushothaman\_R](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Purushothaman\_R](https://forum.inductiveautomation.com/u/Purushothaman_R)\
**Post date:** [November 21, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/object-traversal/82196/3 "2023-11-21T13:55:53Z")

</div>

@pturmel thanks for the response phil i am new to igniton could you please explain what script i need to write in dropdown or how can we pass the information to map component

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 21, 2023, 2:10pm UTC](https://forum.inductiveautomation.com/t/object-traversal/82196/4 "2023-11-21T14:10:46Z")

</div>

You will need to study these two topics in the docs to decide which approach to take:

[https://docs.inductiveautomation.com/display/DOC81/system.perspective.sendMessage](https://docs.inductiveautomation.com/display/DOC81/system.perspective.sendMessage)

[https://docs.inductiveautomation.com/display/DOC81/Session+Properties](https://docs.inductiveautomation.com/display/DOC81/Session+Properties)

With `sendMessage`, your dropdown script will assemble a payload with the necessary information and send it to page or session scope. The map component will need a matching message handler that can then extract the information from the payload and apply it to the map.

If you choose to use a session property, you simply assign to that property in your dropdown script. In the map component, you would bind to the session property to handle the data (many approaches).

(And search this forum for examples.)
