CloudFolderDialog Object

Derived from: Base Object
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/CloudFolderDialog.h>

Description

Represents a cloud folder dialog, which is a dialog that is used to prompt the user to select a folder on the Fusion web client. It is created by using the UserInterface.createCloudFolderDialog method.

Methods

Name Description
classType Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType().
showDialog Displays a modal dialog allowing the user to select a folder. The return value can be used to determine if the dialog was canceled without selecting a folder. The dataFolder property can be used to get the selected folder.

Properties

Name Description
dataFolder Gets the folder selected by the user in the dialog. This property is used after the showDialog method has been called to retrieve the folder selected by the user.
initialFolder Before the dialog is displayed this is used to get and set the initial folder that is shown when the dialog is displayed. It defaults to the DataFolder that is currently active in the Data Panel.
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
objectType This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.

It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType():
title Gets or sets the title displayed on the dialog.

Accessed From

UserInterface.createCloudFolderDialog

Version

Introduced in version April 2026