FME Server workspaces can use custom formats, custom transformers, and custom coordinate systems in the same way that FME Workbench does. There are two ways to upload these shared custom resources to FME Server:
To publish custom resources to FME Server:
Open the custom format or custom transformer in FME Workbench:
File > Open > Select custom format/transformer
Publish the resource to FME Server as you would publish a workspace.
The resource then becomes available to workspaces within the repository to which you published it.
To make a custom resource available using the shared resource directive:
You can manually place a custom resource in a directory that is referenced by the FME_SHARED_RESOURCE_DIR
directive in the FME Engine configuration files, located at:
<FMEServerDir>\Server\fmeEngineConfig_<instanceName>.txt
The default entry for the shared resource directive looks like this:
FME_SHARED_RESOURCE_DIR "!FME_SERVER_ROOT!/Resources/shared"
You can add locations to this directive for your own shared resources. To ensure these locations have the necessary subdirectory structure, they must be added using FME Workbench.
FME_SHARED_RESOURCE_DIR "!FME_SERVER_ROOT!/Resources/shared;\\server230\FMEResource;C:\FME_Shared"
Note: If any engines do not start with the FME Server, there is likely a syntax error in the corresponding engine configuration file.
To verify that the new directories are recognized by FME Server, run any job, using the Job Submitter service, and view the log. Look for entries similar to the following:
Note: If there are two definitions of the same custom transformer, one in the repository directory and the other in the shared directory, FME Server tries to find the transformer in FME_SHARED_RESOURCE_DIR first and use that. If it is not there, it looks for the transformer defined in the resource directory.