Community

Feeds and csv parser with custom form on page "import"

Hello people, here is a little description:

The leads upload file must adhere to a strict format. The file must be in CSV format with double-quoted, comma-separated fields. The leads file must contain the following fields:
• Name
• Street address
• Postcode
• City
• Province
• Country
• Phone number
• Contact person’s Initials
• Contact person’s last name
• Contact person’s gender
• Contact person’s function
Before uploading, the user must enter a name for the leads group. The user should select the upload mode: replace, append or merge. If replace is chosen, all the accounts and contacts in the system that are associated with the same leads group, will be removed before adding the new leads. If append is chosen, the new leads are added, even if there are duplicates. If merge is chosen, new leads are merged such that if an account with the same name exists in the same leads group, the attributes of the account are replaced with the new data and if a contact with the same initials and last name exists, it is also replaced. If no contact with the same initials and last name exists, a new contact is added to the same account.

I need to create a csv parser. So, I created a content type "leads", use the "feeds" module and map the necessary fields. How can I add the replace, append and merge option on the import page? And is it possible to add a textbox to enter a name for the leads group? Can anyone help me on this please?

nobody click here