# Trying to pass parameters from client events to property change scripts

**URL:** <https://forum.inductiveautomation.com/t/trying-to-pass-parameters-from-client-events-to-property-change-scripts/69493>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [February 6, 2023, 6:14pm UTC](https://forum.inductiveautomation.com/t/trying-to-pass-parameters-from-client-events-to-property-change-scripts/69493 "2023-02-06T18:14:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Langfield](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Alex\_Langfield](https://forum.inductiveautomation.com/u/Alex_Langfield)\
**Post date:** [February 6, 2023, 6:14pm UTC](https://forum.inductiveautomation.com/t/trying-to-pass-parameters-from-client-events-to-property-change-scripts/69493/1 "2023-02-06T18:14:53Z")

</div>

I'm trying to pass parameters from a client event script to a property change window. And I'm getting the error that "Property (blank) doesn't exist in window." Essentially I believe it's telling my that (blank) isn't a root container property in the object. When printing "nameOfContainer = system.gui.getWindow('ParentContainer').getComponentForPath('Root Container.Blank')" is I print nameOfContainer.name, it prints Blank. How do I pass a dictionary into a definition of this object in this format. system.nav.openWindow(pathToObj, {nameOfContainer.name : nameOfThing}) without flagging root container issues?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 6, 2023, 6:21pm UTC](https://forum.inductiveautomation.com/t/trying-to-pass-parameters-from-client-events-to-property-change-scripts/69493/2 "2023-02-06T18:21:41Z")

</div>

Share your code, or a simplified version that demonstrates your problem. Please don't use a screenshot. Instead, after pasting the code, highlight it all and click the "Preformatted Text" button in the forum's comment editor.

Also post the "full" error message you're getting (again, in a formatted text block).

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 6, 2023, 6:25pm UTC](https://forum.inductiveautomation.com/t/trying-to-pass-parameters-from-client-events-to-property-change-scripts/69493/3 "2023-02-06T18:25:55Z")

</div>

Also note that the various `.getComponent*()` methods don't return properties. They return components. You probably need to leave off `.Blank`, then access `returnedComponent.Blank` in your code.

If working with dynamic property paths, you will likely need to use python's `getattr()/setattr()` builtin functions for that last path element.
