PowerShell Universal
Ironman SoftwareForums
v2
v2
  • About
  • Get Started
  • Additional Resources
  • Installation
    • Docker
    • Upgrading
  • Licensing
  • System Requirements
  • Supported Browsers
  • Cmdlet Help
  • Templates
  • API
    • About
    • Endpoints
    • Security
    • Error Handling
    • Rate Limiting
  • Automation
    • About Automation
    • Scripts
      • Parameters
    • Jobs
    • Schedules
    • Terminals
    • Triggers
  • User Interfaces
    • About
    • Dashboards
      • Building Dashboards
      • Components
        • Dashboards
        • Pages
        • Dynamic Regions
        • Element
        • Error Boundary
        • HTML
        • Building Custom Components
        • Data Display
          • Alert
          • Chip
          • Date and Time
          • Icon
          • List
          • Table
          • Tree View
          • Typography
        • Data Visualization
          • Charts
          • Map
        • Feedback
          • Backdrop
          • Modal
          • Progress
          • Skeleton
        • Inputs
          • Autocomplete
          • Button
          • Checkbox
          • Code Editor
          • Date Picker
          • Editor
          • Floating Action Button
          • Form
          • Radio
          • Select
          • Slider
          • Switch
          • Textbox
          • Time Picker
          • Transfer List
          • Upload
        • Navigation
          • Drawer
          • Link
          • Menu
          • Stepper
          • Tabs
        • Layout
          • Grid Layout
          • Grid
          • Hidden
        • Utilities
          • Transitions
        • Surfaces
          • AppBar
          • Card
          • Paper
          • Expansion Panel
      • Interaction
      • Marketplace
      • Role Based Access
      • Scheduled Endpoints
      • Sessions
      • Themes
        • Cascading Style Sheets
        • Styles
      • Custom Variable Scopes
      • Migrating From Universal Dashboard 2.9
    • Pages
      • Alerts
      • Bar Chart
      • Button
      • Form
      • iFrame
      • Image
      • Line Chart
      • Liquid Chart
      • Paragraph
      • Statistic
      • Table
      • Variables
  • Platform
    • Cache
    • Desktop Mode
      • Hotkeys
    • Modules
    • Monitoring
    • Published Folders
    • Templates
    • Variables
  • Configuration
    • About
    • API
    • Environments
    • Git
    • Hosting
      • Azure
      • IIS
      • Single-File
    • Login Page
    • Management API
    • Settings
    • Security
      • Access Controls
      • App Tokens
      • Client Certificate
      • OpenID Connect
      • SAML2
      • WS-Federation
    • Repository
    • Running as a Service Account
  • Development
    • Debugging Scripts
    • Editor
    • Hangfire
    • Logging
    • Profiling
    • Visual Studio Code Extension
  • Changelog
  • Extension Changelog
  • Legacy Universal Dashboard Docs
Powered by GitBook

Copyright 2025 Ironman Software

On this page
  • Basic Dashboards
  • Dashboard with Pages
  • Custom Not Found Page
  • Custom Not Authorized Page

Was this helpful?

  1. User Interfaces
  2. Dashboards
  3. Components

Dashboards

Dashboards are the root component for a web site.

Dashboards are the root component for all components and pages.

Basic Dashboards

The basic dashboard requires a title and content.

New-UDDashboard -Title 'Dashboard' -Content {

}

Dashboard with Pages

Pages allow you to organize your dashboard into separate URLs under the same dashboard. You can learn more about pages here.

The below dashboard will have pages available at /page1 and /page2.

New-UDDDashboard -Title 'Pages' -Pages @(
     New-UDPage -Name 'Page1' -Content {}
     New-UDPage -Name 'Page2' -Content {}
)

Custom Not Found Page

When using multiple pages, users may access a page that does not exist. By default, a standard not found page will be displayed. To customize the not found page, use the -PageNotFound parameter.

New-UDDDashboard -Title 'Pages' -Pages @(
     New-UDPage -Name 'Page1' -Content {}
     New-UDPage -Name 'Page2' -Content {}
) -PageNotFound {
   New-UDTypograhy 'Not Found'
}

Custom Not Authorized Page

By default, the Not Found page will be displayed when a user is not authorized to view it. If you customize the Not Authorized page, this will be displayed instead.

New-UDDDashboard -Title 'Pages' -Pages @(
     New-UDPage -Name 'Page1' -Content {}
     New-UDPage -Name 'Page2' -Content {} -Role Administrator
) -NotAuthorized {
   New-UDTypograhy 'Not Authorized'
}
PreviousComponentsNextPages

Last updated 3 years ago

Was this helpful?