You need to sign in to do that
Don't have an account?
Taukappa01
sforce.apex.execute
Does this:
var result = sforce.apex.execute(.....)
produce a page hit when it is called on a Site page?
Thanks!
var result = sforce.apex.execute(.....)
produce a page hit when it is called on a Site page?
Thanks!
bob_buzzard
Do you mean does it consume the page views limit? Or does "produce a page hit" mean something else? I wouldn't expect a page hit, as you are accessing the SOAP endpoint rather than a page on the site. It wouldn't surprise me if it consumed an API call, but I can't find anything that suggests this is the case in the documentation.
Taukappa01
I also can't find any documentation of it counting against page view limits. We are experiencing unusual volume of page views counting against us and not being reflected in google analytics. But, Salesforce "Page Views" are off the charts. They can't explain it either.
Rahul Sharma
Any reason, why you are not using JavaScript Remoting instead of AJAX toolkit?
AncaComaneciu
Hello, I am facing the same issue. Did you found any answer to this question?
Taukappa01
I didn't not find an answer. I had to change the code to only hit that exceute when necessary. I dropped the page hits by 90+% by only calling it as needed, unlike the original loop the code (not my code) was in. :)
AncaComaneciu
Ok. Thank you.