+ Start a Discussion

Java App - Update not working

Hi ,


There is a Java app for creating contacts and show list of contact. Email field is editable and update the same in Salesforce.


I am using below code to update email:


public void updatePerson(String idx,Person perso) {
        perso.email = "test@Rah";


But not able to make it dynamic so that it accept the edited email in the Java app field. Can anyone let me know how should i pass the edited email from JSP to controller?

Marko LamotMarko Lamot

salesforce email fields accepts only VALID email format .... which "test@Rah"  is not.

change test email address to be in right email format