I am using importToList to import a list of leads from a csv file. The process is successful and any new leads are added to the list. However, new information on existing leads is not updated. I have selected UPSERTLEADS as my importListMode.
Thanks for the reply. Those are good suggestions but I don't think they are the my current issue.
I checked the blocked field status on the fields I'm uploading yesterday. According to the field manager there are no sources that updated are being blocked from.
The UPSERTLEADS is the importListMode to pass when updating existing leads and adding new leads in one list. The LISTONLY mode only adds new leads. This is probably the most confusing point because the example code uses UPSERTLEADS mode and seems to work fine when changing data to update a lead.
Do you have any other suggestions? I appreciate the help.
I tried running getImportToListStatus and saw that the rows in my test file were failing import which would explain why the changes to data were not reflected in the list. I sent test strings through (bi-passing the csv reader) which imported successfully. I deleted the test strings and ran the program again. This time the rows from the csv reader were imported successfully. I made no other changes to my main class than removing the test rows.
Is there way to return more detail in the output from getImportToListStatus on failed rows?