Skip to main content

***reposting from another TB group to see if it gets better answers here**

 

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

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.

#Experience Cloud #Forms #Leads #NPSP #Triggers #NPSP TDTM #TDTM

2 Antworten
  1. 1. Sept. 2023, 23:45

    TDTM_Lead is actually an Apex trigger.  But you are correct, there are no out-of-the-box TDTM handlers for the Lead object.  The TDTM_Config_API class is not a TDTM handler itself, it's more of a dispatcher to the specific TDTM handlers.

     

    It sure feels like an object permissions error, even though you say you've set all the correct permissions.  You should not need to set permissions on the Apex triggers / classes since those are running in system context already.

0/9000