![library export 1 public resources](../figures/library-export-1-public-resources.png)
Export Project as Library
See the Libraries section for more information on libraries and libraries development best practices and recommendations. |
The action will open a wizard. On the first page of the wizard, you can select which elements should be public – visible to other users. Other elements will also be included in the package, but they will be hidden. These internal elements may be used as sub-routines in the public ones.
![library export 1 public resources](../figures/library-export-1-public-resources.png)
On the second wizard page, you can select data source connectors. For more information, see Requirements for Data Source Connectors.
![library export 2 data source connectors](../figures/library-export-2-data-source-connectors.png)
On the third wizard page, you can select data target connectors. For more information, see Requirements for Data Target Connectors.
![library export 3 data target connectors](../figures/library-export-3-data-target-connectors.png)
On the fourth wizard page, you can select one job (graph, subgraph, jobflow) which you may use as an initialization job for your library after you successfully install it on CloverDX Server. Note that an initialization job must not include required parameters. For more information, see Initialization Jobs (pre-generating metadata).
![library export 4 initialization job](../figures/library-export-4-initialization-job.png)
On the fifth page, you can select a Health Check job which will be used to monitor health of your library. Note that a Health Check job must not include required parameters.
![library export 5 health check](../figures/library-export-5-health-check.png)
On the last wizard page, you can give your library a custom Name, Author, Version. These fields are mandatory.
Minimum and Maximum product version, and Description are optional.
The Minimum and Maximum product specify minimum and maximum CloverDX versions, for which the library is supported in CloverDX Server. This information is a crucial indicator for CloverDX administrators. These fields highlight potential compatibility issues when installing the library on a server version outside the specified range. For more information refer to the Server documenation here.
Finally, you need to select the output file path.
![library export 6 metadata](../figures/library-export-6-metadata.png)
After pressing Finish, the wizard will package the project (excluding data-out and data-tmp directories) into a file with the “.clib” extension. An administrator can install the file to CloverDX Server in the Libraries section.