Retrieves items from an FLC workspace.

Get-FLCItems -Workspace <String> [[-Filter] <String>] [<CommonParameters>]

Type Name Description Optional
StringWorkspaceThe name of the workspace where the items should be retrieved fromno
StringFilterSearch string in the form of a Fusion Lifecycle search queryyes

Item[] ← On success.
empty ← on failure. Exception/ErrorMessage can be accessed using $Error.

The -Filter argument accepts the same search queries as Fusion Lifecycle and can be used to include only specific items in the result.
The search queries support General item properties, Workspace specific properties and Advanced searches with logical operators.

For revision-controlled Workspaces the cmdlet returns only the working versions for all the Fusion Lifecycle items.
Cross-workspace searches are not supported by the cmdlet.

Inaccurate results can be caused by the Fusion Lifecycle search index being out of date. This can be resolved by starting a Re-Index for the workspace in the workspace settings.

To use the examples below a Fusion Lifecycle PLM demo Tenant is required:

Get all items in a workspace

Connect-FLC -Tenant 'your_tenant_name' -ClientId 'your_client_id' -ClientSecret 'your_client_secret' -UserId ''

Get-FLCItems -Workspace 'Change Orders'
Id                           : 7296
Workspace                    : Change Orders
WorkflowState                : Implementation
Number                       : CO000004
Title                        : Modify Heatsink Cover
Priority                     : HIGH
Change Reason Code           : Quality Issue
Description of Change        : <i>Reduce size</i> of the heatsink cover to resolve <b>capacitor interference issue</b>.
Stage 1 Predefined Approvers : {Black Amanda, Miller Boris}

Id                           : 7384
Workspace                    : Change Orders

Save field of type Image to file

Connect-FLC -Tenant 'your_tenant_name' -ClientId 'your_client_id' -ClientSecret 'your_client_secret' -UserId ''
$items = Get-FLCItems -Workspace 'FMEA Analysis' -Filter 'ITEM_DETAILS:NUMBER=FMEA000001'

$imageBytes = $items[0].'Process or Product Image'
Set-Content -Path 'image.png' -Value $imageBytes -Encoding Byte 

Filter items by workflow state and a workspace specific field

Connect-FLC -Tenant 'your_tenant_name' -ClientId 'your_client_id' -ClientSecret 'your_client_secret' -UserId ''

$items = Get-FLCItems -Workspace 'Products' -Filter 'workflowState=Concept AND ITEM_DETAILS:DESCRIPTION="CNC Router"'
$items[0].Number #returns 900-00007