# Subscribing to Property Changes for a Custom Perspective Component

**URL:** <https://forum.inductiveautomation.com/t/subscribing-to-property-changes-for-a-custom-perspective-component/73737>\
**Category:** Module Development\
**Tags:** perspective\
**Created:** [May 15, 2023, 5:09pm UTC](https://forum.inductiveautomation.com/t/subscribing-to-property-changes-for-a-custom-perspective-component/73737 "2023-05-15T17:09:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Kirspel](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Kevin\_Kirspel](https://forum.inductiveautomation.com/u/Kevin_Kirspel)\
**Post date:** [May 15, 2023, 5:09pm UTC](https://forum.inductiveautomation.com/t/subscribing-to-property-changes-for-a-custom-perspective-component/73737/1 "2023-05-15T17:09:15Z")

</div>

I have built a custom perspective component based on the Ignition SDK example. The module that contains the component has been successfully installed on the gateway and it works as expected. I am now trying expand on the component and I want to get notified when a component property changes. I have created a test view where I have a couple of standard components bound to my custom component properties. In my custom module, I subscribe to the property changes using the this.props.store.subscribe() method. After launching the test view session, I change a property value. In the web browser console log, I see a message that the property doesn't exist in the this.props.store. When I log the this.props.store to the console, there are no properties in the subscriptionMap. I was under the impression that the component properties automatically get added to the subscriptionMap. What am I missing?

---

<div class="post-metadata">

**Author:** ![Kevin\_Kirspel](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Kevin\_Kirspel](https://forum.inductiveautomation.com/u/Kevin_Kirspel)\
**Post date:** [May 15, 2023, 6:23pm UTC](https://forum.inductiveautomation.com/t/subscribing-to-property-changes-for-a-custom-perspective-component/73737/2 "2023-05-15T18:23:37Z")

</div>

I figured it out. I subscribed to the wrong object. I should have used this.props.store.props.subscribe().
