Content
Updated by Radovan Semancik about 1 month ago
Expressions in the custom objectCollectionView columns can only return string. This is too limiting. It would be nice if the expression can return other types as well.
Most importantly, the expression should be able to return PrismObject or reference. This could be used by the GUI to nicely render the objects, including correct (archetyped) icons, colors and links.
Also, the expression should be able to return a collection of strings, objects or references. The GUI could format and display the collection in an appropriate way. Currently the script has to render the collection, which leads to inconsistencies using various separators, formatting issues, etc.
Example:
The Owner and Classification columns in the screenshot below could be a nice clickable link, if the column expressions could return PrismObject istead of just string.
The configuration: https://github.com/Evolveum/midpoint-samples/blob/master/samples/compliance/objects/demo/tasks/init-system-config-demo.xml
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/26450/content">
Most importantly, the expression should be able to return PrismObject or reference. This could be used by the GUI to nicely render the objects, including correct (archetyped) icons, colors and links.
Also, the expression should be able to return a collection of strings, objects or references. The GUI could format and display the collection in an appropriate way. Currently the script has to render the collection, which leads to inconsistencies using various separators, formatting issues, etc.
Example:
The Owner and Classification columns in the screenshot below could be a nice clickable link, if the column expressions could return PrismObject istead of just string.
The configuration: https://github.com/Evolveum/midpoint-samples/blob/master/samples/compliance/objects/demo/tasks/init-system-config-demo.xml
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/26450/content">