Use Cases
- Make individual files public/private (applicable to Amazon S3 only).
- View private files by using a signed URL, if permitted, using the eXtendFiles record or via inline links on a linked record (Amazon S3, Microsoft Azure, or Oracle Object Storage).
- View private files by using a shared URL, if permitted, using the eXtendFiles record or via inline links on a linked record (Microsoft SharePoint/OneDrive with user-based file upload).
Overview
eXtendFiles allows you to set your eXtendFiles record links private and only accessible with a signed/shared URL.
Currently, this feature is available when using Amazon S3, Microsoft Azure, Oracle Object Storage, or Microsoft SharePoint/OneDrive as your backend storage.
URLs for files uploaded using the private upload feature will have a default sharing type assigned based on the eXtendFiles configurations in your NetSuite environment.
- Sign URL if User has File's record permission.
- Sign URL based on linked record.
- Sign URL for configured user/role permission.
- Allow Folder Based Sharing Permission.
Notes:
- When using Microsoft Azure or Oracle Object Storage as the backend storage, the sharing type will
be always private.
- The "Make Private" and "Make
Public" buttons will appear on the eXtendFiles record only if the user has permissions to view or create private files. These permissions are
configurable from the eXtendFiles Setup page.
- Upon cloning an existing eXtendFiles record, if they are being attached to other records, the file sharing type will be
retained on the cloned eXtendFiles record.
Make eXtendFiles Links Private/Public (Amazon S3)
Information regarding making eXtendFiles
links private are listed below (for Amazon S3).
Set File as Private
- When enabled by your NetSuite Administrator, if the current user or role has permission to view private files, the Make Public or Make Private button will be visible on eXtendFiles record.
- If your eXtendFiles record is not currently private, the Make Private button will appear on the extendFiles record.
- After clicking the Make Private button, your eXtendFiles sharing type changes from public to private and a success message will appear as shown in the screenshot below.
- The file links and
preview links will become private. The thumbnail image can still be viewed on the
record if not disabled by your NetSuite Administrator.
- To view these private files, you
will generate signed links using the “Generate Public Link”
button on the eXtendFiles record. Details regarding viewing private
files is explained the Viewing
Private Files section below.
Set File as Public
- If you want to make your eXtendFiles record public, click the Make Public button. This button will appear on records which are currently marked as private.
- After clicking the Make Public button, your eXtendFiles sharing type changes from private to public and a success message will be displayed as shown in the screenshot below.
Notes
- For Microsoft Azure and Oracle Object Storage:
- Uploaded files will always be private.
- You will not find Make Public/ Make Private button on eXtendFiles records as it is only for Amazon S3.
- File preview images and thumbnail images will also be private, and you will need signed URLs to view them.
- For viewing the files, please refer to the next section: Viewing Private Files.
- Upon changing the eXtendFiles
sharing type, the file sharing type of the parent eXtendFiles record (cloned
from), if any, will also change.
- Upon changing the eXtendFiles record’s file type, its file sharing type may change as per the configurations specified by your NetSuite Administrator for that file type. Note: The file sharing type may not change immediately as this process is executed on a scheduled basis.
Viewing Private Files (Amazon S3, Microsoft Azure, Oracle Object
Storage)
eXtendFiles allows you to
generate signed URLs to view private eXtendFiles for a limited amount of time.
User access permissions are configured on
the eXtendFiles Setup page to view private URLs. By default, users with the roles of “Administrator” and “Full Access (Deprecated)” have access to view private URLs.
eXtendFiles record (using inline button)
- Go to your private eXtendFiles record.
- Generate a signed URL to share with others (to view the private file temporarily) by clicking the “Generate Signed URL” button.
- Upon clicking the “Generate Signed URL” button, a signed URL will be generated for the private file for a limited duration (up to 7 days, as specified by your NetSuite Administrator). You can copy the URL by clicking on the “Copy Signed URL” button.
- Upon clicking the field above,
your file will open in a new tab.
Note: Some file formats which are unsupported by your browser will be downloaded automatically depending upon the web browser you are using.
eXtendFiles record (using formula field)
- Go to your private eXtendFiles record.
- Click the link present in the eXtendFiles - View Uploaded File field.
Note: If this field is not available on the eXtendFiles record, contact your NetSuite Administrator to see if the field is hidden or if another field is being used. - This link will open in a new tab and a signed URL will be generated for viewing the file if you have the required permissions.
Note: Some file formats which are unsupported by your browser will be downloaded automatically depending upon the web browser you are using.
eXtendFiles record (using workflow-based button)
- Pre-signed URL
This field will store the generated signed URL for the main file's URL. - Pre-Signed URL Expiry Time
This field will store the time stamp by which the generated signed URL will be valid. - Pre-Signed URL Generation Error
If any error occurs during generation of the signed URL, it will be stored in this field. - eXtendFiles - Pre Signed Preview URL
This field will store the signed URL for the preview image URL.
Note: This field will only populate if the workflow is configured to generate signed URLs for preview images. - eXtendFiles - Pre Signed Thumbnail URL
This field will store the signed URL for the thumbnail image URL.
Note: This field will only populate if the workflow is configured to generate signed URLs for thumbnail images. - eXtendFiles - Pre-Signed Preview URL Error
If any error occurs during generation of a Preview image's signed URL, it will be stored in this field. - eXtendFiles - Pre-Signed Thumbnail URL Error
If any error occurs during generation of a Thumbnail image's signed URL, it will be stored in this field.
From transactions or custom records
- Go to the record where eXtendFiles are attached.
- Make sure the eXtendFiles Inline Link View is configured on your record. If the inline list view is configured on your record, then an inline list of attached eXtendFiles will appear on your record as shown below. For more information on configuring the Inline Link View, see Configure eXtendFiles Inline Link View on a Record.
- Click the Copy icon to copy
the link of the file to your clipboard. If you have permissions to view
private files, the link copied will be the public link for the file.
- Your file will open in a new tab.
Note: Some file formats which are unsupported by your browser will be downloaded automatically depending upon the web browser you are using.
Viewing Private Files (Microsoft SharePoint/OneDrive with User-Based File Upload)
When using Microsoft SharePoint/OneDrive with user-based file uploads, shared URLs (to share internally within your organization) and anonymous access shared URLs (to share outside your organization) can be generated.
eXtendFiles record (using inline button)
- Go to your private eXtendFiles record.
- You generate a shared URL to share with others for viewing the private file temporarily by clicking the “Generate Shared URL” button.
- Upon clicking the “Generate Shared URL” button, a signed URL will be generated for the private file for a limited duration (up to 7 days, as specified by your NetSuite Administrator). You can copy the URL by clicking on the “Copy Signed URL” button.
- Upon clicking the link above,
your file will open in a new tab.
Note: Some file formats which are unsupported by your browser will be downloaded automatically depending upon the web browser you are using. - This URL can only be accessed by a user if they have access to the Microsoft SharePoint/OneDrive account for your organization.
eXtendFiles record (using formula field):
- Go to your private eXtendFiles record.
- Click the link present under the eXtendFiles - View Uploaded File field.
Note: If this field is not available on the eXtendFiles record, contact your NetSuite Administrator to see if the field is hidden or if another field is being used. - This link will open in a new tab and a shared URL will be generated for viewing the file if you have permissions to your organization's Microsoft SharePoint/OneDrive account.
- Upon clicking the link above,
your file will open in a new tab.
Note: Some file formats which are unsupported by your browser will be downloaded automatically depending upon the web browser you are using.
eXtendFiles record (using workflow-based button)
- Pre-signed URL
This field will store the generated shared URL for the main file's URL. - Pre-Signed URL Expiry Time
This field will store the time stamp by which the generated shared URL will be valid. - Pre-Signed URL Generation Error
If any error occurs during generation of the shared URL, it will be stored in this field. - eXtendFiles - Pre Signed Preview URL
This field will store the shared URL for the preview image URL.
Note: This field will only populate if the workflow is configured to generate signed URLs for Preview images. - eXtendFiles - Pre Signed Thumbnail URL
This field will store the shared URL for the thumbnail image URL.
Note: This field will only populate if the workflow is configured to generate shared URLs for Thumbnail images. - eXtendFiles - Pre-Signed Preview URL Error
If any error occurs during generation of a Preview image's shared URL, it will be stored in this field. - eXtendFiles - Pre-Signed Thumbnail URL Error
If any error occurs during generation of a Thumbnail image's shared URL, it will be stored in this field.
Note: URLs generated can be either shared or anonymous access depending on the workflow configuration used.
From transaction or custom records
- Go to the record where eXtendFiles are attached.
- Make sure the eXtendFiles Inline Link View is configured on your record. If the inline list view is configured on your record, then an inline list of attached eXtendFiles will appear on your record as shown below. For more information on configuring the Inline Link View, see Configure eXtendFiles Inline Link View on a Record.
- Click the Copy icon to copy
the link of the file to your clipboard. The copied link will be a shared URL and you will only be able to view it if you have access to your organization's Microsoft SharePoint/OneDrive account.
- Your file will open in a new tab.
Note: Some file formats which are unsupported by your browser will be downloaded automatically depending upon the web browser you are using.
Notes
- eXtendFiles links which are shown in the
Multi-Approval and Single-Approval templates are signed by default for a limited
amount of time (as specified by your NetSuite Administrator).
- For Amazon S3 and Microsoft Azure storage, if the configured bucket/container names on the eXtendFiles Setup (Bucket and Additional Bucket for Amazon S3 and Azure Container and Azure Additional Container for Microsoft Azure) is different from the bucket name present on the file URL link, then the signed URL generation will not be available, and the public/private buttons will not appear on such records.
- Generating anonymous links in Microsoft SharePoint/OneDrive requires the enablement of external sharing as described in Required SharePoint Permissions to Use eXtendFiles.