function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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.




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>
var ab = sforce.apex.execute("ClassName","MthodName",{Param:'Welcome'});