AgencyPersonalization.config

AgencyPersonalization.config is an XML-based configuration file in the Enhancement\config directory that tells Infor Public Sector which applets have been added to the Enhancement\bin directory. Before you can call agency methods you must add the appropriate applets to this file.

Each applet is specified by an <EXTCLASS> element, which is a child of a <NAMESPACE> element that gives the applet’s namespace, as in this example:

<NAMESPACE name=”Hansen8.AgencyTest”>
<EXTCLASS name=”AgencyApplet” dll=”AgencyApplet.dll” cont=”False” external=”True” />
</NAMESPACE>

The name attribute of the <NAMESPACE> element specifies the namespace as it is displayed in the referenced assembly.

In the <EXTCLASS> element, the name attribute specifies the class that contains the method or methods that you want to call, and the dll attribute specifies the file name of the assembly that contains the code. The cont attribute indicates whether the class is a control. Presentation level personalization requires the agency class to be an applet, so this attribute will always be set to False.

The external attribute can be set to True to indicate that the applet is generated and compiled externally rather than by Infor Public Sector. Infor Public Sector will skip external applets when rebuilding formulas. If the external attribute isn’t set to True for an external applet, then Infor Public Sector will show an error message when rebuilding formulas.