Version: eXtendFiles 1.6.5 and above
Audience: Administrator

This section must be performed by a user with an Administrator Role in NetSuite and with Administrator access to the Microsoft Office 365 account.

To configure and authenticate OneDrive/SharePoint for usage with NetSuite, the steps below need to be performed after navigating to the eXtendFiles Setup screen:

  1. Go to eXtendTech → eXtendFiles → Setup.

  2. Select "One Drive" in the Storage Type field.


  3. Go to the Storage Information subtab and select the OneDrive sublist.
    Image Placeholder

  4. Specify your SharePoint Site Name in the eXtendTech Site Name field.
    Image Placeholder

    Note:
    The SharePoint Site Name is not mandatory and this field's value may contain spaces. If this value is not provided, eXtendFiles will look to your root/default SharePoint site instead of using a specific SharePoint Site.

    eXtendFiles can connect to a root/default SharePoint site and to SharePoint sites. Subsites are not currently supported.

  5. Create a new folder in SharePoint or specify an existing SharePoint folder in the eXtendTech Directory Path field and click Save.

    This will be the folder where eXtendFiles uploaded within NetSuite will be stored.
    Image Placeholder

    For example: If you have created folder named "eXtendFiles" in your site's document folder, specify eXtendFiles. If your eXtendFiles folder is a subfolder of some other folder (such as "NetSuite/eXtendFiles") then specify "NetSuite/eXtendFiles".

    For additional information on creating the folder within SharePoint, see Create Directory in SharePoint for use with eXtendFiles.

    Confirm that your SharePoint account and SharePoint site are configured to allow for External Sharing. See Required SharePoint Permissions to Use eXtendFiles for more information on configuring External Sharing within SharePoint.

  6. If you want to use user based file upload, enable the USER BASED FILE UPLOAD preference. See Configuring User Based File Upload In OneDrive for more information.
    Image Placeholder

  7. If you do not want to generate shared URLs, enable the DO NOT MAKE FILE PUBLIC preference.


    Note: If this preference is enabled, the eXtendFiles URL on the eXtendFiles record can only be accessible by users with permissions to your configured OneDrive/SharePoint account (and the configured folder). This setting is only available when USER BASED FILE UPLOAD is not enabled.

  8. Save your changes and open the eXtendFiles Setup page again.

  9. You will be prompted to authenticate to your OneDrive account. Click the Click to Authenticate One Drive button.

    Note: If you have recently created a new SharePoint Site for use with eXtendFiles, it may take around one hour for the new site to be available in the SharePoint API. If the site is not yet available in the SharePoint API, a 'resource not found' or 'unable to find site by name' error message will be shown when clicking the Click to Authenticate One Drive button. If the same error message is still showing after around one hour, the issue may be related to SharePoint permissions preventing access to the site. See Required SharePoint Permissions to Use eXtendFiles.
    Image Placeholder

    After login, Microsoft will prompt you to grant access to eXtendFiles to store data. Click Accept to accept the permission request to complete the Storage Setup.


    Once the authentication is performed, the One Drive SharePoint Site ID and One Drive Folder ID fields will be populated with the associated values.