# Show different versions of a screen?

**URL:** https://community.glideapps.com/t/show-different-versions-of-a-screen/24104
**Category:** Ask for Help
**Created:** [March 11, 2021, 2:35pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104 "2021-03-11T14:35:33Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 11, 2021, 2:35pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/1 "2021-03-11T14:35:33Z")

</div>

Hey guys I am sorry for this question, as I should understand this better. However, is it not possible to show different layouts for different screens when using Link To Screen as an action?

I noticed this user had the same question, and it was never responded to. [Different Link to Screen Option](https://community.glideapps.com/t/different-link-to-screen-option/18240)

Thanks in advance.

---

<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 11, 2021, 2:54pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/2 "2021-03-11T14:54:32Z")

</div>

Link to Screen is a details layout that’s tied to that specific button. Would it work if you created multiple Link to Screen buttons and only should the one you need depending on some visibility conditions?

---

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 11, 2021, 2:57pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/3 "2021-03-11T14:57:43Z")

</div>

That’s just it. I did do that man. So I created a Tab with a button that linked to a screen. Configured that screen for a user. Then I created and Admin area using yet another Tab and from there a button to link to screen for a Admin layout. Live edit if your will. But the two are the same. I modified one and they both changed.

---

<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 11, 2021, 3:05pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/4 "2021-03-11T15:05:17Z")

</div>

Hmmm, that seems weird. It’s always been my understanding that the top level of both tabs and link to screen would always have and independent screen layout. Otherwise a detail screen from from a list would have the layout attached to the sheet. I’ll have to test this out, because I don’t think that’s the way it should be working…or at least not how it used to work. Can you share the settings you are using for your Link to Screen action on each button?

---

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 11, 2021, 3:10pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/5 "2021-03-11T15:10:46Z")

</div>

WAIT! It is actually the Details view for a single item.

- Setup

TAB: Programs (This is for the User)

> Cards that link to the details of a item

MENU: Programs (This is for the Admin)

> Button to display Program cards \> Cards that link to the details of an item

---

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 11, 2021, 3:23pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/6 "2021-03-11T15:23:41Z")

</div>

Or is that what this for?

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/5/557f32af97ccc790f5e36d0eabe963fd6c4e166a.png) ](https://dl.dropboxusercontent.com/s/urmixax7gdbltnt/Screen%20Shot%202021-03-11%20at%208.22.14%20AM.png?dl=0)

I thought this would basically allow you to use a separate layout per item Like each program have its own layout. I would like for each one to have the same layout but only per 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: [March 11, 2021, 3:31pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/7 "2021-03-11T15:31:20Z")

</div>

If the link to screen button is on a detail screen from a list, then it’s most likely the same button, but you are possibly viewing two different rows in the same sheet. When you added that button for the admin or the customer, was it already visible when you went to add it to the other tab? If it was, then it’s definitely the same button.

The independent screen configuration is there to allow you to break up each individual item in a list so the details layout for each list item can be designed independently. This is great if you have a static number of rows, but if the number of rows can change, then you are forced to designed each detail screen for each item in a list.

---

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 11, 2021, 3:35pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/8 "2021-03-11T15:35:44Z")

</div>

So then a details screen will always be the same no matter where the user is directed from then?

---

<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 11, 2021, 3:42pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/9 "2021-03-11T15:42:51Z")

</div>

Correct. With the exception of the top level of a tab, or the top level of a link to screen, (or independent screen configuration), detail layouts become attached to the sheet at any level below that top level. So if you were to access the same sheet from 20 different tabs and displayed a list of rows from that same sheet, the details for each item would be the same no matter which tab you used to get to that row. That layout becomes attached to the sheet.

---

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 11, 2021, 3:45pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/10 "2021-03-11T15:45:43Z")

</div>

Gotcha! Thanks for the clarity @Jeff_Hager!

Do you know of any other workaround for this?  
I am currently just using a role for the visibility of different options per user. Is this the best 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: [March 11, 2021, 3:51pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/11 "2021-03-11T15:51:21Z")

</div>

I would think you could create two separate link to screen buttons, and then conditionally show each one depending on the signed in user’s role.

---

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 11, 2021, 3:52pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/12 "2021-03-11T15:52:10Z")

</div>

I will give this a go!  
Thank-you again!

---

<div class="post-metadata">

### Author: ![Ric\_1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ric_1/32/22052_2.png) [@Ric\_1](https://community.glideapps.com/u/Ric_1)
#### Post date: [March 27, 2021, 11:58am UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/13 "2021-03-27T11:58:28Z")

</div>

@Daniel_Canup did you find another workaround or configured visibility criteria for each role type? I’m hesitant to do so as the number of items is quite high and it’s more error prone (plus I cannot change tab title) then simply configuring two different views.

- Client view: 1st tab in details style for one sheet
- Admin view: 2nd tab in details style for another sheet

Both have an inline list linked via a relation to a shared “orders sheet”. The view of clicking an item from that inline list is linked and cannot be configured independently for each use case.

---

<div class="post-metadata">

### Author: ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)
#### Post date: [March 27, 2021, 3:24pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/14 "2021-03-27T15:24:33Z")

</div>

So the thing that I was having issues with was the fact that I was using a detail screen. Which is the reason it was showing the same information each and every time. My solution for this particular situation was that I added admin and user items to the page itself and then conditionally controlled their visibility each individually as needed.

---

<div class="post-metadata">

### Author: ![Ric\_1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ric_1/32/22052_2.png) [@Ric\_1](https://community.glideapps.com/u/Ric_1)
#### Post date: [March 27, 2021, 3:42pm UTC](https://community.glideapps.com/t/show-different-versions-of-a-screen/24104/15 "2021-03-27T15:42:52Z")

</div>

Thanks, then I will do the same. I prefer using the detail over other styles as it gives you more freedom in the design.

Would be great to be able to define different views and not having to jump through loops by creating visibility criteria.
