UDTable Doesn't Show for anyone but me

Product: PowerShell Universal
Version: 5.6.13 & 2026.1.1

I’m having some very peculiar behavior with a UDTable. Long story short, I can view the table and it works perfectly for me every time. When anyone OTHER than me tries to view the same app page, all of the other on screen elements work , but the table never populates.

Forgive the Faux Code, but this is my general build. The goal is simply to search for usernames in a system external to Powershell Universal (via api call), fill a basic arrayList with the information returned from the API call, then use that as the data for my UDTable.

New-UDPage -Url "/Comparer" -Name "Comparer" -Role @('Operator') -Content {

    $Page:rootIdentity = $null
    $Page:comparingIdentity = $null

    New-UDTextbox -Id 'rootPersonTextBox'
    New-UDButton -Id 'rootPersonSearchButton' -Text "Seach" -OnClick {
        
        $keyword = (Get-UDElement -Id 'rootPersonTextBox').value
        $apiCall = Invoke-RestMethod -Uri "website.com/using/$keyword"

        Show-UDModal -Content {

            New-UDTable -Id 'searchTable' -Data $apiCall -OnRowSelection {
     
                $Page:rootIdentity = $apiCall | ? {$_.displayName -eq $EventData.DisplayName

                Sync-UDelement -Id 'resultsDynamic'

            } ## End Table OnRowSelection
        } ## End Modal
    } ## End Button OnClick

    New-UDDynamic -Id 'resultsDynamic' -Content {

        $tableData = New-Object System.Collections.ArrayList


        Foreach ($json in @($Page:RootIdentity, $Page:comparingIdentity) {
            Foreach ($access in $json.access) {
               $tableData.Add($access)
            }
        }

        $tableColumns = @(
            New-UDTableColumn -Property 'abc' -OnRender { <render logic here> }
            New-UDTableColumn -Property '123' -OnRender { <render logic here> }
        )

        Show-UDSnackBar -Message "Value : $($tableData[0])"

        New-UDTable -Id 'compareTable' -Data $tableData -Columns $tableColumns

        New-UDButton -Id 'refreshButton' -OnClick {
            Sync-UDElement -Id 'resultsDynamic'
            Sync-UDElement -Id 'compareTable'
        }
    } ## End Dynamic

} -AutoInclude ## End UDPage

(Sensitive values blurred)
This is what i get … every time. No error, no problems, nothing wrong at all. 100% of this page and all of its elements act EXACTLY as i expect them to.

When anybody ELSE views the page, everything OTHER than the table at the bottom works correctly.

I’m completely stumped. I’ve had 3 different people try with all the same result. The “compareTable” just never shows up. For me and for the 3 that cant see the table, I have verified that $tableData does actually have a value in it. The UDSnackbar always shows me (and everyone who tests for me) the first index from my array just exactly as i expect to see it…. so i know $tableData is good. The refresh button directly below the table show up just fine, however the table itself ONLY shows when i’m running it.

The code is all hosted on it’s own server so each user session should be running the exact same codebase. It makes absolutely zero sense to me how the exact same code works when I view the app / page , but just doesn’t respond when anyone else views it.

Any ideas?

You are missing closing statement on line 16 and 29

This:
$Page:rootIdentity = $apiCall | ? {$_.displayName -eq $EventData.DisplayName

Should be this:
$Page:rootIdentity = $apiCall | ? {$_.displayName -eq $EventData.DisplayName}

This:
Foreach ($json in @($Page:RootIdentity, $Page:comparingIdentity) {

Should be this:
Foreach ($json in @($Page:RootIdentity, $Page:comparingIdentity)) {

Try and see if that fixes anything.

Functionally i was able to work around it setting / reading PSUCache instead of the $Page: variables.