How would I use icons for pages in v5 like in v4

How would I use icons for pages in v5 like in v4

avatar
Product: PowerShell Universal
Version: 4.3.4
Version: 5.01


In v4 I can set an icon for the app in “settings” and an icons for the pages in “pages/properties” the GUI.
This is then reflected in the code, even so the GUI won’t show those lines/options.

In v5 the icon settings are no longer available in the GUI.

In v4 I could then simply create an app like:

New-UDApp -Title ‘FOO’ -Pages @(
Get-UDPage -Name ‘BAR’
)
And icons would appear in navigation and app titles.

In v5, in order to show icons in the navigation and in the page title,
I would have to create a custom navigation with “new-udlistitem … -icon …” and such and either put the page code in a
new-udpage -content { whatever } statement
or include a script file, that can’t be an existing page file…
and I would have to add another -icon statement.

This seems a bit double-complicated…

Any easier way to just use apps and pages with icons similar like in v4?

At least being able to edit the auto-generated page code to include the -icon option? (any edit to a page code file itself won’t reflect in the DB…)

All Comments (3)

avatar

Forgive my ignorance,
in the Web GUI
Setting/Files
would give me the needed access to the page files.

avatar

We should just add the icon selector back. I’ll open an issue.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

avatar

Hello,

I have the same issue. I want add an icon here
16d47a82a60930c525c95528dd8babd3bde1f5a0

But i don’t know how to do with Get-UDPage. I tried in the page settings but it doesn’t work.

Thank you so much.

16d47a82a60930c525c95528dd8babd3bde1f5a0.png