INPUT_OBJECT

CreateOrUpdateCloudObjectTemplateInput

Field values of a CloudObjectTemplate record to create, or to update when its id is set.

link GraphQL Schema definition

  • input CreateOrUpdateCloudObjectTemplateInput {
  • # Optional client-supplied identifier passed on a mutation input and echoed back
  • # unchanged on its payload, so a client can correlate the response with its
  • # request (Relay convention).
  • clientMutationId: String
  • # Unique identifier of entity.
  • id: ID
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # 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 publicUrl).
  • isPublic: Boolean
  • # Whether the document template is active and offered for generating documents, or
  • # inactive and kept for later use. Defaults to Active.
  • 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
  • # templateEntityApiName.
  • templateEntityName: EntityNameEnum
  • # Where the template file is stored: S3File for a file uploaded to Coevera storage
  • # (the default) or GoogleDriveFile for a Google Drive document. Set on create
  • # only.
  • type: CloudObjectTypeEnum
  • # Editor the uploaded image is embedded in, such as an email template or rich-text
  • # content. Empty for files that are not embedded images.
  • 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
  • # Data content of the object.
  • content: Base64
  • # API name of the custom entity the template renders. Set only when
  • # templateEntityName is "CustomEntity"; otherwise empty.
  • templateEntityApiName: String
  • }

link Require by