Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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
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