# How to add custom Properties into an AbstractVisionComponent

**URL:** <https://forum.inductiveautomation.com/t/how-to-add-custom-properties-into-an-abstractvisioncomponent/5628>\
**Category:** Module Development\
**Created:** [December 28, 2012, 8:41pm UTC](https://forum.inductiveautomation.com/t/how-to-add-custom-properties-into-an-abstractvisioncomponent/5628 "2012-12-28T20:41:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [December 28, 2012, 8:41pm UTC](https://forum.inductiveautomation.com/t/how-to-add-custom-properties-into-an-abstractvisioncomponent/5628/1 "2012-12-28T20:41:53Z")

</div>

I try to add some custom Properties into an AbstractVisionComponent  
just like we do in the designer : Righ Click \ Customizers \ Custom Properties.

I’ve seen we can add “static” properties in the HelloWorldComponentBeanInfo.java (in project ComponentExample\_Designer)  
but I need dynamics properties which are created when the component is dropped on a windows in the designer.

Could you please provide a sample of code for adding a Custom Properties and for changing is value.  
(code to add into the AbstractVisionComponent).

---

<div class="post-metadata">

**Author:** ![JimBranKelly1](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@JimBranKelly1](https://forum.inductiveautomation.com/u/JimBranKelly1)\
**Post date:** [January 21, 2017, 8:01pm UTC](https://forum.inductiveautomation.com/t/how-to-add-custom-properties-into-an-abstractvisioncomponent/5628/2 "2017-01-21T20:01:00Z")

</div>

I added a property “title” using the code below. I can bind a string tag to it in the designer and surprise, surprise it worked.  
I apologize if I have misunderstood your question.

```auto
public ChartComponentBeanInfo() {

        super(ChartComponent.class, DynamicPropertyProviderCustomizer.VALUE_DESCRIPTOR, StyleCustomizer.VALUE_DESCRIPTOR);
    }

    @Override
    protected void initProperties() throws IntrospectionException {
        // Adds common properties
        super.initProperties();

        addProp("title", "Title", "The title of the chart", CAT_DATA, PREFERRED_MASK | BOUND_MASK);
    }
```
