• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to remove empty attribute(s) (only) in tLDAPOutput ?

#1 2010-11-16 17:10:23

goyome
New member
Registered: 2010-10-12
Posts: 1

How to remove empty attribute(s) (only) in tLDAPOutput ?

Hi,

As said in the subject, I'd like to delete one or more attribute(s) from an LDAP entry with the component tLDAPOutput. I went in Advanced Settings and checked USE_ATTRIBUTE_OPTIONS which allows you to delete an attribute or a value of your input row.
Unfortunately I don't know how to modify it dynamically depending on the content of the attribute. In fact I'd like to update my entries but when the attribute is null I want it to be removed and if I just use the attribute option "Replace" it's only updated or created if null before but not deleted if it became null.

The only way I can see to do it is to have an update for each of the attribute (around 30 at the moment) if the attribute is null with a filter before the input.
This option doesn't seem to be possible since it will increase the charge of the LDAP server by sending a request for each attribute deleted of each LDAP entry. I'd like to delete all the attribute of an entry in one request.

Does anybody have an idea to solve this problem ?
Thanks in advance for any idea.

Goyome

I'm using TOS 4.1.1 (java) on Ubuntu

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to remove empty attribute(s) (only) in tLDAPOutput ?

Board footer

Powered by FluxBB