Adding managed files

Draft comment:
This topic is shared by BAW, CP4BA, CP4BASaaS. Last updated on 2025-03-13 12:15
You can add external assets such as JAR or JS files for use in a project. You can also add files for use with coaches or to override the transform XSL for one or more heritage coaches.

Procedure

To add external files to your process application or toolkit:

  1. Open a process application in the designer.
  2. Click the plus sign next to Files and select Web File, Server File, or Design File.
    Note: To select a design file, you must use the Process Designer desktop editor (deprecated).
    • Select Web File if you want to add images, .css files, or other assets to use in your coaches.
    • Select Server File if you want to add JAR or JS files or some other type of asset to use in a workflow implementation.
    • Select Design File if you want to add .xsl files (content type text/xml or application/xslt+xml) to override the transform XSL for one or more heritage coaches.
  3. In the New File window, click Browse to search for the file that you want.
  4. Select the file, and then click Finish.
    Tip: In the desktop Process Designer, you can also drag files or folders from your file system directly to the Files category. When you add folders, all the files within the folder are added as individual assets. All files retain their original names. You can also drag an image file from your file system and place it directly on a coach that you are creating to add the file as a managed file.

Results

The external file is now displayed in the Files category of the library. The name of the file is the same as the original. If you delete a file that is used as the implementation for a service or other component, the implementation is broken. To ensure that you do not delete necessary files, open the file and check the Where Used tab before you delete the file.