# Custom Properties Description

**URL:** <https://forum.inductiveautomation.com/t/custom-properties-description/8341>\
**Category:** Ignition\
**Created:** [April 22, 2014, 12:24am UTC](https://forum.inductiveautomation.com/t/custom-properties-description/8341 "2014-04-22T00:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [April 22, 2014, 12:24am UTC](https://forum.inductiveautomation.com/t/custom-properties-description/8341/1 "2014-04-22T00:24:59Z")

</div>

When we set up custom properties, we are able to set three characteristics (properties) for each property:

Name  
Type  
Description

So if I create a custom property with these characteristics:

Name: variable\_1  
Type: Integer  
Description: Valve position

Can I reference the description indirectly? If so, what is its property name? I’ve tried “Description” and that doesn’t work.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [April 22, 2014, 2:26am UTC](https://forum.inductiveautomation.com/t/custom-properties-description/8341/2 "2014-04-22T02:26:24Z")

</div>

The custom property data can be accessed through scripting.

Here is an example. event.source could be any component. The example prints information about each custom property that exists on the component.

```auto
for property in event.source.getDynamicProps().values():		
	print "Name:",property.getName()
	print "Description:",property.getShortDescription()
	print "Type:",property.getPropertyType()
	print "Value:",property.getValue()
	print
```

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [April 23, 2014, 8:42pm UTC](https://forum.inductiveautomation.com/t/custom-properties-description/8341/3 "2014-04-23T20:42:41Z")

</div>

Thank you, that works great. ![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")
