その他のアプリケーションとの統合 > Windchill Workgroup Manager のマニュアル > Windchill Workgroup Manager ツールキット > Working with Toolkit Resources > Additional Windchill Workgroup Manager Toolkit Demo Examples > Toolkit API Function to Read Only Subfolder Structure up to Product Level
  
Toolkit API Function to Read Only Subfolder Structure up to Product Level
Windchill Workgroup Manager Toolkit API function enables you to programmatically read the Windchill folder and subfolder structure information.
When the getSubfolder function is invoked, only the immediate sub folders are returned. If these folders contain workspaces, then the workspaces are not returned.
Reading Windchill Folder and Subfolder Information Demo
Prerequisites
You must perform the following actions:
In the customizationTK.xml file, specify the customization path to the wwgmtkbasictest.dll file. For more information about the customizationTK.xml file, see How to Initialize and Launch the Toolkit.
Copy the customizationTK.xml file to <WGM install directory>/PTC_WGM_ROOT/.Settings.
Set the WWGMTK_FOLDER_PATH environment variable for the subfolder path. For example, you can specify the path as Products/GOLF_CART.
* 
For information on how to create environment variables, see Create or Update User Environment Variables.
To read the Windchill folder and subfolder structure information, in Windchill Workgroup Manager, click Toolkit Demo > Client Connector Actions > Get SubFolders. The folders and subfolders in the specified path are listed in the Client Message area.