You need to sign in to do that
Don't have an account?

Trigger to extract filename ? - Help needed
Hey Guys!
Needed a bit help in this.
I am trying to upload some csv fiels in a custom object from Dataloader (bulk operation).
The filename of the csv is actually an employee number field of the user object.
While uploading this file in the custom object i need to extract that employee number (which is the filename) and make the record owner that user.
Can you help me out with how to code this thing in a trigger ?
Thanks a bunch !
Checkout the CSV Parser : http://wiki.developerforce.com/page/Code_Samples#Parse_a_CSV_with_APEX