Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm writing a joblet, is there any way to make the target LDAP attribute a variable (or column) in the tLDAPOutput component?
or would I have to write Java?
Hello @imholzj imholzj ,
You can setup the Insert mode = Update and check the box "Use Attribute Options (for update mode)" to add the attributes you want to update in tLDAPOutput advanced settings page
for more details, please refer to the article
https://help.talend.com/r/en-US/7.3/ldap/tldapinput-tldapoutput-tmap-tlogrow-configuring-components-standard-component-in
Best regards
Aiming
The way you've described, the name,value of the LDAP Attribute being modified has to come into the component as a column (so it can be selected in the advanced settings page.)
For the joblet to be most useful, the name of the LDAP attribute needs to be passed in (e.g. globalMap.get("LDAPAttribute_Name", or a similar column), the desired value would also come in as a globalMap or column ("LDAPAttribute_Value").