You need to sign in to do that
Don't have an account?

Home Page Component - Redirect?
Hey all,
There are two functions I am attempting to perform, the first of which is the desired and the second of which is the "I'll settle for it" option.
Is it possible to:
(1) Create a custom home page component (sidebar) of some sort that invokes and posts data to a VF page in the MAIN BODY of the screen (i.e. it doesn't render it in the sidebar itself.)?
(2) Create a custom home page component (sidebar) that simply causes the ENTIRE PAGE to refresh (not just the component in the sidebar)?
Here is the code for an example of #2:
How can I accomplish this?
There are two functions I am attempting to perform, the first of which is the desired and the second of which is the "I'll settle for it" option.
Is it possible to:
(1) Create a custom home page component (sidebar) of some sort that invokes and posts data to a VF page in the MAIN BODY of the screen (i.e. it doesn't render it in the sidebar itself.)?
(2) Create a custom home page component (sidebar) that simply causes the ENTIRE PAGE to refresh (not just the component in the sidebar)?
Here is the code for an example of #2:
<apex:page standardController="User" extensions="Five9ScreenPop"> <script type="text/javascript"> function redirect(){ window.top.location.href("https://c.cs24.visual.force.com/apex/Five9_Select_Pop?ANI=9999999999"); return false; } </script> <apex:form id="searchForm"> <center><apex:commandButton value="Search Contacts & Accounts" action="redirect();"/></center> </apex:form> </apex:page>When this button is clicked the small little section of the home page component in the sidebar is what is redirected, not the entire page.
How can I accomplish this?


Please see if thiis helps: http://salesforce.stackexchange.com/questions/14125/clicking-on-the-custom-component-in-sidebar-should-load-on-the-same-page