# Can you restore a deleted component?

**URL:** <https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810>\
**Category:** Ask for Help\
**Created:** [March 28, 2021, 12:44am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810 "2021-03-28T00:44:53Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 28, 2021, 12:44am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/1 "2021-03-28T00:44:53Z")

</div>

I understand that when you delete a component, the data is not lost. So, I would imagine that it wouldn’t be very difficult to restore. I can re-add the component, and the data’s still there, but it’s not visible. There are no visibility components set. Is there a way to restore a deleted component?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/b/4b093d51f593d18a6a59db8fb4259c8821e5bbf1.jpeg)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 28, 2021, 1:07am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/2 "2021-03-28T01:07:58Z")

</div>

No, I don’t believe there is currently a way to restore a component, unless you catch it in time and can click on the undo button.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 28, 2021, 1:28am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/3 "2021-03-28T01:28:49Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 28, 2021, 3:36am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/4 "2021-03-28T03:36:51Z")

</div>

When I change my Price to an email column, I get my Buy button back.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/7/479b585ed9d16886fd6a7929b881a1d9c8912135.jpeg)

But the price is $439.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/c/0c9e0f453d2f73dc3f7f29824b851537b9adbf97.jpeg)  
So I added a price column to that sheet, with the correct price. But when I change my Price to my price column, my button disappears. ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/c/8c4f8a815253c939a4aa54258233e99ee9a1569b.jpeg)  
Can you think of anything I should try?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 28, 2021, 6:27am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/5 "2021-03-28T06:27:47Z")

</div>

Do you have a value for that price column?

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [March 28, 2021, 12:23pm UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/6 "2021-03-28T12:23:02Z")

</div>

Pls additionally make sure (if it is the case):

1. Sheet is not protected by email rowID etc.

2. If sheet needs rowID, create live copy of sheet and use buy button on live copy.

3. RowID generated by USP not an issue.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 28, 2021, 2:58pm UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/7 "2021-03-28T14:58:39Z")

</div>

I do, but it’s irrelevant because the button disappears, when I draw from the price column. I think I need to figure out where that $439 came from. If I can locate it, maybe I can change it.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 28, 2021, 9:59pm UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/8 "2021-03-28T21:59:48Z")

</div>

I was asking that because when I had this exact problem in the past, it was because the price column is empty. Not sure if other fields tied to the button being empty would cause it to disappear or not.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 28, 2021, 11:38pm UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/9 "2021-03-28T23:38:25Z")

</div>

Yeah, I actually added a price column to that sheet but, when I selected it, the button disappeared.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 30, 2021, 3:19am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/10 "2021-03-30T03:19:19Z")

</div>

I’m pretty sure I need an SKU column for the product ID. Is there a way to generate random SKU numbers, like you do with row IDs?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 30, 2021, 4:38am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/11 "2021-03-30T04:38:04Z")

</div>

You can add a unique identifier in the form where you add a new product, or just add a rowID column as your SKU.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 30, 2021, 5:09am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/12 "2021-03-30T05:09:42Z")

</div>

I added a row ID column for the Product ID, but the button still isn’t visible.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 30, 2021, 11:28am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/13 "2021-03-30T11:28:39Z")

</div>

There has to be something we’re missing. I would try adding all fields used for the buy button to the screen as text components just to verify that the button is using the correct data. Also double check that there is no visibility conditions on the button. I’m sure you’ve checked all that, but I’m not sure what else to check.

Also try duplicating the app just to see if it works in the duplicate.

---

<div class="post-metadata">

**Author:** ![Rubel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rubel/32/18867_2.png) [@Rubel](https://community.glideapps.com/u/Rubel)\
**Post date:** [March 31, 2021, 3:24am UTC](https://community.glideapps.com/t/can-you-restore-a-deleted-component/24810/14 "2021-03-31T03:24:10Z")

</div>

I got it! 😀 Because it’s a search tab, the tutor gets a new row, every time they’re selected. It finally occurred to me that I didn’t know which row it was drawing from…lol And really great news is that I don’t have to create SKU numbers for every row, I can just use the Row ID.😁 Thank you so much, everyone, for all your help.
