New App with Multiple Pages

avatar
(anonymous user)
Product: PowerShell Universal
Version: 1.4.6

Hello,

Have searched for my issue and have seen solution but does not seem to work in my instance

  • Have have both pages display when I click on the hamburger menu

  • The First page in my page array loads, unable to get the second page load

  • If I switch the order in the array, the second page loads

Code

#Array all pages

$all_pages = @(

get-UDPage -Name "pg_acc_lockout_status"

get-UDPage -Name "Reset_User_Account"

)

#Get Application Page

New-UDApp -Title “AD User Lockout Status” -Theme $appication_theme -Pages @(

#Get all Pages

$all_pages

)

All I get is a flicker but still defaults to the first Page

All Comments (10)

avatar

Got the same problem, ended up putting the Get-UDPage directly into -Pages and not via variable which worked:

New-UDApp -Title "xxxx" -Pages @(
   Get-UDPage -Name “Page1…”
   Get-UDPage -Name “Page2…”
)

avatar
(anonymous user)

Hello @ms1 ,

Thanks for the updates.

Did try this:

#Get Application Page

New-UDApp -Title “AD User Lockout Status” -Theme $appication_theme -Pages @(

get-UDPage -Name "pg_acc_lockout_status"

get-UDPage -Name "Reset_User_Account"

)

Still getting the same issue.

Again, thanks all the same

avatar

Can you share the code how you coded the navigation and a screenshot of your pages name and url? Maybe we can find the reason why its working there.