How do I create and use custom controls in a Policy Automation interview?
Oracle Policy Automation (latest release)
Custom controls allow completely customized styling to be applied to controls on Oracle Policy Automation (OPA) interview screens.
- In Latest version interviews, custom controls are only supported for label controls.
- In August 2016 version interviews, custom controls are supported for text input controls and label controls.
To customize the styling and behavior of any control type, use interview extensions instead.
For a policy modeler to use a custom control on an interview screen, a custom control handler must be provided. Programming expertise is needed to create the custom control handler that provides dynamic HTML content for a custom control. Each custom control handler returns a HTML snippet that will be included within the OPA screen at the point where the control appears. A custom control handler is passed the current interview session data, and can choose to use some, none or all of that data in deciding how to render its response.
There is an alternate version of the Emergency Response example project that uses custom controls.