Hello Team,
I am working on building an IIQ Plugin for an Exception Request framework and need some guidance on implementing a custom approval UI.
What I have built so far
-
A plugin that dynamically generates an exception request UI (XHTML) based on a Custom Object.
-
All fields and validations are driven from configuration (Custom Object).
-
The request is submitted via a short-lived dynamic link.
-
Once submitted, the request is passed into the LCM Provisioning Workflow so that I can leverage OOTB features like:
-
IdentityRequest
-
Approval steps
-
Audit trail
-
Current Requirement
At the approval stage, I want to:
-
Populate the approval page using
exceptionModel -
Display a dynamic list of risks
-
Allow approvers to:
-
Review each risk
-
Acknowledge each risk via checkbox
-
-
Prevent approval unless all risks are acknowledged
Additionally, I want the UI to be card-style (modern layout) rather than standard form layout.
What I tried
1. OOTB Form Renderer
-
Created a static form and passed values via
exceptionModel -
Works fine for displaying request data
Limitation:
-
Dynamic risk section is difficult to implement
-
<Field type="boolean">requires static fields -
Cannot render dynamic checkbox list cleanly
2. Embedded HTML in Form Field
Used:
<Attributes>
<Map>
<entry key="contentIsEscaped" value="true"/>
</Map>
</Attributes>
Works for:
-
banners
-
read-only formatted content
Does NOT work for:
-
input elements (checkboxes behave like plain text)
-
binding user input back to workflow
3. Exploring Custom Renderer (JSF via Plugin)
I am now trying to use a custom XHTML renderer via plugin to achieve:
-
dynamic UI rendering
-
proper checkbox binding
-
better UX
Question
Is it possible (and recommended) to implement a custom HTML/JSF-based approval UI via IIQ plugin for work items?
Specifically:
-
Can we fully replace the approval form UI with custom XHTML?
-
What is the best way to bind dynamic inputs (like checkboxes) back to
formModel? -
Are there any best practices or limitations when using custom renderers for approval pages?
Goal
To build a dynamic, configurable approval UI that:
-
renders risks dynamically
-
enforces acknowledgements
-
integrates cleanly with IIQ workflow and IdentityRequest
Any guidance, examples, or best practices would be really helpful.
Thanks in advance!

