OBJECT

CloudObjectTemplateEntity

link GraphQL Schema definition

  • type CloudObjectTemplateEntity {
  • # Tells if the entity instance is protected against delete (Entities that need to
  • # be present in the system at any time). Delete action still may fail if entity is
  • # deletable, due some other additional validations.
  • 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
  • # Application that produced the object (e.g. Online Forms).
  • application: ApplicationEntity
  • # Company-level folder that contains the object, when stored in the company
  • # document tree.
  • companyCloudObjectFolder: CloudObjectFolderEntity
  • # User who uploaded the object.
  • creator: ClientEntity
  • # Id of the producing application.
  • applicationId: ID
  • # Id of the company folder, or empty when the object is not stored in the company
  • # tree.
  • companyCloudObjectFolderId: ID
  • # Id of the uploading user.
  • creatorId: ID
  • # File name (with extension) used when downloading the object.
  • filename: String!
  • # When true, the object can be served via a public URL (see public_url).
  • isPublic: Boolean
  • # Mime-type of the cloud object Is detected from content.
  • mimeType: String
  • # Size of the object in bytes.
  • size: Int!
  • # Field whose values are strictly defined with an enumeration of values.
  • status: CloudObjectTemplateStatusEnum
  • # Entity type the template renders (e.g. Account, Opportunity, Quote). For custom
  • # entities, the value is "CustomEntity" and the API name is exposed via
  • # template_entity_api_name.
  • templateEntityName: EntityNameEnum!
  • # Field whose values are strictly defined with an enumeration of values.
  • type: CloudObjectTypeEnum!
  • # Field whose values are strictly defined with an enumeration of values.
  • uploadSource: UploadSourceEnum
  • # URL of the object. If URL scheme is not defined "http://" is automatically
  • # prepended to supplied URL.
  • url: String
  • # Revision when entity was lastly changed.
  • revision: Int
  • # API name of the custom entity the template renders. Set only when
  • # template_entity_name is "CustomEntity"; otherwise empty.
  • templateEntityApiName: String
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }