DataFolders.itemById Method

Parent Object: DataFolders
Defined in namespace "adsk::core" and the header file is <Core/Dashboard/DataFolders.h>

Description

Returns the folder specified using the ID of the folder.

Syntax

"dataFolders_var" is a variable referencing a DataFolders object.
returnValue = dataFolders_var.itemById(id)
"dataFolders_var" is a variable referencing a DataFolders object.

#include <Core/Dashboard/DataFolders.h>

returnValue = dataFolders_var->itemById(id);

Return Value

Type Description
DataFolder Returns the folder or null if a folder with the specified ID is not found.

Parameters

Name Type Description
id string The ID of the folder to return. This is the same ID used by the Forge Data Management API.

Version

Introduced in version September 2016