# Create a Chat that only shows Chats based on the page you are on?

**URL:** <https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232>\
**Category:** Ask for Help\
**Created:** [October 24, 2023, 7:33am UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232 "2023-10-24T07:33:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [October 24, 2023, 7:33am UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/1 "2023-10-24T07:33:10Z")

</div>

I am creating a CRM where visitors can be followed up with

I am using the [Chat feature](https://www.glideapps.com/docs/essentials/components/collections/chat)  
However I noticed that I can’t save data based on the page I am on? ie it shows the same chat content for every page?

 ![Screenshot 2023-10-24 at 09.29.53](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a424fdec497554c201613c3a7b594d346afef8de.png)

I want to have a different chat on a different page  
for Eg, If am looking at Daniel’s page, it shows that same content as Zak’s Page

 ![Screenshot 2023-10-24 at 09.31.41](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/0/106c465234f0b4a6c5e20b205b08cd899e5699dd.png)  
 ![Screenshot 2023-10-24 at 09.31.03](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/7/f7205bf0151c86ac1b3818c7d7314058bb62ff26.jpeg)

---

<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:** [October 24, 2023, 10:45am UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/2 "2023-10-24T10:45:47Z")

</div>

Can’t you just filter it like any other Collection? 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [October 24, 2023, 11:02am UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/3 "2023-10-24T11:02:31Z")

</div>

That’s what I am trying todo, however I can’t add a property onto it to filter?

I only have these options?

 ![Screenshot 2023-10-24 at 09.29.53](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a424fdec497554c201613c3a7b594d346afef8de.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [October 24, 2023, 11:57am UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/4 "2023-10-24T11:57:25Z")

</div>

You need to configure the filter in the Options tab.

 ![CleanShot 2023-10-24 at 07.56.40](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/c/cc876d089126cfaf802644e815117bb625a9e64c.jpeg)

---

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [October 24, 2023, 3:43pm UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/5 "2023-10-24T15:43:16Z")

</div>

I did that, but I don’t have \<\>Content or Session ID?

> **[Gyazo Screen Video](https://gyazo.com/b534e2d98c791ef11d2817c697d75164)**
>
> Gyazo is the easiest way to record screenshots & videos you can share instantly. Save time with async visual communication that's effortless and engaging.

See grab too

 ![Screenshot 2023-10-24 at 17.44.04](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/7/67a44b805991189c39628159619d6171a7619e0e.jpeg)

---

<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:** [October 24, 2023, 3:49pm UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/6 "2023-10-24T15:49:18Z")

</div>

Your filter should be something related to the user you are viewing.

Something like “User Email is Screen → Email”

---

<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:** [October 24, 2023, 4:16pm UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/7 "2023-10-24T16:16:52Z")

</div>

You need one more basic text column in your chat table. You can’t assign a session or page ID if you haven’t providing a column in your table to write that ID into.

Add a column in your chat table to hold a value such as your page ID. When you do that, then it will show up in your ‘Save Data’ configuration in the chat component configuration. You need to give it a column to store a value. Then you can fill it and use it for filtering.

---

<div class="post-metadata">

**Author:** ![Gary\_Willmott](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gary_willmott/32/837_2.png) [@Gary\_Willmott](https://community.glideapps.com/u/Gary_Willmott)\
**Post date:** [October 25, 2023, 6:46am UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/8 "2023-10-25T06:46:50Z")

</div>

Tx @Darren_Murphy and @Jeff_Hager this worked 🙏🙏🙏🙏

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [November 1, 2023, 6:47am UTC](https://community.glideapps.com/t/create-a-chat-that-only-shows-chats-based-on-the-page-you-are-on/67232/9 "2023-11-01T06:47:22Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
