Documentation Center

Changes to the class Annotation 2.5

Starting from SDL Tridion Docs 14 SP1 the Annotation class should be used to create and retrieve annotations and replies on annotations

Creating annotations and replies on annotations

The Annotation 2.5 class can be used to create
  • new annotations via the Create method
  • new replies on existing annotations via the CreateReply method

Remarks:

  • During the creation of an annotation only an existing revision of a topic can be referenced

  • During the creation of an annotation only an existing publication version can be referenced

Updating annotations and replies on annotations

The Annotation 2.5 class can be used to update
  • existing annotations via the Update method

  • existing replies via the UpdateReply method

Deleting annotations and replies on annotations

The Annotation 2.5 class can be used to delete
  • existing annotations via the Delete method

  • existing replies via the DeleteReply method

Retrieving annotations and replies

For retrieving annotations and replies you can use the same RetrieveMetadata and Find methods. If you want the method to return replies, you just need to request metadata of level "reply".