Summary of Issue
- I received an Apex trigger error email when trying to create a lead as a Guest User from my Experience Cloud Site using the OOTB 'Lead Form' component in the Experience Builder.
EMAIL ERROR MESSAGE
npsp.TDTM_Lead : npsp.TDTM_Lead: execution of BeforeInsert caused by: line 33, column 5: Variable does not exist: TDTM_Config_API
Troubleshooting steps already taken
- I checked the list of all Table-Driven Trigger Management (TDTM)" Apex class handlers in the NPSP Settings > System Tools > Trigger Configuration
- NO class 'npsp.TDTM_Lead' exists.
- Class 'TDTM_Config_API' does exist, but it is not available as a Trigger Handler setting to disable.
Additional context/details
- I have implemented a 'Create a Lead' Form component in my Experience Cloud Site for Unauthenticated Guest Users. I mapped the required field and some other fields within the component from the Experience Builder.
- I configured all the necessary S&S / permissions and other setup steps needed, then published the site.
- We have NPSP installed.
- The Experience Cloud Site with the Lead From is for Guest Users to create Leads.
3 answers