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

# b2bExportTradingPartner

> Exports a Trading Partner and all Agreements for the Trading Partner from the B2B repository. Similar to the exportB2BAgreement step, any and all depe

Exports a Trading Partner and all Agreements for the Trading Partner from the B2B repository. Similar to the `exportB2BAgreement` step, any and all dependencies are exported as well.

# 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>B2B Server Host</td><td>`FDB2B_SERVER_HOST`</td><td>Yes</td><td>Host Name for the B2B Server. Under the default SOA installation, it will share the same host as the managed SOA servers.</td></tr><tr><td>B2B Server Port</td><td>`FDB2B_SERVER_PORT`</td><td>Yes</td><td>Port for the B2B Server</td></tr><tr><td>Oracle SOA Home</td><td>`FD_ORACLE_SOA_HOME`</td><td>Yes</td><td>Oracle SOA Home indicates where SOA Suite is installed.</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>B2B Trading Partner</td><td>`FDB2B_TP_NAME`</td><td>Yes</td><td>The name of the Trading Partner to be exported from the B2B Repository.</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>B2B User</td><td>`FDB2B_B2B_USER`</td><td>No</td><td>User that performs the given operation</td></tr></tbody></table>

# Artifacts

This operation produces a zip file artifact containing zip files of the Agreements associated to the exported Trading Partner to the artifact repository. This is not exposed to workflow developer.  

# Endpoint Selection

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

# Endpoint Execution

This operation will execute on any endpoint from the endpoint selection.

# Special Considerations

The import operation for Trading Partner accepts a [config file](https://docs.flexagon.com/flexdeploy-11-0-documentation/flexdeploy-plugin-guides/flexdeploy-oracle-b2b-plugin-guide/appendix-b2b/configuration-file-setup.md) for which to do property replacement with, as such, including an SCM export to pull in a [config file](https://docs.flexagon.com/flexdeploy-11-0-documentation/flexdeploy-plugin-guides/flexdeploy-oracle-b2b-plugin-guide/appendix-b2b/configuration-file-setup.md) in the same workflow as this export should be considered.
