Using the mutation desReleaseComponents, you can release a component directly to your workspace library.
The mutation allows you to
- Provide existing symbol IDs or symbol files
- Provide existing footprint IDs or footprint files
- Provide existing datasheet IDs or datasheet files
You can use our upload file service to return file IDs, following these guides:
How to use the Nexar File Service
Design: Where to find File IDs for Mutations
mutation DesReleaseComponent( $workspace: String! $releaseName: String! $symbolId: ID! $footprintId: ID! $namingSchemeId: ID! $lifeCycleDefinitionNodeId: ID! $datasheetId: ID! $datasheetNamingSchemeId: ID! $datasheetLifecycleId: ID! $datasheetFileId: ID! $datasheetFileRelativePath: ID! ) { desReleaseComponent( input: { workspaceUrl: $workspace componentReleaseFolder: $releaseName useExistingComponentReleaseFolder: false componentItemName: $releaseName componentDescription: "release test" componentRevisionNamingSchemeNodeId: $namingSchemeId componentLifeCycleDefinitionNodeId: $lifeCycleDefinitionNodeId parameters: { name: "param1", value: "val1" } datasheetReleaseFolder: "Released-26022025" symbol: { id: $symbolId } footprints: [ { id: $footprintId } ], datasheets: [ { id: $datasheetId }, { file: { fileId: $datasheetFileId relativePath: $datasheetFileRelativePath } lifeCycleDefinitionNodeId: $datasheetLifecycleId revisionNamingSchemeNodeId: $datasheetNamingSchemeId } ] } ) { errors { message } } }
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article