Version: eXtendFiles 1.6.2
Audience: Administrator
Applicable Cloud Storage: OneDrive (User-based file upload)

Use Case

  • Generating a shared URL to share within your organization.
  • Generating an anonymous access URL to share outside your organization.

Overview

eXtendFiles utilizes OneDrive user permissions to access eXtendFiles records within NetSuite. However, there may be cases where you need to share an eXtendFiles file link outside of your organization as well.

eXtendFiles provides the workflow action script eXtendFiles OneDrive Sharing URL to generate sharable links. Some use cases may be:

  1. Generate shared URLs (Original File URL, Preview URL, and Thumbnail URL) for internal sharing.
  2. Generate anonymous access URLs for external sharing.
  3. Automatic scheduled generation of shared URLs (Original File URL, Preview URL, and Thumbnail URL) based upon the eXtendFile record's assigned File Type.
  4. Adding a button to eXtendFiles records for generating shared URLs (Original File URL, Preview URL, and Thumbnail URL).

eXtendFiles OneDrive Sharing URL Workflow Action Script

The eXtendFiles OneDrive Sharing URL workflow action script generates a shared/anonymous access shared URL for the Original File URL, Preview URL, and Thumbnail URL based on the associated configurations. Details regarding this script are described below.

The workflow action script has the following script parameters:
  1. Generate Share URL with Anonymous Scope?
    This checkbox determines whether to generate an anonymous shared URL or a shared URL.

  2. Sign Original URL
    If this checkbox is checked, an anonymous access or shared URL (based on #1) will be generated for the Original URL and it will be set in the eXtendFiles - Pre-signed URL  {custrecord_extend_file_pre_sign_urlfield on the eXtendFiles record.

  3. Sign Preview URL
    If this checkbox is checked, an anonymous access or shared URL (based on #1) will be generated for the Preview URL and it will be set in the eXtendFiles - Pre Signed Preview URL {custrecord_extend_file_prev_pre_sign_urlfield on the eXtendFiles record.

  4. Sign Thumbnail URL
    If this checkbox is checked, an anonymous access or shared URL (based on #1) will be generated for the Thumbnail URL and it will set in the eXtendFiles - Pre Signed Thumbnail URL {custrecord_extend_file_prev_pre_sign_urlfield on the eXtendFiles record.

    Note: This feature must be used if the MAKE THUMBNAIL PRIVATE checkbox is checked on the eXtendFiles Setup page.
Note:
  • The expiration of the generated URLs is determined by the expiration value specified on the eXendFiles Setup page (see Sharing Settings on the eXtendFiles Setup page).
  • A shared URL can only be generated if the user has authenticated with OneDrive and has access to it.
  • Anonymous link generation will require that external sharing be enabled in Microsoft OneDrive/SharePoint. See Required SharePoint Permissions to Use eXtendFiles.