Accessing File Upload
The actual UI for editing the metadata can then be opened in a browser as follows, e.g. in an iFrame:
EXAMPLE |
"http://<host-name>:19081/Platform.Clients/FileUpload/#/?parentOrigin=<url-of-calling-application>" |
- parentOrigin: The origin of the parent window. One can use window.location.origin for this value.This is required for the messaging between iFrame and parent window to work.
When opening the Upload File UI in an iframe, one can still use event handlers for closing the iframe, once the upload is complete. If the window is not closed, one can clean up successful uploads by using the "Clear All" button. New files can always be added for upload with the "+Add more files" option.
Alternatively, the UI can also be opened directly in a browser - also on mobile devices. The Upload File UI can be opened as a standalone page in a browser using the following URL example:
EXAMPLE |
http://<host-name>:19081/Platform.Clients/FileUpload/#/ |