0

I have an exposed apex class and it is working becaues it's inserting test records. However, I'm not able to see anything in the dev console where the apex method was called.

Is there a specific configuration you need to have on your dev console to see exposed apex methods called?

2
  • do you mean logs are not showing up? Commented Jun 1, 2020 at 21:21
  • how are you calling the apex method to test? Commented Jun 1, 2020 at 23:43

2 Answers 2

3

Click on Debug, and uncheck Show My Current Logs Only. You'll get logs from other sessions, not just the current browser session.

1
  • Thanks sfdc fox. It was actually that I had to do a couple things. Will post the answer below.
    – thinker
    Commented Jun 2, 2020 at 13:43
1

@sfdcfox is correct that Show Current Logs Only is an option that needs to be unchecked. However, you also need to do a couple things.

  1. Make sure your site that is being referenced by the webhook has access to the Apex Class. This is done in your sites public access settings.

  2. Make sure that you also have a debug log set up for the site guest user that is running the method when it is called by the webhook.

Thanks for the help. This community is great!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .