UpdateAnnotation

Description

Sets or updates the annotation of the file or folder with the passed ID.

Syntax

UpdateAnnotation(ItemID: <Integer>, NewAnnotation <String>);

Parameters

ItemID

The ID referring to the file or folder, for which the annotation should be updated.

NewAnnotation

The annotation which should be associated with the file or folder.

Example

$SOS.UpdateAnnotation($FolderID, "My first Annotation")
SOS.UpdateAnnotation FolderID, "My first Annotation"

Adds “My Annotation” as additional information to the item with ID “FolderID”.