4

When uploading an image using WebDAV, Tridion creates a multimedia component matching the folder's linked schema or the Default Multimedia Schema.

Is it possible to instead select which multimedia schema Tridion uses when creating a multimedia component from an image uploaded using WebDAV?

2
  • Yes, this is possible. Check out this article, elenaserghie.blogspot.com/2012/03/…
    – Josh Hebb
    Commented Sep 30, 2013 at 4:39
  • Welcome to the Tridion Stack Exchange. I have edited your question somewhat to hopefully clarify what you are asking. If there are any issues with my changes please feel free to revert or edit them. Commented Oct 1, 2013 at 7:44

2 Answers 2

11

If you are uploading images to an existing Folder you can specify a schema for that folder in the CME, after it any image uploaded using Webdav in that folder will use the specified schema.

Additionally you can use an event system to execute some code in the Save-Initiated event in order to select the multimedia schema, it will give you more control but there is development involved here.

2

Given that webdav is "just" a protocol, implementation of anything that is specific to a server (Tridion in this case) would require a custom client-side UI for this.

This means that the answer to your question is "No".

You can however control which schema will be used by setting:

  • A default schema in your Publication
  • A specific schema as mandatory on a given folder to override publication default

There might be something you can do at the Event System level too, but I strongly doubt you'd be able to determine which client was used from the Tridion core (we are adding this functionality but it requires that clients identify themselves).

2
  • 2
    WebDav protocol identifies itself since last release. TcmApplicationId.WebDav with value "tcm:WebDav" is set to Session context data.
    – Syav4eg
    Commented Oct 1, 2013 at 13:53
  • Awesome! So you could do something in the Event System that would only trigger if current item is being created from Webdav (as from 2013)
    – Nuno Linhares
    Commented Oct 1, 2013 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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