# Need help in configuring button block to open two separate pages in glide

**URL:** <https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953>\
**Category:** Ask for Help\
**Created:** [March 23, 2024, 5:10am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953 "2024-03-23T05:10:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 23, 2024, 5:10am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/1 "2024-03-23T05:10:40Z")

</div>

Hi Guys,

Hope you guys are having a great weekend!

I have an issue for which I am trying to find a solution

I have a collection called Campaign where I list all campaigns. Each campaign will have conversation attached to it.

Meaning when I click on any campaign I need to see the list of all conversations that are happening for that campaign.

In Campaigns Table I have conversation filter which is of type relation and I am successfully getting it.

Now In conversation Form which is default form for entering form data I have another **Form Container put up** which is also used to create tasks

Under the conversation in the selected campaign UI I am listing the tasks for that campaign

In campaign I have taskFitler which is of relation to filter it out and give it to me

While it works in the present UI condition where I am displaying 3 Containers in detail page

Container 1 - Shows the details of the campaigns selected from collection

COntainer 2 - Shows the conversation with respect to selected campaign

COntainer 3 - Shows all the Tasks created for the campaign.

Now I know we can make it look better by Using Button block where there will be two buttons which can load pages.

I need help in how can I go ahead with this

When I Click on Button 1 ---- It should load contents of Container 2

When I click Button 2 it should load contents of container 3

I tried doing it its not giving me filtered value.

Below screenshot shows my 3 containers marked in different colours

 ![Screenshot 2024-03-23 at 10.39.34 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/c/fccfb85090a4b3855184ecdfabfce652f261aa44.jpeg)

Thank you for your help in Advance

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 24, 2024, 12:18am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/2 "2024-03-24T00:18:30Z")

</div>

So a campaign can have multiple conversations and multiple tasks?

What you’re trying to do is to have somewhat of a segmented section where you can show different containers based on the type of section you choose?

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 24, 2024, 2:43am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/3 "2024-03-24T02:43:36Z")

</div>

Hi Thinhdinh,

Thank you for the reply.

Yes a campaign can have multiple conversations and multiple tasks

Yes I would need that

So on click of conversation I just show the conversation container content and on click of tasks button I should show task container values

Would it be possible using button block?

Or is there another way?

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 24, 2024, 2:53am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/4 "2024-03-24T02:53:29Z")

</div>

Yes, just use a set column action with the buttons, and show/hide your container based on the column you’re writing to.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 24, 2024, 3:16am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/5 "2024-03-24T03:16:26Z")

</div>

What’s a set column action?

I know setting action for button click. Is that what you mean ?

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 24, 2024, 8:37am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/6 "2024-03-24T08:37:45Z")

</div>

> **[Set Column Value | Glide Docs](https://www.glideapps.com/docs/set-column-values)**
>
> Change column and row values.

---

<div class="post-metadata">

**Author:** ![jhuisman](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@jhuisman](https://community.glideapps.com/u/jhuisman)\
**Post date:** [March 24, 2024, 7:34pm UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/7 "2024-03-24T19:34:46Z")

</div>

An alternative might be to use the Choice component and store its value in a column in the User Profile and set its action to take you to the next page. Then, in that subsequent page, filter based on the value you stored in the User Profile column. The filter ends up being almost self-documenting.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 25, 2024, 7:27am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/8 "2024-03-25T07:27:07Z")

</div>

Oh this I knew ThinhDinh.

Thank you for the reply

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 25, 2024, 7:31am UTC](https://community.glideapps.com/t/need-help-in-configuring-button-block-to-open-two-separate-pages-in-glide/71953/9 "2024-03-25T07:31:30Z")

</div>

Let me try this.

Thank you for responding.

Regards,  
Dilip
