hclleapforum

Open full view…

How to populate fields from federated repository (WAS)

guido_p
Thu, 19 Sep 2019 01:11:55 GMT

I have custom attributes mapped in the federated repository of WAS. How can I use them now in Leap to pre-populate fields such as emplyeeID now? I am aware of the custom LDAP Service (https://hclleapwiki.atlassian.net/wiki/spaces/HL/pages/852328/LDAP+Service+Configuration), but I don't want to use a separate LDAP connection as everything required is available to leap already provided by WebSphere Application Server.

guido_p
Fri, 20 Sep 2019 02:36:29 GMT

Currently I'm trying to use the REST API /members/users to get my custom attributes. However, the documentation is poor or non-existent and the results I'm getting per user query appear to be static. The schema looks like <user> <mobile></mobile> <email></email> <manager></manager> <jpegPhoto></jpegPhoto> <preferredLanguage></preferredLanguage> <countryName></countryName> <loginName></loginName> <description></description> <title></title> <displayName></displayName> <telephoneNumber></telephoneNumber> <id></id> </user> None of my custom properties show up there! Please help!

christopher_dawes
Fri, 27 Sep 2019 19:45:30 GMT

If you want to pull information from LDAP into a running form, then you must use the Custom LDAP Transport. The only detail that Leap exposes is the app.getCurrentUser() function that returns the user's login id. Pulling any other LDAP related information requires a service. This is something we hope to improve over time.