CreateLinkOptions Property
Used to set the different options when creating a new link.
Syntax
getCreateLinkOptions(): ShareFileLink; setCreateLinkOptions(createLinkOptions: ShareFileLink): void;
Default Value
Remarks
Used to set the different options when creating a new ShareFileLink. These options can be set:
- AccessLevel
- ExpirationDate
- IsViewOnly*
- MaxDownloads
- NotifyOnAccess
- Title
ShareFileLink createLinkOptions = new ShareFileLink(); createLinkOptions.AccessLevel = ShareFileLinkAccessLevels.sflalEmployeesAndClients; createLinkOptions.MaxDownloads = 5; createLinkOptions.Title = "name"; createLinkOptions.ExpirationDate = "2099-01-01"; shareFile.CreateLinkOptions = createLinkOptions;
This property is not available at design time.