Fields

Fields
ParameterDescription
resourceId
String
requiredId of the file/folder in external storage, for which we're creating the attachment.
resourceType
String
requiredOne of file, folder or dataroom.
parentId
String
requiredSalesforce Id of the record for which we're creating the attachment.
name
String
requiredName of the link.
driveId
String
requiredOnly applicable for SharePoint or Google Drive libraries. Supply null for other libraries. You can get this value from Content Library.

Constructors

CreateLinkInput(
  String resourceId,
  String resourceType,
  String parentId,
  String name,
  String driveId
)