You need to sign in to do that
Don't have an account?
bensondaniel
Using Salesforce Toolkit in Home Page Component
Hi All,
Apologies, this is not exactly a Visualforce question, but I dont know where else to put this.
I would like to know if there is a way to use Salesforce toolkit from the Home page Component.
Description:
Setup->Customize->Home->Home Page Component
I know that salesforce allows to insert custom HTML into components.
I am trying to run a javascript code which does AJAX (Similar to Javascript in Buttons)
e.g. sforce.apex.execute
The idea is to access an apex method via javascript from here.
Please help!!!
Thanks in Advance
This is what I am trying from my 'HTML AREA'
<script src="/soap/ajax/19.0/connection.js" type="text/javascript"> </script>
<script src="/soap/ajax/15.0/apex.js" type="text/javascript"> </script>
<script>
var ab = sforce.apex.execute("ClassName","MthodName",{Param:'Welcome'});
</script>