# How to send message from gateway to Perspective session

**URL:** <https://forum.inductiveautomation.com/t/how-to-send-message-from-gateway-to-perspective-session/38811>\
**Category:** Ignition Early Access\
**Created:** [September 17, 2020, 8:21pm UTC](https://forum.inductiveautomation.com/t/how-to-send-message-from-gateway-to-perspective-session/38811 "2020-09-17T20:21:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [September 17, 2020, 8:40pm UTC](https://forum.inductiveautomation.com/t/how-to-send-message-from-gateway-to-perspective-session/38811/4 "2020-09-17T20:40:22Z")

</div>

> [@nader.chinichian](#):
>
> I can’t simply bind those UDT(lat, lng) directly to my markup in map component views lost property because user create them in runtime

Even if you send a message to the session, if you cant directly correlate the instantiated markup to a UDT instance, then how can you know which markup should receive the message?

And if you CAN correlate the instantiated markup, could you not create a custom property on the map that reads your UDT instances and then a script transform that updates any instantiated markups that match?

I feel like that would be easier than sending messages

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-send-message-from-gateway-to-perspective-session/38811)._
