The best practice is to bring data from AD over to vendor form, then push that data as it is on a regular form (staging), do all these validation on staging form.
You have to build your logic like when your data is being pushed to staging form for every record you have to query vendor table such that manager's dn equals diastinguished name and set the manager login I'd as Manager's login equal unique attribuye of AD (sAMAccountName or uid). Now when you will push this managers I'd to people form, for the first sync certain records will error, those will be the ones whose manager record is not created before the reportees record is getting created. After second sync all managers should go in successfully. Regards, Aditya ------Original Message------ From: rajkiran Alle Sender: Action Request System discussion list(ARSList) To: arslist@ARSLIST.ORG ReplyTo: arslist@ARSLIST.ORG Subject: Active Directory Integration Problem Sent: Mar 21, 2013 4:03 AM Hi, I am developing code for data in AD to sync with People record. So in that process i am struck with a small problem. I created a vendor form to bring the LDAP data and creating a escalation to push new records into People form. But in the vendor form i only have a Manger name but i don't have a ManagerLoginId, which i need to push into People record. If i try to Push just the Manager Name leaving Manager Login Id to Null its throwing a error. Its working fine if i leave both Manager Login ID and Manger Name to Null. But i do need to get both of them to complete this task. So can you give me some ideas to get pass through this problem. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years" Sent from my BlackBerry® smartphone from !DEA _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"