IIQ version: 8.4
Hi everyone,
I’ve added a custom column to the certification screen. I have updated the UIConfig file accordingly and created an evaluator class that returns a list of strings. Now, I want to implement a custom renderer for this column to properly display the list of strings.
However, I haven’t been able to find clear documentation or example implementations for writing a custom renderer in this scenario.
Has anyone worked on something similar or can guide me on how to create and integrate a custom renderer for a list of strings in the certification screen? Any pointers would be greatly appreciated!
Thanks in advance,
Zeel
FYR,
I’m assuming you’ve looked at this documentation? https://community.sailpoint.com/t5/Technical-White-Papers/UI-Customization-with-UIConfig-in-IdentityIQ-8-4/ta-p/76860#toc-hId-330809738
The example they are mentioning looks like this:
SailPoint.certification.BaseCertificationGrid.renderIdentity = function(value, metadata, record, rowIdx, colIdx, store) {
var html = "";
try{
if(value) {
var identityId = value.id;
var name = value.displayName ? value.displayName : value.name;
html = "<a class='disclosure identity'>"+name+"</a>";
}
} catch(err){
if (!SailPoint.AccountErrorLaunched){
SailPoint.AccountErrorLaunched = true;
SailPoint.FATAL_ERR_JAVASCRIPT (err, "Error rendering identity column.");
}
return "ERROR";
}
return html;
};
This is in: identityiq\scripts\sailpoint\certification\BaseCertificationGrid.js
Hey Patrick, yup I am referring the same doc. Thanks for the example.
I have some follow ups here,
- If I want to create a custom renderer, that should go to this file or is there any other place I should target ?
- Are there some default arguments to be passed to this function or just my list as an argument would work ?