Share:
Developers » Script Objects & Methods » ScriptAttachment

PREVIOUS  |  NEXT

ScriptAttachment 


The following table lists the available methods on the ScriptAttachment object:

Return TypeMethodExplanation
StringgetName()Returns the attachment name
ScriptFile getFile()Returns the script object of the attachment file 
ScriptUsergetAuthor()Returns the user who attached the file
DategetUploadDate()Returns the date when the attachment was uploaded
String getMimeType()Returns the Mime type of the attachment file
String getDownloadLink() Returns the download link of the attachment file 
String getPublicDownloadLink() Returns the download link with the encrypted SSO token. This is used to download files without login.