Skip to content

[TASK] Upload Video option #33352

Closed
Closed

Description

@zJaaal

Important

This issue is blocked by #33349

Description

We need to be able to add files using the SO.

To achieve we need to make use of a hidden input 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 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

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

{
    "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

  1. added theissue type on Sep 23, 2025
  2. moved this from New to On Hold in dotCMS - Product Planningon Sep 24, 2025
  3. zJaaal commented on Oct 15, 2025

    @zJaaal
    MemberAuthor

    We are going to work on other ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions