+ Start a Discussion
KalyanLKalyanL 

Calling Apex class from JavaScript

I've a Home page HTML component (HTML & JavaScript) that calls apex web-services in SOAP and REST when a page a contact page displayed.  The question is this feature compatiable on PE and GE  when deployed as a managed package?

 

 

 

 

aalbertaalbert

Check out this section of the ISVForce Guide on API access in GE/PE orgs: 

http://www.salesforce.com/us/developer/docs/packagingGuide/index_Left.htm#StartTopic=Content/dev_packages_api_access.htm

 

Are you using the AJAX Toolkit to make that API call? You can’t use the Client ID with the AJAX Toolkit in custom JavaScript, S-controls, or anywhere in your app where its value would be exposed to the end customer.