Setting Multimedia Schema default values for WebDAV

If the Multimedia Schema used for content created through WebDAV has mandatory metadata fields, you must configure default values for these fields because WebDAV does not allow users to set these values.

Default Multimedia Schema
When you save a multimedia file to Content Manager via WebDAV, the Content Manager uses the default Multimedia Schema of the Publication to create a Multimedia Component for the multimedia file. You can modify or replace this default Multimedia Schema.
Linked Multimedia Schema
When you save a multimedia file via WebDAV in a Folder that has a mandatory linked Multimedia Schema, this Schema is used instead of the default Multimedia Schema.
Setting default values
If your default Multimedia Schema has mandatory metadata fields, you must configure default values for these fields because WebDAV does not allow users to set these values. Supply default values for these fields in the Default Value field in the Design tab otherwise WebDAV client users will not be able to save binary files to the Content Manager.
Setting default values in cc_crtd_def.xml
You can also provide default values for items created through WebDAV in the cc_crtd_def.xml configuration file. If you configure default values for WebDAV in cc_crtd_def.xml, the default values are only applied to metadata fields of content created through WebDAV; users creating content though the Content Manager Explorer will have to enter a value for mandatory fields.
To set default values in cc_crtd_def.xml, go to your Tridion installation, access the subfolder webdav\WebDAVcartridges\Default\ and open the configuration file cc_crtd_def.xml in a text editor. In the following example, the metadata field <Title> has been configured to the default value My Title, and <Author> to Alex:
<multimediaSchemas> 
  <metadataField schemaURL="/webdav/folderA/Building Blocks/MultimediaSchemaWithMetadata.xsd">                                                                     
     <Metadata xmlns="uuid:7d7464c5-1020-4c83-bc22-32fae532addc">                                                                                     
         <Title>MyTitle</Title> 
         <Author>Alex</Author>                                                                   
      </Metadata>                                     
   </metadataField>
</multimediaSchemas>
Where:
  • the schemaURL attribute in the metadataField element must refer to the URL of the Multimedia Schema.
  • the xmlns attribute of the Metadata element must refer to the namespace for the linked Multimedia Schema. You can find the value of this namespace by checking the xmlns attribute in the Source tab of the Multimedia Schema in the Content Manager Explorer.