tk_publish
Publish a file to ShotGrid by resolving the publish path from Toolkit templates, or specify an explicit path. Copies the source file and creates a PublishedFile entity.
Instructions
Publish a file to ShotGrid.
Two modes:
With PipelineConfiguration: resolves the publish path from Toolkit templates automatically (use tk_resolve_path first to preview the path).
Without PipelineConfiguration: requires an explicit publish_path parameter. The path is stored in the PublishedFile and is accessible by any tool that reads the path field. If the project has a Local File Storage configured in ShotGrid, the file will be browsable from the web UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |