You need to sign in to do that
Don't have an account?
Ryley Hayes
Opening Console Tab from App Level Component
I have an App Level Consoler Component (the ones in the footer), which is just a basic VisualForce page with Javascript from the Console Integration Toolkit.
<apex:page>
<apex:page>
<apex:includeScript value="/support/console/22.0/integration.js"/>
<script type="text/javascript">
function OpenPrimaryTab() {
sforce.console.openPrimaryTab(null, 'http://www.salesforce.com', true, 'salesforce');
}
</script>
<apex:form>
}
</script>
<apex:form>
<apex:commandButton value="New Contact" onclick="OpenPrimaryTab()"/>
</apex:form>
</apex:page>
Clicking that button from the Console Component does nothing though.
Clicking that button from the Console Component does nothing though.
Please check below blog. I hope that will help you:-
http://amitsalesforce.blogspot.in/search/label/Console
If you want to open the record in New Window then please try below code:-
Include JS in VF page
Write below Java Script code in VF page
Then use below link to open new record .
Please mark this as solution if this will help you.
Thanks,
Amit Chaudhary
amit.salesforce21@gmail.com
Please mark this as solution if this will help you.
Thanks
Amit Chaudhary