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
MilanMilan 

Custom field in User'saccount

Hi,

 

We are trying to come up with an Application which will directly insert leads into those Salesforce user's who are interested in getting them. Thus we will actually insert leads into different user's account. As part of the lead insertion we want to pass our custom defined field data ? How would we do that ?

 

e.g: We want to pass a custom defined field called Custom__c along with other lead information fields. Now, since the different Salesforce users will naturally not have that field(and few more such fields), how will that work ?


Hope my question is clear enough.Any inputs will be appreciated,
Thanks,
Milan
NasipuriNasipuri
I think for inserting you are using "create" API.
 
We you are setting different properties value of the Lead object set the custom field value
 
as lead_object.setCustom__c("custom field Value")
 
Hope this will work fine.
 
Regards,
Dinesh Nasipuri