Im trying to just do some basic dashboard config, I can setup the pages just fine but now I want to put tabs in those pages but the page is just blank, no tabs, what am I missing?
$Theme = @{
palette = @{
primary = @{
main = ‘#111111’
}
}
}
$Pages = @()
$Pages += New-UDPage -Name ‘Report1’ -Content {
New-UDTabContainer -Tabs {
New-UDTab -Text “Tab 1” -Content {
New-UDElement -Tag ‘div’ -Content { “Tab 1 Content”}
}
}
$Pages += New-UDPage -Name ‘Report2’ -Content {“content here”}
$Pages += New-UDPage -Name ‘Page3’ -Content{“content here”}
$Pages += New-UDPage -Name ‘Page4’ -Content{“content here”}
New-UDDashboard -Theme $Theme -Pages $Pages -Title ‘Dashboard’
Hi @techguy404,
You need to use New-UDTabs
not New-UDTabContainer
. You can refer to examples here: Tabs - PowerShell Universal