function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sean RockSean Rock 

Include a custom value when creating a lead


Hi

On my client's registration form there is a checkbox to subscribe to the newsletter. They want to include the selection when creating a new Lead. I've generated the wsdl to create a Lead however I don't see how I can add a new property.

Is that possible and if Yes, how can I include this value when creating a Lead.

Thanks.
Sean
ShirishaShirisha (Salesforce Developers) 
Hi Sean,

Greetings!

You need to have the field to map the value of the custom value which you are trying to include while creating the Lead record.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
Sean RockSean Rock
Thanks for your reply.

How does one "map the value of a custom value"?

Thanks.