PowerShell Universal - 4.2.0
Release Notes
APIs
Apps
Automation
Platform
Deprecated
Downloads
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Browser based debugging tools - Replaced with VS Code extension
Is there any documentation about the Browser based debugging tools - Replaced with VS Code extension?
Thanks for the release and a lot of updates!
I think you have still issues with data grid filtering.
See below example:
26b51f584334b26f1ca6046dd0ed2cc395f20431.gif
@AnonymousUser - This is because the data is a number and not a string. We likely need to convert it to a string in order for contains to work. We need to remove that toast as well.
New-UDDataGrid -LoadRows {
$Data = @(
@{ Name = 'Adam'; Number = [string](Get-Random) }
@{ Name = 'Tom'; Number = [string](Get-Random) }
@{ Name = 'Sarah'; Number = [string](Get-Random) }
)
$Data | Out-UDDataGridData -Context $EventData -TotalRows $Rows.Length
} -Columns @(
New-UDDataGridColumn -Field name -Filterable
New-UDDataGridColumn -Field number -Filterable
) -AutoHeight $true
@AnonymousUserhttps://docs.powershelluniversal.com/development/visual-studio-code-extension#debugging
Note, I did open this issue as I noticed in my test lab it’s pretty hard to find the right process ID: No process ID in VS Code Debugger tools · Issue #2845 · ironmansoftware/issues · GitHub
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Hello @Adam Driscoll I’ve been using New-UDElement with style attributes to set the colors on rows depending on the returned data (completed, Failed, Error etc… However, I’d prefer to color the whole row. Can you please show an example how this can be achieved using -OnRowStyle for New-UDTable based on the row data? I don’t seem to find anything on this new table feaures in the documentation. Cheers!
should the vscode extension version be 4.2 ? mine is on 4.1 and cant see any way to update it?
my settings.ps1 looks like this - (but i have no environment called ‘pwsh’) - is that right ?
basically i dont see any processes under “platform”
$Parameters = @{
LogLevel = "Error"
DefaultEnvironment = "7.2.13"
SecurityEnvironment = "Integrated"
ApiEnvironment = "Integrated"
DebuggerEnvironment = "pwsh"
}
Set-PSUSetting @ParametersMines still on 4.1.
I’m just waiting for VS-code to push it down
Any additional information about Powershell Universal PWA? Can we define a custom/name PWA URL for a UD App/Dashboard?
I find that this feature would be very useful.
We are looking at the VS Code deployment. Something works locally but fails on the build machines…
Adam Driscoll
PowerShell Expert and Developer at Devolutions
The PWA is super bare-bones right now. You can click the App Available button to install it as an app but other than that there isn’t any configuration provided.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
A row styling example can be found here (last example): PowerShell Universal
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Thanks for the update, first time posting so be kind
Since updating I’m getting an odd issue with the home page on the app I am working on. The home page is showing UDCards that do not belong to that app, they belong to another test app I have. The ‘burger’ menu shows all the correct links but the home page is showing wrong ones.
PSU is running on our own Windows server and I have restarted since updating but its still showing, what is, wrong content. Has anyone else seen this or have a way to fix it before I delete the app completely and start again?
Hello @Adam Driscoll,
This has worked great! Cheers! However, I’ve failed to find an example for -HeaderStyle. While I can control the backgroundColor the switch seems to ignore the font color. For example: -HeaderStyle @{backgroundColor = ‘grey’; color = ‘white’}. What are the accepted orr correct HeaderStyle attributes?