IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

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
*See for restrictions.
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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 JavaScript Edition - Version 20.0 [Build 8265]