# Rename Nested Data Type Parent

**URL:** <https://forum.inductiveautomation.com/t/rename-nested-data-type-parent/14376>\
**Category:** Ignition\
**Created:** [May 23, 2017, 2:26pm UTC](https://forum.inductiveautomation.com/t/rename-nested-data-type-parent/14376 "2017-05-23T14:26:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Jensen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jim_jensen/32/3317_2.png) [@Jim\_Jensen](https://forum.inductiveautomation.com/u/Jim_Jensen)\
**Post date:** [May 23, 2017, 2:26pm UTC](https://forum.inductiveautomation.com/t/rename-nested-data-type-parent/14376/1 "2017-05-23T14:26:56Z")

</div>

I have a custom data type which contains a custom data type member but I cannot seem to change the nested data type’s parent after renaming the parent. For example, the data type _Tank_ contains a member called _LevelSetpoint_ which has a parent type of _Setpoint_. If I rename the data type _Setpoint_ to _SetpointBasic_, then _Tank.LevelSetpoint_ shows a yellow warning triangle under Parent Type with a dropdown listbox allowing the user to select the proper parent type. However, when I select _SetpointBasic_ from the dropdown list, it changes the parent type of _Tank_ instead of _LevelSetpoint_ to _SetpointBasic_.

I am running v7.9.0. Is this a bug and if so, will it be addressed in an upcoming release? What would be the easiest/best way to rename a data type that is contained within other data types?

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [May 23, 2017, 5:14pm UTC](https://forum.inductiveautomation.com/t/rename-nested-data-type-parent/14376/2 "2017-05-23T17:14:22Z")

</div>

Can you export to XML, edit and re-import to fix it?

---

<div class="post-metadata">

**Author:** ![Jim\_Jensen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jim_jensen/32/3317_2.png) [@Jim\_Jensen](https://forum.inductiveautomation.com/u/Jim_Jensen)\
**Post date:** [May 23, 2017, 5:21pm UTC](https://forum.inductiveautomation.com/t/rename-nested-data-type-parent/14376/3 "2017-05-23T17:21:23Z")

</div>

Yep, that’s what I ended up doing but wasn’t sure if that was the only way to fix it other than deleting the member and adding it back with the correct parent type.

I thought I might have been doing something wrong since the designer does provide a dropdown to change the parent type if it’s not found (renamed in my case).
