# How to save a JSON into a new existing table field from admin area?

**URL:** <https://forum.shopware.com/t/how-to-save-a-json-into-a-new-existing-table-field-from-admin-area/66403>\
**Category:** Programming (EN)\
**Created:** [21. April 2020 um 10:08 UTC](https://forum.shopware.com/t/how-to-save-a-json-into-a-new-existing-table-field-from-admin-area/66403 "2020-04-21T10:08:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SorinSologics2019](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@SorinSologics2019](https://forum.shopware.com/u/SorinSologics2019)\
**Post date:** [21. April 2020 um 10:08 UTC](https://forum.shopware.com/t/how-to-save-a-json-into-a-new-existing-table-field-from-admin-area/66403/1 "2020-04-21T10:08:27Z")

</div>

Hello.&nbsp;

We have the following scenario:

- with a migration we add a JSON field to product table called ‚custom\_ids‘

- in admin we would like to use a multiple product selection(like on bundles) and those product ids should be saved into the table field ‚custom\_ids‘ as an array

Practically we need to assign products to another products.

What would be the best practice here?

Any help would be appreciated

Best regards,

Sorin
