hello,
I have updated the OOB approval workitem render lcmworkitemrenderer.xhtml to show some static texts in the approval workitem.
But the renderer is never getting used, instead sailpoint is using commonworkitem.jsf and common-work-item.xhtml template.
While I was trying to understand the difference and relation between all these files, it seems commonworkitem is angular based and lcmworkitemrenderer is JSF based.
Can anyone please help me to understand, how to SP use lcmworkitemrenderer.xhtml for rendering instead of commonworkitem.jsf?
@soswain_resmed Sailpoint uses a redirection mechanism to forward requests from classic renderers(lcmworkitemrenderer) to the modern AngularJS-based UI(commonworkitem). If you see commonWorkItem.xhtml, it renders the specific work item using its own internal logic and UI bundles, completely bypassing the content of the lcmWorkItemRenderer.xhtml file specified in the workflow.
Note: Found a fix? Help the community by marking the comment as solution. Feel free to react(, , etc.) with an emoji to show your appreciation or message me directly if your problem requires a deeper dive.
If you wanted to show some static text in the approval workitem, did you try to do it via plugin, which you can invoke at commonworkitem.jsf page, and display your text.
if you can tell your requirement clearly what you want to display, the plugin is easy and best solution.
Thank you for your input @naveenkumar3 .
Our requirement was to show some dynamic contents in the approval form based the requested entitlements and who is approver.
I created a plugin and customised the commonworkitem.xhtml page to incorporate the changes and itβs working as expected.