[midPoint] GUI change object and target column in certification campaign

Hsin-Fang Hsu hsin-fang.hsu at itconcepts.ch
Thu Mar 31 11:50:22 CEST 2022


Thank you very much for the reply and the useful tip!
AbstractSummaryPanel looks like the right code. The code in AbstractSummaryPanel.html is what a summaryPanel shows.

Thanks again and best regards,
Hsin-Fang


From: midPoint <midpoint-bounces at lists.evolveum.com> On Behalf Of Pavol Mederly via midPoint
Sent: Thursday, March 31, 2022 11:31 AM
To: midpoint at lists.evolveum.com
Cc: Pavol Mederly <mederly at evolveum.com>
Subject: Re: [midPoint] GUI change object and target column in certification campaign


I am not sure. There should be a code for generation of the links that are related to these names. Most probably these would be broken after such a change.

Other parts of GUI should not be affected, although I am not 100% sure.

As for the code for configurable summary panel: I don't know. I don't work with the GUI for a couple of years. The method I use to look for something like that is:

  1.  Find the type name by inspecting the XSD. In this case it's probably SummaryPanelSpecificationType.
  2.  Use IDE (e.g. IntelliJ IDEA) to find places where this class is used.

In this particular case, AbstractSummaryPanel is the candidate. But, no guarantees. I am a layman here.

--

Pavol Mederly

Software developer

evolveum.com
On 31/03/2022 11:25, Hsin-Fang Hsu via midPoint wrote:
Hello Pavol,

Thank you so much for very useful the reply!!


I suppose I cannot replace these two parts directly? It might affect other functions for midpoint?
[cid:image001.png at 01D844F5.EFE83B00]

Also, could you point out the code for configurable summary panel?

Thank you so much for your kind help!


Best regards,
Hsin-Fang


From: midPoint <midpoint-bounces at lists.evolveum.com><mailto:midpoint-bounces at lists.evolveum.com> On Behalf Of Pavol Mederly via midPoint
Sent: Thursday, March 31, 2022 11:07 AM
To: midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>
Cc: Pavol Mederly <mederly at evolveum.com><mailto:mederly at evolveum.com>
Subject: Re: [midPoint] GUI change object and target column in certification campaign


Hello,

it seems to be hard-coded: https://github.com/Evolveum/midpoint/blob/09aff8a1392083631e11749386b53616d684dc3e/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCaseOrWorkItemDto.java#L54-L73.

You may log an improvement JIRA issue or change the code yourself.

(The ultimate solution would be to make the information configurable, as it is currently done for e.g. summary panel.)

Regards,

--

Pavol Mederly

Software developer

evolveum.com
On 31/03/2022 10:48, Hsin-Fang Hsu via midPoint wrote:
Hi,

In the page certification campaign, it shows the name of user in the Object column and the name of role in the Target column.
In our case, the name of user is employee number, so the reviewer needs to click to see more details to know who the user really is. We want to show the user’s fullname directly in the object column, so that the reviewer can decide directly without clicking on the user to see more details. The same issue is for the target. In our case, the targeted role name is CN=…., which his very long and not easy to view.

This is what I meant:
[cid:image002.png at 01D844F5.EFE83B00]


Any idea?

Thank you very much for the help in advance!

Best regards,
Hsin-Fang




_______________________________________________

midPoint mailing list

midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>

https://lists.evolveum.com/mailman/listinfo/midpoint



_______________________________________________

midPoint mailing list

midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>

https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220331/71f427d4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 42538 bytes
Desc: image001.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220331/71f427d4/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 60322 bytes
Desc: image002.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220331/71f427d4/attachment-0003.png>


More information about the midPoint mailing list