# How to create a visibility to show

**URL:** https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769
**Category:** Ask for Help
**Created:** [November 10, 2022, 7:01am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769 "2022-11-10T07:01:01Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [November 10, 2022, 7:01am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/1 "2022-11-10T07:01:01Z")

</div>

Hi

How to create a visibility to show a component whever it increases by count.

If I have 4 rows in my table i don’t want to show it.  
But if it increases by 1 as 5,it should show the component.

Need to be done in the visibility component.

---

<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: [November 10, 2022, 7:05am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/2 "2022-11-10T07:05:30Z")

</div>

Create a rollup column to count the number of rows in your table.  
Use that column in your visibility condition, ie. “count is less than 5”

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [November 10, 2022, 7:33am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/3 "2022-11-10T07:33:31Z")

</div>

I just gave an example as 5.

The exact count i cannot determine,we can say infinity times

---

<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: [November 10, 2022, 7:36am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/4 "2022-11-10T07:36:22Z")

</div>

So how would you describe the visibility condition in plain English?

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [November 10, 2022, 10:17am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/5 "2022-11-10T10:17:19Z")

</div>

We need to give numbers,thats okay.  
but this tab showing orders sohow can i describe a number,can i put 1000 in there ?

Future i need to change if the order comes to 1000.

Tell me how put “count is less than 5” in visibility condition?

 ![d2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/9/698538cb5a7e57e00b2fc49310ec53108eaafd87.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: [November 10, 2022, 10:24am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/6 "2022-11-10T10:24:23Z")

</div>

> [@Manikandan\_R](#):
>
> We need to give numbers,thats okay.  
> but this tab showing orders sohow can i describe a number,can i put 1000 in there ?
> 
> Future i need to change if the order comes to 1000.

Sorry, I don’t understand this.

> [@Manikandan\_R](#):
>
> Tell me how put “count is less than 5” in visibility condition?

![Screen Shot 2022-11-10 at 6.23.31 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/d/fd20f54ac3a648733e4da963abccc80761760ea4.png)

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [November 10, 2022, 10:46am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/7 "2022-11-10T10:46:43Z")

</div>

Actually what my requirement is to show component everytime when count increases.  
How to achieve it by using conditional visibility ?

---

<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: [November 10, 2022, 10:58am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/8 "2022-11-10T10:58:04Z")

</div>

Okay, so could I put that another way and say that you want to show the component when there is a “new” item in the table?

What sort of component are you wanting to apply this to? Is it an inline list, or something else?

Also, what would cause a “new” item to be considered no longer “new”?  
For example, once a user has seen the new item, is it automatically no longer new, or does the user need to do something with that item?

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [November 10, 2022, 11:05am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/9 "2022-11-10T11:05:44Z")

</div>

I want to show this red color dot in store pickup tab if any new order comes.It doesn’t matter whether the user sees it or not.I just wants to remind or force the user that something is there in the store pickup.

 ![d5.PNG](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/b/dbae57fef212d1a9703a324796968a8f72b8a769.jpeg)  
Its a rich text component showing it on store pickup tab.

---

<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: [November 10, 2022, 11:17am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/10 "2022-11-10T11:17:24Z")

</div>

Okay, we’re making progress 🙂

Just tell me though, when would the dot go away?  
Or in other words, how can we tell if an order is new?

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [November 10, 2022, 11:31am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/11 "2022-11-10T11:31:05Z")

</div>

Ofcourse,its needs to go away if the user saw it.But i don’t have solutions so i left that sort of things as of now.But curious to know how to deal with it.

If needed we can add a status field.but for example,if a new order comes and we create a new field as status is new,and we are giving a condition like if status is new show the component.Thats okay.But i dont know how could i know if the user sees the order in store pickup tab.

is it someone needs to change the status may be in the store side ?  
Any other idea ?Please.

---

<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: [November 10, 2022, 11:41am UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/12 "2022-11-10T11:41:23Z")

</div>

Okay, so here is my suggestion:

- Create a user specific boolean column in your table. Let’s call that “UserViewed”
- On the Inline List component on that screen, change the action to a custom action as follows:  
– Show Detail Screen → this item  
– Set Column Values → UserViewed → true
- Now to get a count of new items, do a rollup on the UserViewed column, counting the number of unchecked values

Using the above approach, each user will see their own personalised count, and as they view each item, that item will be removed from the count.

If you wanted to, you could also use the UserViewed column as a filter on the Inline List, so each user would only see new items in the list. If you do that, you might need to add a choice component to allow them to toggle between “Show All” and “Show New” items.

---

<div class="post-metadata">

### Author: ![Manikandan\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manikandan_r/32/43482_2.png) [@Manikandan\_R](https://community.glideapps.com/u/Manikandan_R)
#### Post date: [November 10, 2022, 9:12pm UTC](https://community.glideapps.com/t/how-to-create-a-visibility-to-show/53769/13 "2022-11-10T21:12:40Z")

</div>

Hi Darren,

It looks somewhat understandable,i will give a try.

Why do you put a video regarding this functionality in your YouTube if you have time.

Thanks
