V3 is not showing any component

Am I doing anything wrong here, but I cannot display an component with v3.0.0-beta1.

I cleared my browser cache, used another browser and changed my port to a never used one.

http://localhost:10005/object/user/augustin

User.ps1

New-UDPage -Url "/object/user/:ID" -Endpoint {
    param($ID)
    
    New-UDTextbox -Id 'txtUser' -Label 'user' -Value $ID
}

Startup.ps1

$Pages = Get-ChildItem (Join-Path $PSScriptRoot 'Pages') -Recurse -File | ForEach-Object {
        & $_.FullName
    } 

    $Dashboard = New-UDDashboard -Title 'AdminCenter' -EndpointInitialization $EndpointInitialization -Pages $Pages
    
    $StartDashboard = Start-UDDashboard -Name 'AdminCenter' -Dashboard $Dashboard -Port 10099

PS: This is also happening for non dynamic pages

After doing some test it seems to be related to the UD Enterprise module. Because if I do not import the enterprise module (only the community) anything is working.

Import-Module UniversalDashboard
Import-Module UniversalDashboard.Community
PS C:\WINDOWS\system32> Get-Module UniversalDashboard

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Manifest   3.0.0      UniversalDashboard                  {Add-UDElement, Clear-UDCache, Clear-UDElement, ConvertTo-JsonEx...}


PS C:\WINDOWS\system32> Get-Module UniversalDashboard.Community

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     3.0.0      UniversalDashboard.Community        {Add-UDElement, Clear-UDCache, Clear-UDElement, ConvertTo-JsonEx...}

@adam

This problem is also related to this GH issue: https://github.com/ironmansoftware/universal-dashboard/issues/1571
Should I open another issue or is this one fine?

That’s no good. Not sure why that’s happening but I will take a peek a bit later today when I have some more time.

2 Likes