OBJECT

CloudObjectFolderEntity

Folder that organizes files, either in the company documents or within a record.

link GraphQL Schema definition

  • type CloudObjectFolderEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Online form template this folder is associated with, when the folder stores form
  • # submissions.
  • onlineFormType: OnlineFormTypeEntity
  • # Parent folder, when this folder is nested. Empty for top-level folders.
  • parentCloudObjectFolder: CloudObjectFolderEntity
  • # Who may see the folder and the documents in it: everyone, or whoever sees the
  • # parent folder (Public), or only the users and sales units in accessClients and
  • # accessUnits (Custom). Changed only through manageAccess.
  • access: FolderAccessModeEnum
  • # API name of the custom entity the folder is attached to. Set only for folders on
  • # custom entity records; otherwise empty.
  • entityApiName: String
  • # Entity of the record the folder belongs to (lead, opportunity, account, contact,
  • # project, quote or custom entity). Empty for company folders; set on create only.
  • entityType: BaseEntityTypeEnum
  • # What the folder is for: Standard, or OnlineFormRoot for the Online Form folder
  • # of its record type, where form responses are filed. Set by the system, never
  • # through the API.
  • kind: FolderKindEnum
  • # Name of the entity and its default text representation.
  • name: String!
  • # Id of the online form template, or empty when not associated with a form.
  • onlineFormTypeId: ID
  • # Id of the parent folder, or empty for top-level folders.
  • parentCloudObjectFolderId: ID
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Users who may see the folder when its access is Custom. Changed only through
  • # manageAccess.
  • #
  • # Arguments
  • # filter: Filter Client relations by target Client attributes.
  • # filterEdge: Filter CloudObjectFolderAccessClientRelation
  • # relations by edge (relation) CloudObjectFolderAccessClientRelation attributes.
  • # orderBy: Order Client relations by target Client attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • accessClients(
  • filter: ClientFilterInput,
  • filterEdge: CloudObjectFolderAccessClientRelationFilterInput,
  • orderBy: [ClientOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): CloudObjectFolderAccessClientRelationEntityConnection
  • # Sales units whose members may see the folder when its access is Custom. Changed
  • # only through manageAccess.
  • #
  • # Arguments
  • # filter: Filter SalesUnit relations by target SalesUnit
  • # attributes.
  • # filterEdge: Filter CloudObjectFolderAccessSalesUnitRelation
  • # relations by edge (relation) CloudObjectFolderAccessSalesUnitRelation
  • # attributes.
  • # orderBy: Order SalesUnit relations by target SalesUnit
  • # attributes.
  • # includeDeleted: Returns deleted target records as well. Default
  • # is true.
  • # before: Cursor until which to take entities to result set.
  • # after: Cursor after which to start taking entities to result
  • # set.
  • # first: Number of entities to return from beginning of the
  • # result set.
  • # last: Return only the "last" number of entities from result
  • # set.
  • accessUnits(
  • filter: SalesUnitFilterInput,
  • filterEdge: CloudObjectFolderAccessSalesUnitRelationFilterInput,
  • orderBy: [SalesUnitOrderByInput!],
  • includeDeleted: Boolean,
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): CloudObjectFolderAccessSalesUnitRelationEntityConnection
  • # Folder kind: Company for shared company folders, Record for folders attached to
  • # a specific record.
  • type: CloudObjectFolderType!
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • # The nearest folder above with Custom access: this folder follows it and may list
  • # only who it lets in. Empty when every folder above is Public.
  • effectiveAccessFolder: CloudObjectFolderEntity
  • # Users the Custom folders above let in, the only ones this folder may list:
  • # listed there or a Member of a sales unit listed there. Empty when no folder
  • # above restricts access.
  • allowedAccessClientIds: [ID!]
  • # Sales units the Custom folders above let in, the only ones this folder may list.
  • # Empty when no folder above restricts access.
  • allowedAccessUnitIds: [ID!]
  • }