function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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 !