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
dbalke1.3880741030651309E12dbalke1.3880741030651309E12 

mini console page layout visualforce page

Hello!

I am trying to create a visual force page for the primary sidebar on the salesforce console for the accounts page. I would like Opportunities to show up within the account on the side of the console. This is what I have so far and it appears that when I go to the console, the tab is blank:

<apex:page StandardController="Account">  
      <script type="application/javascript">
        window.location = '/{!account.Opportunities};
    </script>
</apex:page>

I was trying to follow this guide, but it did not work. http://blogs.salesforce.com/product/2013/05/the-service-cloud-console-0-click-data-with-custom-console-components.html 

Can anyone help me to get the right coding in for my visualforce page or point me in the right direction where I can find customizable code for the salesforce console. Any help would be great. Thank you!

Dawn
coolgia136coolgia136
Hi Dawn,

When working with Salesofrce Console- you need to use the Salesforce Console API to be able to create a vf page that can talk to the console tabs and display related data on the console custom component.

I would suggest you to go through the following Console API guide : http://www.salesforce.com/us/developer/docs/api_console/index.htm

There are multple code snippets in this guide which will help you understand the basics.