# Creating a new item in structure field programatically

**URL:** <https://forum.getkirby.com/t/creating-a-new-item-in-structure-field-programatically/19413>\
**Category:** Questions\
**Tags:** v3\
**Created:** [September 18, 2020, 5:11pm UTC](https://forum.getkirby.com/t/creating-a-new-item-in-structure-field-programatically/19413 "2020-09-18T17:11:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![plagasul](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/plagasul/32/4199_2.png) [@plagasul](https://forum.getkirby.com/u/plagasul)\
**Post date:** [September 18, 2020, 5:11pm UTC](https://forum.getkirby.com/t/creating-a-new-item-in-structure-field-programatically/19413/1 "2020-09-18T17:11:20Z")

</div>

Where can I learn how to programatically add items in structure fields ?

Thanks

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [September 18, 2020, 5:14pm UTC](https://forum.getkirby.com/t/creating-a-new-item-in-structure-field-programatically/19413/2 "2020-09-18T17:14:52Z")

</div>

There are multiple threads here all with the same example

[https://forum.getkirby.com/search?q=addToStructure](https://forum.getkirby.com/search?q=addToStructure)

---

<div class="post-metadata">

**Author:** ![plagasul](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/plagasul/32/4199_2.png) [@plagasul](https://forum.getkirby.com/u/plagasul)\
**Post date:** [September 18, 2020, 5:15pm UTC](https://forum.getkirby.com/t/creating-a-new-item-in-structure-field-programatically/19413/3 "2020-09-18T17:15:17Z")

</div>

Isn’t it to update an existing item ?

Let me re-read

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [September 18, 2020, 5:15pm UTC](https://forum.getkirby.com/t/creating-a-new-item-in-structure-field-programatically/19413/4 "2020-09-18T17:15:48Z")

</div>

It’s actually the same thing.
