Start-UDDownload. Due to security of web browsers, the user will need to take an action (like click a button) to allow the download to take place.
Start-UDDownloadis not suited for large file downloads.
-OnClickevent handler does not provide any data. On the other hand, the
-OnChangewill provider event data.
$Bodyvariable to access the data as a string (sometimes formatted as JSON) or as a hashtable by using the
Invoke-UDFormcmdlet. You can optionally chose to enforce validation by including the
Show-UDToastcmdlet to create a toast message that will appear on the end user's webpage. It happens over a websocket and will show the toast immediately as it is called.
Invoke-UDRedirectcmdlet. It happens over a websocket and will redirect as soon as the cmdlet is called.
Show-UDModalcmdlet. It will open as soon as you call it. You can include whatever components you like within the modal.
Get-UDElement. The state will be returned as a hashtable. This is primarily useful for input components.
Set-UDElement. You will need to specify an ID and a hashtable of properties to set on the component. All built in components support Set-UDElement.
Remove-UDElement. The component will no longer appear on the page.