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

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

Thank you for your help in Advance

Regards,
Dilip

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?

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

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

What’s a set column action?

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

Regards,
Dilip

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.

1 Like

Oh this I knew ThinhDinh.

Thank you for the reply

Let me try this.

Thank you for responding.

Regards,
Dilip