Disabling lookup expressions

By default, Guidewire sets the return value of method isLookupEnabled to false in the non-editable DefaultBizRulesPlugin class. This action disables the use of lookups in business rule expressions.

PolicyCenter overrides the default value of false that this method returns through an override of the method in the default plugin implementation class for the IBizRulesPlugin plugin:

  • override property get LookupEnabled() : boolean { return true }

To again disable the use of lookups in PolicyCenter business rules, change the overridden method so that it returns false. After you do so, PolicyCenter removes the Lookup option from the drop-down picker in the business rule variable and condition builders.