Apex
...
Types
Input & Output Types
Types.CreateLinkInput
represents input for creating a cloudfiles link using create links docid\ sreco10qovwtthndtraua functions following contuctors are supported createlinkinput( string resourceid, string resourcetype, string parentid, string name, string driveid ) resourceid id of the file/folder in external storage, for which we're creating the attachment resourcetype one of file , folder or dataroom parentid salesforce id of the record for which we're creating the attachment name name of the link driveid only applicable for sharepoint or google drive libraries supply null for other libraries you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij