require(["esri/arcgis/Portal"], function(arcgisPortal) { /* code goes here */ });
Description
(Added at v2.8)
The PortalFolder class provides information about folders used to organize content in a portal. Folders are only visible to the user and are used for organizing content within the user's content space.
Samples
Search for
samples that use this class.
Properties
Methods
Property Details
The date the folder was created.
The portal for the folder.
The url to to the folder.
Method Details
Find all the items in the folder. Returns a deferred that when resolved provides access to an array of
PortalItem objects.
Sample:
portalFolder.getItems().forEach(function(item){
console.log(item.name)
});