How to Assign Metadata to a Blog Folder Programmatically

  • Updated

This article contains a sample template that demonstrates the use of Ektron APIs to assign metadata to a blog folder.

The blog folder type is a unique folder that cannot be updated using the conventional FolderManager framework.

If used, the FolderManager.Update and FolderManager.AssignMetadata methods throw an exception:

Only standard content folders can be added using this method. Use the appropriate Class for creating other folder types.

 

The sample uses the MessageUtilities helper class, so please review the KB here for configuration.

The sample template using the recommended API can be found below.

Code Download