Custom assemblies

There are two ways to create custom assemblies for use with Infor Public Sector.

If you have access to the application server, you can create your own assembly externally and then copy it the application directory.

Alternatively, you can use the Workflow Manager to create a custom assembly from within your Infor Public Sector site. You can thus write your own custom code without having to log on to the server.

Like formulas, custom assemblies that you create in the Workflow Manager are written in Visual Basic .NET. Custom assemblies are similar to formulas, and they are written in the Formula Editor, but they contain all the code required to create a stand-alone assembly. After you have saved a custom assembly, you can reference its methods in your formulas.

Note: On the server, custom assemblies are compiled into InforClient_Library.CustomAssembly000.dll in the Enhancement\bin folder in the application directory.

The Formula Editor includes two snippets to help you work with custom assemblies. These snippets are found under Internal Formulas in the Snippets tree:

  • Call internal formula: Contains sample code showing how to call a method in a custom assembly. This snippet references the sample Validate() method in the Custom Assembly snippet.
  • Custom Assembly: Simple example of a custom assembly.