unshareFile
To unshare a given file
With this function, you can stop sharing a file.
unshareFile(file)
unshareFile(nid, string)
void
unshareFile(myFile)
To unshare a given file.1
unshareFile(Invoice)
Result: Stops the sharing of the file saved in the Invoice field.
unshareFile(record, fileName)
To unshare a file or attachment of a given record.1
unshareFile(this, "Invoice-001.pdf")
Result: Stops the sharing of the Invoice-001.pdf file of the current record.
Last modified 9mo ago