# Custom action act on any table

**URL:** https://community.glideapps.com/t/custom-action-act-on-any-table/37261
**Category:** Feature Requests
**Created:** [January 16, 2022, 11:09am UTC](https://community.glideapps.com/t/custom-action-act-on-any-table/37261 "2022-01-16T11:09:37Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)
#### Post date: [January 16, 2022, 11:09am UTC](https://community.glideapps.com/t/custom-action-act-on-any-table/37261/1 "2022-01-16T11:09:37Z")

</div>

Here is another custom action that should be able to, at the very least, act upon the user table, but only allows acting on the current table. Let us specify which table to act on – if another table is linked to this record with a relation, allow us to act on it.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/a/4a7f4fb11e6228249cbc04aafc9f8419dac0a4a4.png)

---

<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: [January 16, 2022, 11:12am UTC](https://community.glideapps.com/t/custom-action-act-on-any-table/37261/2 "2022-01-16T11:12:53Z")

</div>

If you need to act on the user table, add a template column to your current table and populate the Active User’s email (or other identifying column). Next, create a single relation from this column to the User Profiles table. This will give you access to the User table in your action.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [January 16, 2022, 11:14am UTC](https://community.glideapps.com/t/custom-action-act-on-any-table/37261/3 "2022-01-16T11:14:57Z")

</div>

> [@David\_Gabler](#):
>
> if another table is linked to this record with a relation, allow us to act on it.

You can, as long as it’s a single relation.

---

<div class="post-metadata">

### Author: ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)
#### Post date: [January 16, 2022, 11:31am UTC](https://community.glideapps.com/t/custom-action-act-on-any-table/37261/4 "2022-01-16T11:31:36Z")

</div>

Thank you. I already have an “owner”. That should be set during an add record. I don’t see a way to make a single relation to that. I added a template to the same value, and again, when I select “single” for a new column, it allows me to select a certain column, but not the entire row. However, when I made a relation based on the owner, it allowed me to select that rather than “this item”.

I see that having a relation to other tables also gives me access to those tables.

---

<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: [January 16, 2022, 11:33am UTC](https://community.glideapps.com/t/custom-action-act-on-any-table/37261/5 "2022-01-16T11:33:07Z")

</div>

Yes, in order for other data tables to show up in the Action, they need to be related to the current table in some way. A single relation provides you with the access you’re looking for.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [January 17, 2022, 11:33am UTC](https://community.glideapps.com/t/custom-action-act-on-any-table/37261/6 "2022-01-17T11:33:13Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
