Skip to main content
16-Pearl
July 12, 2022
Question

Using a tabset widget (Tab selector)

  • July 12, 2022
  • 1 reply
  • 642 views

Good day community.

 

I have three templates, each containing different things.

I want to display the things inside of each template one at a time. 

I am using the tab-set widget since I want to navigate through the different templates. However I am struggling to display below the things contained in each of my template.

 

I have tried binding values to the value and label widget property. Also I tried to write a service that outputs the things depending on the selected tabs.

Please see below:

 

if(SelectedTab === "Laptops")
{
var result = ThingTemplates["LaptopsTT"].GetImplementingThings();
}
if(SelectedTab === "Houses")
{
var result=ThingTemplates["HousesTT"].GetImplementingThings();
}else{
var result= ThingTemplates["CarsTT"].GetImplementingThings();
}

 

 

How do I go about this?

suggestions will really be appreciated

1 reply

17-Peridot
July 13, 2022

Hello @Jay_nisa

 

I am confused by your description. Can you provide more details on what your mashup looks like and the difficulty you are having in getting the results you desire.

 

Thanks