I am afraid that it is not possible to import apex class using Data loader because data Loader is used to export/insert/update/delete data in your organization, anything that a person does manually i,e. prepare a sheet and load the data given by the client etc.
It is just a tool to interact with your database and do manipulations.
You can deploy Apex classes and triggers between connected organizations, for example, from a sandbox organization to your production organization. You can create an outbound changeset in the Salesforce user interface and add the Apex components that you would like to upload and deploy to the target organization. To learn more about changesets, see “Change Sets” in the Salesforce online help.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too
Thanks and Regards, Deepali Kulshrestha www.kdeepali.com
Data Loader, as the name alludes, will only push (or pull) data from your environment.
For deploying an Apex Class, changesets or deployment tool such as Gearset.
Regards
Andrew
I am afraid that it is not possible to import apex class using Data loader because data Loader is used to export/insert/update/delete data in your organization,
anything that a person does manually i,e. prepare a sheet and load the data given by the client etc.
It is just a tool to interact with your database and do manipulations.
You can deploy Apex classes and triggers between connected organizations, for example, from a sandbox organization to your production organization. You can create an outbound changeset in the Salesforce user interface and add the Apex components that you would like to upload and deploy to the target organization. To learn more about changesets, see “Change Sets” in the Salesforce online help.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too
Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com