> ## 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.

# exportLibraries

> Exports one or more libraries, but only the latest updated version of each will be exported from the given OIC instance. Results are saved in a Jar ar

Exports one or more libraries, but only the latest updated version of each will be exported from the given OIC instance. Results are saved in a Jar artifact. This operation is intended to be used with our [browser extension](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-browser-extension.md). This will grab a list of IDs from the OIC Integrations page. Then a webook will run a utility workflow that exports the integrations and commits the exported files to your SCM.

![image-20250508-151031.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596416055.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=06b6162f262546c82762a471d427d460)

Exports

![image-20250508-151145.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596416058.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=276b3f4a261bddbaa858c3187fb8bca9)

> [!NOTE]
>
> Either **FDOIC\_CLOUD\_ACCOUNT\_CODE** Target property value or **FDOIC\_INP\_CLOUD\_ACCOUNT\_CODE** plugin input value should exist. When both exists, plugin input value will take precedence. See [Creating/Editing a Cloud Account and Provider](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-users-guide/integrations/cloud-account-and-provider.md) for details on how to setup Cloud Account for OIC.

# 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>OIC Account</td><td>`FDOIC_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</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>OIC Account</td><td>`FDOIC_INP_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</td></tr><tr><td>Library Identifier List</td><td>`FDOIC_INP_LIBRARY_IDENTIFIER_LIST`</td><td>No</td><td>CSV list of library identifiers to export. Leave blank to export all.</td></tr><tr><td>Export Folder</td><td>`FDOIC_INP_EXPORT_SUBFOLDER`</td><td>No</td><td>Optional subfolder within artifacts directory for exporting libraries, or specify an absolute path. If you are using standard project for build and deploy using export and import operations, it is recommended to leave this blank. **Since 9.0.0.6**.e.g.: `FD_TEMP_DIR + "libraries”` (specified as Groovy Expression to allow for dynamic value for temporary directory)</td></tr></tbody></table>

# Artifacts

This operation produces artifacts that will be stored in the artifacts repository.

# 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.
