# Copy Row ID to another Column on Insert

**URL:** <https://community.glideapps.com/t/copy-row-id-to-another-column-on-insert/68143>\
**Category:** Ask for Help\
**Created:** [November 26, 2023, 12:26pm UTC](https://community.glideapps.com/t/copy-row-id-to-another-column-on-insert/68143 "2023-11-26T12:26:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MGA](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mga/32/50456_2.png) [@MGA](https://community.glideapps.com/u/MGA)\
**Post date:** [November 26, 2023, 12:26pm UTC](https://community.glideapps.com/t/copy-row-id-to-another-column-on-insert/68143/1 "2023-11-26T12:26:22Z")

</div>

Is there a way to copy a new Row ID to another Column on/after Insert in Glide Tables?

E.G. Copy the new **Row ID** to **Property ID** in **Table Property** , after a new Row has been added:

![id](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/b/5b66c9b14fc47ceb679dae99aee85db04244630b.png)

Preferably on Data Level, not through Actions.

---

<div class="post-metadata">

**Author:** ![MGA](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mga/32/50456_2.png) [@MGA](https://community.glideapps.com/u/MGA)\
**Post date:** [November 26, 2023, 6:40pm UTC](https://community.glideapps.com/t/copy-row-id-to-another-column-on-insert/68143/2 "2023-11-26T18:40:49Z")

</div>

I manged to get it working on Layout with Actions:

![action](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/d/2da4aca0986ffc22a0cc6d0cc7561bbf7c9f2627.png)

But would prefer to get it working straight on Data.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [November 26, 2023, 6:41pm UTC](https://community.glideapps.com/t/copy-row-id-to-another-column-on-insert/68143/3 "2023-11-26T18:41:29Z")

</div>

I just asked for this too. If you use the API to add rows, then yes, the rowID is in the response.

If you use a form screen to add rows, then yes, the on submit action references the new row and this the new rowID

If you use an “add row” action, then no. This would be a really nice feature though.

---

<div class="post-metadata">

**Author:** ![AdamMartin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adammartin/32/66650_2.png) [@AdamMartin](https://community.glideapps.com/u/AdamMartin)\
**Post date:** [November 26, 2023, 7:22pm UTC](https://community.glideapps.com/t/copy-row-id-to-another-column-on-insert/68143/4 "2023-11-26T19:22:32Z")

</div>

I guess this would be a consideration with automations that are not user triggered. Really hope we see such things soon.

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [November 26, 2023, 10:53pm UTC](https://community.glideapps.com/t/copy-row-id-to-another-column-on-insert/68143/5 "2023-11-26T22:53:51Z")

</div>

You could add a Template column and just have it grab the RowID as its value. If you need this to be a basic text column though, this doesn’t help much.
