> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getSources (PVCS)

> Gets (exports) files from a PVCS Project Database based on the configuration inputs. Target Properties Property Name Property Code Required Descriptio

Gets (exports) files from a PVCS Project Database based on the configuration inputs.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>PCLI Path</td><td>`FDPVCS_PCLI_EXE`</td><td>No</td><td>PCLI Path to be used on the endpoint if no PCLI executable is found on the path.</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>PVCS Use Full Path</td><td>`FDPVCS_USE_FULL_PATH`</td><td>No</td><td>If true, the full file path of your project path relative to the project database will be exported. If false, only subfolders under \
your project path will be exported.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Instance Code</td><td>`FDPVCS_INP_INSTANCE_CODE`</td><td>Yes</td><td>The PVCS instance code to use.</td></tr><tr><td>Project Path</td><td>`FDPVCS_INP_PROJECT_PATH`</td><td>Yes</td><td>File path within the project database you want to get files from.  If you wish to get the entire Project Database, use "/".</td></tr><tr><td>Stream Type</td><td>`FDPVCS_INP_STREAM_TYPE`</td><td>Yes</td><td>Stream to get files from.  Trunk, PromotionGroup, and Branch are supported.</td></tr><tr><td>Stream Value</td><td>`FDPVCS_INP_STREAM_VALUE`</td><td>No</td><td>Stream value to be used. Leave blank if getting from Trunk, otherwise this will be the promotion group name or branch revision.</td></tr><tr><td>Destination Folder</td><td>`FDPVCS_INP_DEST_SUBFOLDER`</td><td>Yes</td><td>Folder location to export files to.</td></tr></tbody></table>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

# Special Considerations

The input 'Stream Value' is marked as not required above, but it may be required depending upon the Stream Type you select.  The **PromotionGroup and Branch stream require a valid Stream Value** in order to complete successfully.
