Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System

Custom Assembly That Is Not in the GAC

  • Last UpdatedMar 17, 2016
  • 1 minute read

This example illustrates how a custom assembly that is not in the GAC can be configured as a hook and invoked when executing a standard stored procedure in the MES middleware.

The following example configuration is added to the Middleware Configuration Editor.

Middleware SP Name

Pre-Hook Name

Pre-Hook Type

Middleware Flow

sp_I_UOM

C:\Temp\TestHooks\TestHooks\bin\
Debug\TestHooks.dll;TestHooksNamespace.
TestHooksClass;TestHooksMethod

ASSEMBLY

STOP ON ERROR

The configuration in the pre-hook name can be interpreted as below:

Assembly Name/DLL Name: TestHooks.dll

Namespace: TestHooksNamespace

Class Name: TestHooksClass

Method Name: TestHooksMethod

TitleResults for “How to create a CRG?”Also Available in