# Can you hide components or screens based screen id?

**URL:** https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551
**Category:** Ask for Help
**Created:** [March 23, 2023, 12:05am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551 "2023-03-23T00:05:26Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [March 23, 2023, 12:05am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/1 "2023-03-23T00:05:26Z")

</div>

Hi!  
How to hide component on specified screen?  
I have details screen and i whant to use it in a differrent screens but i need to hide some components of this details screen depend the specified screens. I don’t whant to use actions to mark the screens, because some flow (for example thru tabs cant be marked by action) also it costs updates.

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [March 23, 2023, 12:10am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/2 "2023-03-23T00:10:13Z")

</div>

I don’t know what you mean… but if you want to reuse the same screens for different purposes… I don’t think there is any other way than a mark in USC before opening the screen… it should not cost edit if the user is not signed in.

---

<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 23, 2023, 12:12am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/3 "2023-03-23T00:12:54Z")

</div>

Would the condition on the components on that detail screen be based on which row you are viewing, or are you saying that you want to view the same row, but depending on how you navigate to that screen to view that row, you want to see different components? Can you explain your use case in more detail?

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [March 23, 2023, 12:18am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/4 "2023-03-23T00:18:29Z")

</div>

Not depends rows. depends screen id.  
I have Prived Edit office tab in which i have action row componet to do edit action  
And i have common view tab which uses the same detail screen but need to hide edit components

---

<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 23, 2023, 12:22am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/5 "2023-03-23T00:22:42Z")

</div>

Do you have screenshots to help us get a better visual?

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [March 23, 2023, 12:26am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/6 "2023-03-23T00:26:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/b/db4b242071e1312dc2fa48bf465842cc6a2aa2c4.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/b/9b246f3a7ea77fa6aee194d387957661c3094583.jpeg)

> **[Beauty Catalog](https://catalog32.glide.page)**
>
> Найдите вашего Бьюти мастера в Брянске

For now the trigger to hide edit component is: if current user is the owner of this record so hi can edit, but i need to hide edit component on common view to let owner to check how another users will see they item

---

<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 23, 2023, 12:38am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/7 "2023-03-23T00:38:42Z")

</div>

Well, if you want to reuse the same screen, then yes, in this case you would need to do something such as setting a value in the user profile with a custom action, and then set conditions on the edit button based on the value in the user profile. Obviously not what you are wanting to do. I don’t believe there is any reliable way to set conditions based on the screen ID, or the navigation path to that detail screen.

The alternative would be change one of your collections to Show New Screen instead of Show Detail Screen. You would have to copy all of the components from the detail screen to the new screen, and you would then have two separate screens to maintain.

I don’t think I have a very good solution in this case.

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [March 23, 2023, 12:49am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/8 "2023-03-23T00:49:00Z")

</div>

Thanks, Jeff!  
Yes i know that it not possible without action.  
But action not solving to 100% because the tab movement un acting.  
Yes two copies is solving problem but gives another: if you need to change so you must to do double work.  
Anyway thanks! I just whanted to check is no way to detect screen id. Also not through code column  
I think floating button will be enough. But there no it now.

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [March 23, 2023, 1:17am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/9 "2023-03-23T01:17:50Z")

</div>

Thanks, Uzo!  
There will be signed and unsigned users together.

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [March 23, 2023, 1:43am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/10 "2023-03-23T01:43:04Z")

</div>

I still don’t know what is the conditions for someone to see the edit button… is this what you want to hide?

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [March 23, 2023, 7:17am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/11 "2023-03-23T07:17:06Z")

</div>

Yes it is

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [March 23, 2023, 7:20am UTC](https://community.glideapps.com/t/can-you-hide-components-or-screens-based-screen-id/59551/12 "2023-03-23T07:20:23Z")

</div>

Condition to some one is in touch editing. Most part will be on mobile and we have no flying button to friendly switch to edit mode. Expexted behavor is in place editind( in touch) , no need to scroll and find edit button.  
May be temporary solution is to use flying button on smartphones and to disable this button on desctop(because on descton in not work) May be
