1

There are media approved for version 1. The template is VersionedTempate. Check Overwrite existing media items in Upload files (advanced) of the media library and upload.

Then, the approved media is updated with version 1 and the workflow becomes draft.

I want to upload media by adding version 2. I do not want to change version 1.

Please tell me how to do it.

  • Is your media items in a workflow? – Chris Auer Mar 15 at 18:41
  • Yes.media items is in a workflow. – m.kawasaki Mar 15 at 23:58
  • Are you logged in as an administrator? – Alessandro Faniuolo Mar 16 at 1:51
  • It is a user who can edit content by giving Sitecore \ Author etc. Not an administrator. – m.kawasaki Mar 16 at 2:13
0

It's not feasible to create new version when you are uploading an existing file.

When you upload files using "Upload files (advanced)", you may select for "Make uploaded media items versionable" and "Overwrite existing media items",

enter image description here

Make uploaded media items versionable => When you select this option, all your media files uploaded will use the respective versioned template from here "/sitecore/templates/System/Media/Versioned".

Overwrite existing media items => When you select this option, instead of adding a new item, it will check whether the item exists [with name & full path] in the media folder where you are uploading, if it exists then it will remove all existing versions and create a new version with newly uploaded media. Even if you have 10 existing versions, this upload will delete all 10 and create one version with newly uploaded media. If you don't select "Overwrite existing media items" option, whether an item exists or not in the same name & path, a new item will be created for each media file you upload.

In any scenario, you may not able to add a new version for an existing item using "Upload files (advanced)" option. I guess, it's not easy to overwrite pipelines to achieve this as well.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.