If there are errors during the submission of a S4S Configured Experience Form, the the data for the form will be recorded for reference in 2 ways:
1. The Sitecore Log File
Data for the form will be written to the Sitecore log file by default. The information will include the Salesforce SObject that data is being submitted to, the Salesforce API field names and the data which was submitted for each field.
2. Email
There is the option to configure an email server in the S4SMapping.config file:
<sitecore> <settings> <setting name="FuseIT.S4SMapping.ConnectionString" value="S4SConnString" /> <!-- Aliases for multiple connection strings --> <setting name="S4SConnString" value="Default Org"/> <setting name="S4SOtherOrg" value="Other Org"/> <!-- Email Error Settings --> <!-- Port number of the SMTP server. --> <setting name="S4S.SMTP.Port" value="25" /> <!-- Domain for logging into SMTP server. --> <setting name="S4S.SMTP.Server" value="serverName" /> <!-- User name for logging into SMTP server. --> <setting name="S4S.SMTP.UserName" value="" /> <!-- Password for access to SMTP server. --> <setting name="S4S.SMTP.Password" value="" /> <!-- Use SSL. --> <setting name="S4S.SMTP.EnableSsl" value="false" /> <!-- Senders email address. --> <setting name="S4S.SMTP.From" value="from@mydomain.com" /> <!-- Email address for error recipient. --> <setting name="S4S.SMTP.To" value="admin@mydomain.com" /> </settings>
The information that is emailed will include the Salesforce SObject that data is being submitted to, the Salesforce API field names and the data which was submitted for each field.
Next Step
Steps
- Configure Multiple Salesforce Orgs
- Create New Sitecore Experience Form With S4S Submit Action
- Set S4S Field Mappings for Sitecore Experience Form
- Custom Submit Action
- Error Handling
- Working with Converted Leads
- Working with Salesforce Duplicate Rules (S4S Experience Forms)
- Hidden Field Functionality
- Custom Form Controls
- Custom Form Controls - Save to Salesforce
- S4S Save to Salesforce Submit Action
- S4S Identify Sitecore Contact Submit Action