> \[!IMPORTANT\] > This issue is blocked by https://github.com/dotCMS/core/issues/33349 ### Description We need to be able to add files using the SO. To achieve we need to make use of a [hidden input](https://developer.mozilla.org/en-US/docs/Web/API/File_API/Using_files_from_web_applications#using_hidden_file_input_elements_using_the_click_method) that will be activated by the user when clicking on the `File` option on the dropdown That input should make use of the `accept` [attribute](https://stackoverflow.com/questions/4328947/limit-file-format-when-using-input-type-file) to filter files using `video/*` as value. ### Technical constrain After getting the file, we need to use the Temp API that is exposed from this [Service](https://github.com/dotCMS/core/blob/a61a4c1cc2d471456e4d109bd05dd0ca2d5b685d/core-web/libs/data-access/src/lib/dot-upload/dot-upload.service.ts#L20) That service will give you a `tempId`, that will help you make a publish on the current folder in order to finally upload the file to dotCMS. To complete the uploading you need to use the following endpoint: `PUT /api/v1/workflow/actions/default/fire/PUBLISH` Using the following body ```json { "contentlet": { "baseType": "dotAsset", "asset": "<temp-id-from-temp-api>", "hostFolder": "<folder-id-of-selected-node>", "indexPolicy": "WAIT_FOR" } } ``` We should provide info of the process to the user all the time using the messages: 1. Uploading file 2. Publishing file 3. File published 4. Highlight it on the table. ### Acceptance Criteria - [ ] File input should respect `video/*` mimeType - [ ] User should not be lost on how the process is progressing - [ ] User should be able to find the new asset as fast as possible ### Priority High
Activity
zJaaal commentedon Oct 15, 2025
We are going to work on other ticket