Generates a unique ID which can then be associated with a system resource; e.g., an image to embed in an HTML email notification.
@script::generateUUID()
None
(string) A unique ID
The following example illustrates how to use the generateUUID method to generate a unique ID and associate it with a logo that will be added to all HTML email notifications:
$userDir = @script::getSystemProperty("user.dir")
$urlDir = $userDir & "/assets/resources/ui/logo.gif"
$cid = @script::generateUUID()
$content.attachments = "file://"& $urlDir &"|"&
$cid