# Create a line per row in a collection

**URL:** https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980
**Category:** Ask for Help
**Created:** [May 22, 2025, 9:47am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980 "2025-05-22T09:47:26Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 9:47am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/1 "2025-05-22T09:47:26Z")

</div>

Hi,

I have a collection and I want each item in it to point to a different screen, how can I do that with the new glide?

---

<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: [May 22, 2025, 10:10am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/2 "2025-05-22T10:10:02Z")

</div>

Use a custom action with a conditional branch for each item in the collection.  
Each branch should use a Show New Screen action.

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 10:29am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/3 "2025-05-22T10:29:39Z")

</div>

I am sorry, could you elaborate on that, it does not seem to work

---

<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: [May 22, 2025, 10:32am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/4 "2025-05-22T10:32:51Z")

</div>

I see you marked my reply as the solution. Does that mean you figured it out?  
If you can’t get it working, please show me what you have and I’ll try to point out what needs to be changed.

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 11:20am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/5 "2025-05-22T11:20:59Z")

</div>

Sure!

 ![Capture d’écran 2025-05-22 à 13.19.40](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/8/7819b201b43e9f390a74a184d3293567b1ea280a.png)  
This is what I have with the previous version of Glide with each item pointing to a different screen. How can I do that with the new version of glide?

---

<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: [May 22, 2025, 11:27am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/6 "2025-05-22T11:27:14Z")

</div>

hehe, I know what you are trying to do, so you don’t need to show me that.

Show me how you configured the action as per my previous reply, so I can see where you’ve gone wrong.

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 11:32am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/7 "2025-05-22T11:32:33Z")

</div>

Sorry. Here it is.

 ![Capture d’écran 2025-05-22 à 13.32.07](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/4/e4abd12679db861e9b5259647dfb958029787e3c.png)

---

<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: [May 22, 2025, 11:46am UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/8 "2025-05-22T11:46:40Z")

</div>

Okay, it looks like you are on the right track.

A suggestion: matching names in the conditions should generally be avoided, because it’s very easily broken. What I would do instead is number the rows (1,2,3,etc) and then check the numbers in the conditions instead of the names.

That said, it should work the way you have it setup as long as the values you are using are _exact_ matches for values in the “Nom” column. What happens when you click on an item? If nothing happens, check the workflow run log for errors.

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 12:06pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/9 "2025-05-22T12:06:26Z")

</div>

It works if I add a choice selector for the name otherwise it does not work

 ![Capture d’écran 2025-05-22 à 14.05.33](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/3/a3974467384ebd07bbd1683ee99a14901e267315.png)

---

<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: [May 22, 2025, 12:24pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/10 "2025-05-22T12:24:15Z")

</div>

I think I’m missing something. Can you show me what the data table looks like?  
Also, did you try my suggestion of numbering your rows?

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 12:30pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/11 "2025-05-22T12:30:30Z")

</div>

![Capture d’écran 2025-05-22 à 14.29.55](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/c/8cf64e1fa4468f18001647918a0f03d30350ac05.jpeg)  
here is the data  
I have not tried numbering yet

---

<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: [May 22, 2025, 12:35pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/12 "2025-05-22T12:35:53Z")

</div>

Okay, thanks.

I suspect that you probably have an extra space somewhere in the workflow conditions that cause them not to match. This would be why it works with the choice component, because you get an _exact_ match.

I would suggest numbering the rows. It will be a more robust solution.

---

<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: [May 22, 2025, 2:20pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/13 "2025-05-22T14:20:10Z")

</div>

I feel I have to ask…is the Item Click action for your collection actually using the workflow action you created, or is it still set to ‘Show Detail Screen’?

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 2:21pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/14 "2025-05-22T14:21:42Z")

</div>

I have numbered the roows and used the numbers in the condition but it only displays 1 screen. How can the action button lead to different screens?

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 2:25pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/15 "2025-05-22T14:25:56Z")

</div>

it uses the workflow

---

<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: [May 22, 2025, 2:26pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/16 "2025-05-22T14:26:42Z")

</div>

The item click action should be using your workflow. Otherwise the workflow will not do anything because nothing is calling it.

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 2:29pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/17 "2025-05-22T14:29:22Z")

</div>

yes I understand. the action button uses the workflow. I just dn’t understand how to select a row number t trigger one of the options.

---

<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: [May 22, 2025, 2:32pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/18 "2025-05-22T14:32:05Z")

</div>

When you click on an item in the collection, it will execute the workflow, which will travel down the correct path based on the number in the item you clicked.

You keep mentioning an Action Button, but I’m not sure where that applies to this situation. You should be able to just click on a collection item.

---

<div class="post-metadata">

### Author: ![Aurelien\_Faravelon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aurelien_faravelon/32/39144_2.png) [@Aurelien\_Faravelon](https://community.glideapps.com/u/Aurelien_Faravelon)
#### Post date: [May 22, 2025, 2:33pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/19 "2025-05-22T14:33:51Z")

</div>

If I only use a collection item, then every item gets the same detail screen when I want each item to have aa different detail screen

---

<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: [May 22, 2025, 2:35pm UTC](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980/20 "2025-05-22T14:35:22Z")

</div>

No it won’t because you are calling the workflow, which opens separate screens for each item.

Show me how the Item Click action is configured for the collection.

[Next page](https://community.glideapps.com/t/create-a-line-per-row-in-a-collection/81980.md?page=2)
