set object_type [db_string otype "select min(pretty_name) from acs_object_types where object_type in (select object_type from acs_objects where object_id = :object_id)" -default "Object"]
set object_type [db_string otype "select min(pretty_name) from acs_object_types where object_type in (select object_type from acs_objects where object_id = :object_id)" -default "Object"]
set description "Default folder for $object_type: $object_name"
set folder_name "$object_type: $object_name"
# Check if the folder exists with object type and object name
# Check if the folder exists with object type and object name
# in order to avoid errors with duplicate folder names
# in order to avoid errors with duplicate folder names