Dynamically Selecting Pages in Tab Container

Hello @cmallonee,

I created a value called “limit” on the page. This parameter indicates the number of tabs to be displayed. Since I haven’t connected to the SQL yet, I wanted to test it this way.

Below, I created three views for three tabs as marked in the image. Additionally, I created an EmbeddedView inside the TabContainer.

When I query the SQL, I thought it would respond according to the user as shown below.

Then, in the embeddedView section, I change the tabIndex based on the selected tab’s information, so that it navigates to the tab the user clicked on.

When I entered "1" for the page parameter, I saw 3 tab.

When I entered "3" for the page parameter, I saw 3 tab.

I thought I had completed the screen. Won’t this method work? I didn’t quite understand what you meant.

Of course, when I add a new page to the database, it will need to be created on the perspective side as well.

@Samuel_Sueur I just used one embeddedView inside the TabContainer. If you want you can check.