How to auto refresh $variables in a dashboard

Product: PowerShell Universal
Version: 1.4.6

I have a dashboard that stores an HTML file to $results then displays them as New-UDHTML -Markup “$Results”, but If I run a task that updates that file my dashboard doesnt automatically on page refresh load the new file into the variable

1 Like

Hi any chance you could post some code? Have you placed this in an endpoint so it will refresh automatically?