# Make a Smart Action available across all collections

**URL:** <https://community.forestadmin.com/t/make-a-smart-action-available-across-all-collections/513>\
**Category:** Help me!\
**Tags:** howtos\
**Created:** [June 23, 2020, 4:20pm UTC](https://community.forestadmin.com/t/make-a-smart-action-available-across-all-collections/513 "2020-06-23T16:20:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jingram](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jingram](https://community.forestadmin.com/u/jingram)\
**Post date:** [June 23, 2020, 4:20pm UTC](https://community.forestadmin.com/t/make-a-smart-action-available-across-all-collections/513/1 "2020-06-23T16:20:25Z")

</div>

## Expected behavior

I have created a smart action on one of my collections and it is working as expected. What I would like to know is if there is an _easy way_ to make that smart action available to all collections? (i.e. without having to manually enter it into every forest/\<collection.js\> file?

## Actual behavior

Currently, I have to define a smart action on a particular collection, and only when the user is viewing that particular collection is the action made available.

## Context

Our project has over 20 tables, and we would like a single smart action to apply to all of them.

- Package Version: Node v10.15.3
- Express Version:
- Sequelize Version:
- Database Dialect:
- Database Version: postgres (PostgreSQL) 11.8
- Project Name: NSF\_Projects

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 23, 2020, 4:34pm UTC](https://community.forestadmin.com/t/make-a-smart-action-available-across-all-collections/513/2 "2020-06-23T16:34:34Z")

</div>

Hey @jingram,

Welcome to our community! 👋

This is true, a smart action is limited to one collection.  
It’s not possible for now to create an action available to all collections.

Just out of curiosity, why do you want to have an action available to all collections? What is your usecase?

Thanks.

---

<div class="post-metadata">

**Author:** ![jingram](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jingram](https://community.forestadmin.com/u/jingram)\
**Post date:** [June 23, 2020, 4:53pm UTC](https://community.forestadmin.com/t/make-a-smart-action-available-across-all-collections/513/3 "2020-06-23T16:53:21Z")

</div>

Our use case is that we would like to apply a global filter. All of our collections are related to one collection (through belongsTo, belongsTo through, etc.), and we would like to create a global filter that, when selected, filters all collections at once.

---

<div class="post-metadata">

**Author:** ![jingram](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jingram](https://community.forestadmin.com/u/jingram)\
**Post date:** [June 23, 2020, 4:53pm UTC](https://community.forestadmin.com/t/make-a-smart-action-available-across-all-collections/513/4 "2020-06-23T16:53:55Z")

</div>

And thanks for the super quick reply!

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 24, 2020, 8:19am UTC](https://community.forestadmin.com/t/make-a-smart-action-available-across-all-collections/513/5 "2020-06-24T08:19:25Z")

</div>

Ok @jingram, thanks for detailing your usecase!  
I’ll add your request into our Product Board.  
Cheers!
