Button or method for force refresh of data on dashboard

Is there an approach that would allow for a “refresh” button on a dashboard that would make the dashboard data (with New-UDEndpoint) do a refresh of data?

thanks in advance.

Look at New-UDDynamic. I wrap my dashboard in New-UDDynamic and do a refresh of the page periodically. You should be able to this with a button as well.