Skip to main content

startImportComponentFromDatasheetJob

Start a job to create a Flux project, and import components from a datasheet to a that project

startImportComponentFromDatasheetJob(
pdfUid: PdfUid!
targetComponent: ImportableComponentInfoInput!
template: TemplateProject
propertiesForExtraction: [PropertyForExtraction!]
options: ExtractDatasheetJobOptions
organizationHandleOrUid: OrganizationHandleOrUid
partType: String
): StartJobResult!

Arguments

startImportComponentFromDatasheetJob.pdfUid ● PdfUid! non-null scalar

Uid of the datasheet, can grab this information from an extract datasheet job

startImportComponentFromDatasheetJob.targetComponent ● ImportableComponentInfoInput! non-null input

Information of importable components, this is returned by a successful extract datasheet job, under its jobStatus.jobData

startImportComponentFromDatasheetJob.template ● TemplateProject input

Can optionally specify a template project for this import, will extract all properties listed in this template project

startImportComponentFromDatasheetJob.propertiesForExtraction ● [PropertyForExtraction!] list input

Can optionally specify a list of property for extraction, note that when specified, will always use this list for property extraction

startImportComponentFromDatasheetJob.options ● ExtractDatasheetJobOptions input

Options to configure the job

startImportComponentFromDatasheetJob.organizationHandleOrUid ● OrganizationHandleOrUid scalar

Handle or UID of the organization that the project belongs to

startImportComponentFromDatasheetJob.partType ● String scalar

Optionally specify a part type for dynamic properties extraction. When specified, copilot will use the specified part type to perform dynamic properties extraction. When not specified, copilot will infer the part type first.

Type

StartJobResult interface