# Need help in doing a multiple select in list view and Moving multiple selected List item to another table

**URL:** <https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672>\
**Category:** Ask for Help\
**Created:** [March 14, 2024, 6:12am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672 "2024-03-14T06:12:24Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 14, 2024, 9:54am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/22 "2024-03-14T09:54:53Z")

</div>

I will try this as a practice. Thank you for the solution.

> [@Darren\_Murphy](#):
>
> Click each item to select it, then add all with a single action when done.

**I use these below steps to achieve above right ?**

- On your Collection, modify your Item Click action so it takes the value from the Make Array column and writes it to the multiple files column in the User Profile
- Then once the user has finished making their selections, use an action to take the value from the multiple files column in the user profile row, and write it to the multiple files column in the Campaigns table.

You can then relate that column back to your Creators table, and you will have a list of all Creators associated with each Campaign.

**I tried it , its only taking the first item as only that is clickable how can I make it take multiple rows in a single go like how you mentioned??**

> [@Darren\_Murphy](#):
>
> Let me ask you a question: do they need to be able to view the details of each item in this list at this point?

I am afraid I’ll need it because, I might have to edit the values.

But for this purpose I could make use of Collection item action for edit.

This would still mean I can see detail page right ?

and also keep your solution intact.

Would that be ok?

Regards,  
Dilip

---

<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:** [March 14, 2024, 10:07am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/23 "2024-03-14T10:07:26Z")

</div>

> [@Dilip\_Adiga](#):
>
> This would still mean I can see detail page right ?
> 
> and also keep your solution intact.
> 
> Would that be ok?

Yes, you can have as many Collection Item actions as you want.

---

<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:** [March 14, 2024, 10:08am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/24 "2024-03-14T10:08:30Z")

</div>

> [@Dilip\_Adiga](#):
>
> I tried it , its only taking the first item as only that is clickable how can I make it take multiple rows in a single go like how you mentioned??

You need to show me how you set it up.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 14, 2024, 10:13am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/25 "2024-03-14T10:13:24Z")

</div>

This is my action which I have set up

https://www.loom.com/embed/046e1ea1584f4bd987d8b5117a7fb866?sid=c7982d32-0458-4432-b1ae-2e2422ba7452

This is my click set up

https://www.loom.com/embed/0fca4adf439c42309a805d93aed3ac90?sid=fae65b06-70d5-45e8-8401-98137028c411

Regards,  
Dilip

---

<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:** [March 14, 2024, 10:19am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/26 "2024-03-14T10:19:11Z")

</div>

The below needs to be two separate actions. The way you have it now you are clearing the value and setting it again every time. So the array will only ever contain one value. You only need to clear it once - when the screen is first opened.

 ![CleanShot 2024-03-14 at 18.15.58@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/1/812340f7702577824259288f35b2eb3113e3af26.jpeg)

I don’t understand what you are trying to show me with the second video.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 14, 2024, 11:02am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/27 "2024-03-14T11:02:47Z")

</div>

How can you give two actions in this case?

Its item click action right, only one can be given Correct me if I am wrong.

Regards,  
Dilip

---

<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:** [March 14, 2024, 11:03am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/28 "2024-03-14T11:03:13Z")

</div>

@Dilip_Adiga - make a copy of the below template and study it.

> **[Campaigns & Creators](https://go.glideapps.com/template/p9PAWzDgHo3t9Z60fzby-template-published?privateTemplateToken=bKMsCcCQI92FOmvWkkEG)**

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 14, 2024, 11:25am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/29 "2024-03-14T11:25:00Z")

</div>

> [@Darren\_Murphy](#):
>
> [Campaigns & Creators](https://go.glideapps.com/template/p9PAWzDgHo3t9Z60fzby-template-published?privateTemplateToken=bKMsCcCQI92FOmvWkkEG)

I dont know how I can thank you Murphy! I will go through this and try to understand this in detail.

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 14, 2024, 11:31am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/30 "2024-03-14T11:31:19Z")

</div>

I went through your solution Darren, Its damn cool.

Had couple of questions if I may ask you.

1. When we add new creators to the campaigns, it resets and adds new ones every time.

is there a way I can keep the ones added previously and when I add more creators again I need to check and add only ones that arent there.

Would that be a possible implantation or its complicated?

Regards,  
Dilip

---

<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:** [March 14, 2024, 11:33am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/31 "2024-03-14T11:33:43Z")

</div>

> [@Dilip\_Adiga](#):
>
> is there a way I can keep the ones added previously and when I add more creators again I need to check and add only ones that arent there.

Yes. What you can do is instead of clearing the column in the user profile, set it with the current array value from the Campaigns table, and then go from there. It would make sense to set that up on the Campaigns tab. You’ll see a collection there - you would modify the default action on that collection.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 14, 2024, 11:48am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/32 "2024-03-14T11:48:16Z")

</div>

> [@Darren\_Murphy](#):
>
> Yes. What you can do is instead of clearing the column in the user profile, set it with the current array value from the Campaigns table, and then go from there.

I tried this. This solves the issues if I am only operating on campaign 1 and making changes and adding things there.

but If I move same ones I selected for campaign 1 to campaign 2 it removes all older values and adds this.

**its understandable since the current selection in User profile table is the campaign 1 selection**

When operating on multiple campaigns it’ll reset right?

Regards,  
Dilip

---

<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:** [March 14, 2024, 11:53am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/33 "2024-03-14T11:53:48Z")

</div>

> [@Dilip\_Adiga](#):
>
> but If I move same ones I selected for campaign 1 to campaign 2 it removes all older values and adds this.
> 
> **its understandable since the current selection in User profile table is the campaign 1 selection**
> 
> When operating on multiple campaigns it’ll reset right?

That’s why I said this 👇

> [@Darren\_Murphy](#):
>
> You’ll see a collection there - you would modify the default action on that collection.

You need to change the default action on that Collection so that it first writes the value from the selected row into the User Profile row, then does Show Details screen. Then you set the Details screen up to work the same way as the Creators tab. Except you don’t need the choice component, as you’re already attached to the correct row.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 14, 2024, 12:09pm UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/34 "2024-03-14T12:09:24Z")

</div>

I am just amazed by this solution Darren. I will go through this again and process it and get back to you with questions.

Thank you again.

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 15, 2024, 6:49am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/35 "2024-03-15T06:49:19Z")

</div>

Thank you again Murphy, I tried this solution.

However I observed one thing. Since we are saving the Selected creators value in users table.

the reSelected relation column in creators list becomes user specific Meaning.

If I have multiple users and I switch between them, Selection de-selection wont work.

Is that something we can counter?

Regards,  
Dilip

---

<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:** [March 15, 2024, 6:56am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/36 "2024-03-15T06:56:36Z")

</div>

Yes, I see. That’s a bug in my template. I sat the Creators list on top of the Users table and forgot to filter it. There are a number of ways you could address this:

- Apply Row Owners to the Users table
- Apply a filter to the Creators tab - “email is signed in user”
- Move the Creators tab to sit on top of the Creators table instead of the Users table
- Use a separate single row helper table

Any of the above would work.

---

<div class="post-metadata">

**Author:** ![michellerudolf](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/michellerudolf/32/72319_2.png) [@michellerudolf](https://community.glideapps.com/u/michellerudolf)\
**Post date:** [March 15, 2024, 7:07am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/37 "2024-03-15T07:07:27Z")

</div>

You should try this.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 15, 2024, 10:01am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/38 "2024-03-15T10:01:58Z")

</div>

> [@Darren\_Murphy](#):
>
> Apply a filter to the Creators tab - “email is signed in user”

I guess I tried this, When I am logged in As User 1 and have selected 2 creators and moved to campaigns tab

I change the account and login → I can see the the 2 creators I had selected previously to be selected without being able to de-select it.

Its a corner case I am assuming because user will not switch accounts like how I do on editor.

Regards,  
Dilip

---

<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:** [March 15, 2024, 10:24am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/39 "2024-03-15T10:24:59Z")

</div>

That’s exactly what I tested and it works perfectly, so I guess you didn’t configure it quite right.

I just republished the template with that fix applied. You can make another copy and compare. Updated link below:

> **[Campaigns & Creators](https://go.glideapps.com/template/p9PAWzDgHo3t9Z60fzby-template-published?privateTemplateToken=bKMsCcCQI92FOmvWkkEG)**

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 18, 2024, 3:13am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/40 "2024-03-18T03:13:10Z")

</div>

Hi Darres,

hope you had a good weekend.

I just tried it over the weekend. It strangely works in your code, When I did the exact same change in my code it just is the same.

 ![Screenshot 2024-03-18 at 8.41.25 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/f/2ffdcf8e9b64c4e16fabdc0d7fc780eb85911cb0.jpeg)

When I change accounts it just gets stuck with previous values and does not reset as it happens in your template.

I am assuming the only change you did was filter thing right?

Regards,  
Dilip

---

<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:** [March 18, 2024, 3:26am UTC](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672/41 "2024-03-18T03:26:35Z")

</div>

Yes, that’s the only change I made.

[Previous page](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672.md?page=1)

[Next page](https://community.glideapps.com/t/need-help-in-doing-a-multiple-select-in-list-view-and-moving-multiple-selected-list-item-to-another-table/71672.md?page=3)
