Multimedia.deleteInprogressOrInactiveMultimedia (Method)

Deletes the multimedia files that are inactive due to interrupted upload or lost connection or cancelled upload.

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'. ID of the multimedia channel.
csReferenceID PlainText_100 Optional. Defaults to an empty string. Reference ID CommonSpot sends to the external service.

Context:

License Requirements (none)
Permission Requirements ContributorOrServerCode
Deny Context (none)
Require Context (none)
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None