Folder Internal ID

To find the internal ID of a folder in NetSuite, you can use the following methods:

Search for the Folder in the File Cabinet:

  • Navigate to Documents > Files > File Cabinet in the NetSuite dashboard.
  • In the File Cabinet, locate the folder you’re interested in.
  • Once you find the folder, move your mouse over the target folder without any click.
  • On browser status bar, the internal ID of the folder is typically showing there, such as &folder=#### or id=####.

Go to Reports > Saved Searches > All Saved Searches > New.

  • Select File as the search type.
  • In the search criteria, set the File Type to “Folder”.
  • Run the search, and the results will show the internal IDs of the folders in the results table.

SuiteScript (For Developers):

You can also use SuiteScript to retrieve the folder internal ID programmatically by running a search for files and folders.

Here’s an example of how to search for folders using SuiteScript:

var folderSearch = search.create({
    type: search.Type.FOLDER,
    columns: ['internalid', 'name']
});

folderSearch.run().each(function(result) {
    log.debug('Folder ID: ' + result.getValue('internalid'), 'Folder Name: ' + result.getValue('name'));
    return true;
});

Was this page helpful?