# Internal Property no longer accessible from script module?

**URL:** <https://forum.inductiveautomation.com/t/internal-property-no-longer-accessible-from-script-module/11578>\
**Category:** Ignition\
**Created:** [April 26, 2016, 9:38am UTC](https://forum.inductiveautomation.com/t/internal-property-no-longer-accessible-from-script-module/11578 "2016-04-26T09:38:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [April 26, 2016, 9:38am UTC](https://forum.inductiveautomation.com/t/internal-property-no-longer-accessible-from-script-module/11578/1 "2016-04-26T09:38:10Z")

</div>

I read this [post](https://inductiveautomation.com/forum/viewtopic.php?f=70&t=12003&start=0&st=0&sk=t&sd=a&hilit=internal+property) to help me understand how I can access internal property of a template in one of my GUI components’ script.

I have two properties in a Template, one is Template property called MyIsInactive and the other is Internal property called MyInternalIsInactive.

Let’s give the Template name Templ

Now, in one of my windows I have some Templs and I try to grab the Templs but populating it through its parent component. I make sure that when I populate, I only grab the Templs:

`for comp in parent.components:
    if not comp.name.startswith('Templ'):
        continue
`

Now, after I grab the Templs, I try to get its properties like this:

```auto
	val = comp.getPropertyValue('MyInternalIsInactive') #should be False
	val2 = comp.getPropertyValue('MyIsInactive') #should be False
        print val, val2
```

But when I print them out, I got

```auto
None False
```

Instead of

```auto
False False
```

Is Internal Property no longer accessible from script module?

---

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [April 26, 2016, 9:55am UTC](https://forum.inductiveautomation.com/t/internal-property-no-longer-accessible-from-script-module/11578/2 "2016-04-26T09:55:07Z")

</div>

I identified where I got it wrong:

`val = comp.getPropertyValue('MyInternalIsInactive') #should be False
val2 = comp.getPropertyValue('MyIsInactive') #should be False
print val, val2`

should be

`val = comp.getComponent(0).getPropertyValue('MyInternalIsInactive') #should be False
val2 = comp.getPropertyValue('MyIsInactive') #should be False
print val, val2`

I miss the getComponent(0)
