Getting Started
What is PowerShell Universal?
Installation
Windows
IIS
Persistent Docker Image
Configuration
Port and HTTPS Certificate
SQL Persistence
Platform
Environments
Variables
Published Folders
Git
Repository
Modules
Secret Management
APIs
Basics
Security
Event Hubs
Automation
Scripts
Scheduling
Triggers
Apps
Basics
Dynamic Regions
Session and Cache
Forms
Navigation
Basic Tables
Designer
Theming
Pages
Forms
Desktop
About
File Associations
Security
Forms
Azure Active Directory and OpenID Connect
Roles
App Tokens
Development
Debugger
Visual Studio Code Extension
PowerShell Module and Management API
Navigation
Customize the navigation in your dashboard.
Download this Lecture DocsIn this video, we look at how to setup navigation in a dashboard. We'll cover built-in navigation, static navigation and dynamic navigation.
The script from this video can be found here.
$Navigation = {
New-UDListItem -Label "Page One" -Href "/Page-One"
New-UDListItem -Label "Parent" -Children {
New-UDListItem -Label "Page Two" -Href '/Page-two' -Nested
New-UDListItem -Label "External Link" -Href 'https://www.ironmansoftware.com' -Nested
}
New-UDListItem -Label (Get-Date) -Href "/Page-One"
}
$Navigation = @(
New-UDListItem -Label "Page One" -Href "/Page-One"
New-UDListItem -Label "Parent" -Children {
New-UDListItem -Label "Page Two" -Href '/Page-two' -Nested
New-UDListItem -Label "External Link" -Href 'https://www.ironmansoftware.com' -Nested
}
)
$Pages = @()
$Pages += New-UDPage -Name 'Page One' -Content {
New-UDTypography -Text 'Page One'
}
$Pages += New-UDPage -Name 'Page Two' -Content {
New-UDTypography -Text 'Page Two'
}
New-UDDashboard -Title 'Pages' -Pages $Pages -Navigation $Navigation #-NavigationLayout permanent