Rebuilding formulas

After changing formulas or agency business objects, use Rebuild All Formulas to rebuild the agency assemblies in your application directory. Detail pages and Content Manager links can also be rebuilt.

Rebuilding formulas affects the files in these directories within your application directory:

  • The Enhancement directory contains the agency assemblies. The compiled assemblies are found in the Enhancement\bin directory. If you rebuild detail pages, the agency applets in the Enhancement folder are also rebuilt.
  • The Enhancement\GeneratedFiles directory contains generated source code for the agency business objects.

When formulas are rebuilt, all folders and files are cleared from the Enhancement\GeneratedFiles folder and then regenerated. The files are then rebuilt in the Enhancement directory based on the most recent updates.

Note: Only one compilation process can run at a time. This includes rebuilding formulas and synchronizing product families in the Schema Manager. If you attempt to rebuild formulas while another compilation is in progress, you will get an error message telling you to try again later. You can use the System Information page to view more details about the compilation that is in progress, and to break the compilation lock if necessary.

See Breaking a compilation lock.

  1. Select System > Agency Personalization > Rebuild All Formulas.
  2. Select the Rebuild all detail pages and content manager links check box if you want to rebuild your detail pages and Content Manager links as well as your formulas.
    Note: This step is skipped if you are using generic detail pages.

    See Generic detail pages.

  3. Click OK.