Upload
Component for uploading files in Universal Dashboard.
Uploading a File
New-UDUpload -OnUpload {
Show-UDToast $Body
}{
data: "base64 encoded string of data",
name: "file name of the file uploaded",
type: "file type as determined by the browser"
}Uploading a File with a Form
New-UDForm -Content {
New-UDUpload -Id 'myFile'
} -OnSubmit {
Show-UDToast $Body
}Example: Uploading a file and save to it the temp directory
Last updated
Was this helpful?