Requirements for custom code generators

Custom code generators must meet several requirements.

  • The executable name must be a single word with no spaces;
  • The unique codes generated must match the specified code format, which is passed as an input to the custom code generator;
  • The custom code generators must output the unique codes, or an error, to the standard output stream (stdout);
  • Custom campaign and cell code generators must be placed in the /Campaign/bin directory. Custom offer code generators can be placed in a location of your choice which you then must specify in the offer code generator configuration properties on the Unica Platform Configuration page.