+ Start a Discussion
Rajat MahajanRajat Mahajan 

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 !