Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Validating Custom Code

This task outlines the steps to compile and validate your custom code using NuGet tool. NuGet command-line tool helps you compiling custom code locally before deploying it to the Conga Platform. This allows early detection of errors and warnings, improves code quality, and reduces the chances of deployment failures.

  1. Navigate to the project directory (folder) where your custom code is located.
  2. Run the compile command: compile-custom-code
    Note:

    You can also compile code from any location by specifying the path: compile-custom-code <path> For example, if custom code is located in the Downloads folder, you can add the path like: compile-custom-code "C:\Users\jondoe\Downloads\customcodes"

  3. Review the output:
    • Errors are displayed in red.

    • Warnings are displayed in yellow.

The custom code is compiled and validated locally. You can see errors and warnings, if any, which you can address before deployment.
Fix any reported issues and recompile as needed. Once the code compiles successfully, proceed with deployment to the Conga Platform.