Skip to main content

Admin: How to Deploy Script for ExtendDocs Auto-Create in NetSuite

ExtendDocs | Learn how to deploy script to Autocreate folders

Updated over 2 weeks ago

The Auto-Create feature requires deploying the CloudExtend MailApps-RecordFolder Export User Event script to the record types where you want folders created and linked.


Prerequisites

  • NetSuite Administrator (or role with SuiteScript/script deployment permissions)

  • ExtendDocs configured (OneDrive/SharePoint access confirmed)

  • CloudExtend Files tab added to your target records (recommended)

Use this article if you want to…

  • Deploy Auto-Create Folder for the first time

  • Deploy Auto-Create to a record type that is not currently enabled

  • Apply recommended deployment defaults for best coverage


How to Deploy Script for ExtendDocs Auto-Create

Use this article to deploy Auto-Create Folder for the first time, or if the record type is not on the deployed list.

Step 1: Locate the Auto-Create Folder Script

Use either method below.

Option A: Global Search

In NetSuite’s global search bar, enter:
CloudExtend MailApps-RecordFolder Export

Option B: Navigate via Menus

  1. Go to Customization → Scripting → Scripts

  2. In filters:

    • Set Type = User Event

  3. Locate the script:
    CloudExtend MailApps-RecordFolder Export

Step 2: Review Existing Deployments (Recommended)

Before deploying, confirm whether your record type is already enabled:

  1. Open the script record

  2. Click Deployments

This list shows all record types where Auto-Create Folder is currently enabled.

If your target record is not listed, continue with the manual deployment steps below.

Step 3: Show Undeployed Record Types

Check Show Undeployed.

This allows you to:

  • Identify record types not yet enabled

  • Quickly enable or disable Auto-Create per record type

  • Update multiple record types at once (when supported by the UI)

Step 4: Deploy Auto-Create Folder to a Record Type

  1. In the Applies To section (or record type list), locate the record type you want to enable.

  2. Configure the deployment as follows:

    Deployment Settings (Recommended Defaults)

    • Set Status to Released.

    • Set Event Type to Empty. (Recommended option. Check different Event Types)

    • Set Log Level to Debug.

    • Audience: Select the roles/users that should trigger folder creation

    • Go to the Context Filtering Tab, then select User Interface in the Execution Context box.

Step 5: Save and Validate

After deploying or updating settings:

  1. Open a NetSuite record that matches the deployed record type

  2. Confirm:

    • A folder is created in OneDrive or SharePoint

    • The folder/link appears in the CloudExtend Files tab (if deployed)


Event Types (Quick Guide)

Event Type

When Folders Are Created

Best For

Empty (recommended)

On Create and first View

Covers both new and existing records

Create

Only when records are created

Setting up everything for the first time.

View

When records are first viewed

Backfilling folders for existing records

💡 Notes

  • If a folder already exists, the script should not create a duplicate.

  • For most customers, Empty provides the best coverage with minimal admin effort.


Need Help?

If Auto-Create Folders do not behave as expected:

Please include:

  • Record type(s) deployed

  • Deployment settings (Event Type, Audience, Execution Context)

  • Screenshots of the deployment record and CloudExtend Files tab

Did this answer your question?