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
Robert WynterRobert Wynter 

ampscript RetrieveSalesforceObjects to pre-populate fields with info we have on Sub

Can I somehow use RetrieveSalesforceObjects to retrieve the Lead objects fields then populate those field if exists. I have the retrive part now sure what I'd use to pre-file.
 
set @web = RetrieveSalesforceObjects("Lead", "Id","FirstName","LastName","MobilePhone", "Email", "=", @email)

 
NagendraNagendra (Salesforce Developers) 
Hi Robert,

Please check with below link from stack exchange community with similar issue and suggested workaround. Please close this thread by marking it as solved so that it gets removed from the unanswered queue and will be available as proper solution for others.

Regards,
Nagendra.