Hi All,
When creating user from OTDS into Documentum, we need to save username in the format (Firstname middlename lastname) and if middlename is blank than (firstname lastname).
In the Resources - User Attribute Mapping tab I gave following format but is it not working and gives 500 error when I am consolidating the user.
%mvjs:function usernm(f_name,m_name,l_name){ if (m_name !== null && m_name !== "") return (f_name + " " + m_name + " " + l_name) else return (f_name + " " + l_name)}
In OTDS Attribute I am providing the attributes of AD - givenName,initials,sn
But if I simply pass %s %s %s in Format it is creating the user without error with the problem that if middlename is emply it adds spaces between first name and last name.