Documentation Center

Write plugins

This is a category of plugins that modify the object in the database.

Introduction

This is a category of plugins that modify the object in the database.

There are 2 kinds of IWrite plugins:
  • Plugins that implement the IWriteMetadataAndBlobPlugin interface.
  • Plugins that implement the IWriteMetadataPlugin interface.

Plugins of type IWriteMetadataAndBlobPlugin

These plugins are executed when document or image content is created or changed in any way.

This type of plugin runs by definition on a full logical-version-language object. By default the plugin has access to the following fields:VERSION, DOC-LANGUAGE and FRESOLUTION. All other fields need to be specified explicitly in the plugin configuration.

These plugins are only supported on objects of type: ISHMasterDoc, ISHModule, ISHIllustration, ISHTemplate and ISHLibrary.

Plugins of type IWriteMetadataPlugin

These plugins are executed when metadata is created or changed in any way.

They are supported on objects of type: ISHMasterDoc,ISHModule, ISHIllustration, ISHTemplate, ISHLibrary, ISHPublication and ISHAnnotation.