Wednesday, October 17, 2018

Get the list of Folders on the File Cabinet using SuiteScript

Question: How to search for the list of Folders on the File Cabinet using SuiteScript?

Answer:

The code below would give you the list of Folders on the File Cabinet:

var folder = nlapiCreateRecord('folder');
var parent = folder.getField('parent');
var folderList = parent.getSelectOptions();

No comments:

Post a Comment