You need to sign in to do that
Don't have an account?
MayankAdm
CLI Integration
Hi,
I have csv file which contain Account and contact data for categorizing this 2 object there is column name "Corporate" which have Boolean value i.e. If Value is True than Insert Account If value is False than Insert Contact
How to achieve this things through CLI
Please help me out
Thanks
mayank
I would suggest you to inmport your file first into a database and separate the records into 2 diff tables an then use those tables to import records into sfdc...you can connect SQL server/ ORacle with dataloader cli.
Alternately, (This is not a best practice)
You can define 2 validation rules.
1) On Account object : Give error if Corporate is false
2) on Contact object : give error if Corporate is true
and use the same file for import.