← All types
PrepressIn Input object

UpsertComponentArtworkFileInput

Input for creating or updating a component artwork file reference

Fields

ID for update; omit for create

Parent component ID (required)

fileId

FileIDOptional

Reference to a tracked file record. Provide at least one of fileId or externalUri.

External URI for artwork not in the file store (e.g. DAM, CDN link)

Role this file plays for the component. Defaults to ARTWORK.

Possible values (5)
ARTWORK

Artwork usage

TEMPLATE

Template usage

DATA

Data usage

PATH

Path usage

OTHER

Other usage

Human-readable description of this file's role

pageCount

IntOptional

Number of pages contributed by this file

Page range within the file to use (e.g. '1-32' or 'all')

sortOrder

IntOptional

Sort order (defaults to 0)

Referenced by (1)
Exact type SDL
"""Input for creating or updating a component artwork file reference"""
input UpsertComponentArtworkFileInput {
  """ID for update; omit for create"""
  id: ComponentArtworkFileID
  """Parent component ID (required)"""
  componentId: ComponentID!
  """
  Reference to a tracked file record. Provide at least one of fileId or externalUri.
  """
  fileId: FileID
  """External URI for artwork not in the file store (e.g. DAM, CDN link)"""
  externalUri: String
  """Role this file plays for the component. Defaults to ARTWORK."""
  usageRole: ComponentFileUsageRole
  """Human-readable description of this file's role"""
  description: String
  """Number of pages contributed by this file"""
  pageCount: Int
  """Page range within the file to use (e.g. '1-32' or 'all')"""
  pageRange: String
  """Sort order (defaults to 0)"""
  sortOrder: Int
}