+

Search Tips   |   Advanced Search

Create taxonomies and categories with WebDAV

Taxonomies and categories are profiling methods used to group content items, and we can work with taxonomies and categories directly through WebDAV. Taxonomies and categories are represented in WebDAV as folders, and we can set up the taxonomy by creating and nesting folders.

All taxonomies and categories for a given library are listed under the taxonomies folder for that library.

taxonomies
   - wcm.taxonomy.taxonomy1
       - meta-data 
           access-control-system.xml
           access-control-user.xml
           meta-data.xml
       - wcm.category.category1
           - meta-data
               access-control-system.xml
               access-control-user.xml
               meta-data.xml
           - wcm.category.category1.1
               - meta-data
                   access-control-system.xml
                   access-control-user.xml
                   meta-data.xml
           - wcm.category.category1.2
               - meta-data
                   access-control-system.xml
                   access-control-user.xml
                   meta-data.xml
   - wcm.taxonomy.taxonomy2
       - meta-data
           access-control-system.xml
           access-control-user.xml
           meta-data.xml  
   access-control.xml

To create a new taxonomy or category for the library, create a new folder using with the wcm.taxonomy prefix or the wcm.category prefix. Taxonomies can only be created under the generic taxonomies folder, while categories can be created in either a wcm.taxonomy.* folder or a wcm.category.* folder.

Important: Some WebDAV clients create a folder with a default name, such as New Folder, and as soon as you enter the name of the new folder, the client sends a request to rename the already created folder. Because taxonomy and category folders require a corresponding prefix for creation, this client behavior does not work. If the WebDAV client uses this method to create new folders, we can first create the new taxonomy or category folder locally and then copy it into the WebDAV tree.

Delete taxonomies and categories: To delete taxonomies or categories simply delete the corresponding folder. Note that taxonomies or categories containing categories cannot be deleted until you have also first deleted the child items. Also if a category is still being referenced by another item, it cannot be deleted until you have first removed the corresponding references using the authoring portlet.


Parent: WebDAV