Using the Sample Form, it will update the specific contact to be in only the lists that they actually check. So if the list the contact was originally in is not displayed on the form, it will remove them from those lists.
The best way to do what you are looking for would be to do a Search by email address for the specific contact, which will retreive the contact's ID. You can then do a GET in the Contact Collection URI with the Contacts ID, this will give you a list of the contact lists that the email address is assigned to. You could then add these to an area in your form, allowing customers to check them on or off, or do not display them, but you would be able to include them in the update.
The sample forms are more meant to show examples as to how to do various abilities with our API's; however, I do see how this could cause confusion, and I will submit this feedback to our engineering team for review.
... View more
I seem to be missing something, after I install (per step 8 fo the instructions) the ASP Net Sample Application, step 9 has me modify the ConstantContact.cs file in the App_Code folder, in order to modigy the list selection. The problem I have is that the install does not add the App_Code folder to the virtual directory UploadContactForm. I still see it in the original ASP Upload Forms folder, however, it doesn't seem connected to the new virtual directory. I've tried browsing the page from the ASP Upload Forms folder, to no avail, and I've tried importing the ConstantContact.cs file into the virtual directory, which doesn't work. I'm at a loss here, any help would be greatly appreciated.
Actually, I just figured it out. I moved the web folder from the ASP Upload Forms folder to the root, made it an app, edited the cs file and was able to browse the various pages. Any comments and/or suggestions would still be appreciated.
... View more