Multimedia.delete (Method)

Deletes a multimedia file.

Returns:

Void

Arguments:

Name Type Required Description
multimediaID MultimediaID Required CommonSpot sitePages record ID for the multimedia file.
ignoreWarnings Boolean Optional. Defaults to '0'. Boolean flag which when set tells CommonSpot that it should ignore warnings. If this value is false, this method throws an error with a warning message.
externalRefID MultimediaReferenceID_EmptyString Optional. Defaults to an empty string. Reference ID returned by external multimedia service.
serviceName String_255 Optional. Defaults to an empty string. Name of multimedia service or empty string.
channelID MultimediaChannelID_0 Optional. Defaults to '0'. The unique ID of the multimedia channel.

Context:

License Requirements (none)
Permission Requirements multimedia:Admin
Deny Context (none)
Require Context AuthoringEnabled
Author Lock  

Error Codes:

None

Notes:

None