You need to sign in to do that
Don't have an account?
S b 25
I want to map fields like we do in dataloader in visualforce page
Hello,
When we use dataloader, after selecting the file, it will ask for a custom mapping where we select the right fields and then load the data.
Is it possible in visual force ? Any thoughts would be appreciated.
So basically, when we click on select file from a visual force page to bulk load the data, it should ask for custom mapping where we can map the fields and then load the data.
Thanks in advance !
You can achieve this in visualforce page by using a List of wrapper class in controller extension having size and first variable as CSV headers you have parsed, and then you can use the selected Sobject fields to save the file.
I hope this clears your doubt.