Task #1103
closed
When I enable LookupService for script (interface ScriptEnabled) in script authorities is available these services, is this good?
- Assignee changed from Alena Peterová to Ondřej Kopr
Yes, that's exactly what I needed.
- Status changed from New to Needs feedback
- Assignee changed from Ondřej Kopr to Alena Peterová
- Target version set to Jade (8.1.0)
- % Done changed from 0 to 90
- Assignee changed from Alena Peterová to Ondřej Kopr
Thanks, I tested that it can now be used in the scripts. It works perfectly for identities.
I tried to lookup an organisation by its code, but it didn't find it, the result of the following was null:
IdmTreeNodeDto org = (IdmTreeNodeDto) lookupService.lookupDto(IdmTreeNodeDto.class, "310003");
So the lookupService can't be used for searching tree nodes by codes, or is it some bug?
IdmTreeNodeDto is not Codeable => tree node doesn't have unique code, because more tree types can exist.
Radek Tomiška wrote:
IdmTreeNodeDto is not Codeable => tree node doesn't have unique code, because more tree types can exist.
I see. OK, I will add only a little comment about this in that wiki page, so others won't be confused as I was :-)
- Status changed from Needs feedback to Resolved
- % Done changed from 90 to 100
I thanks Alca for feedback, I will close the ticket.
- Status changed from Resolved to Closed
Also available in: Atom
PDF