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

How to open a record in console from custom console component
Hi,
I had to create a custom console component. Which will display some cases based on some criteria.
Whenever a user clicks case record it should open in console. Can you please help in how to open record in console from custom console components.
The following is the sample visualforce code.

Thanks,
Naveen.
I had to create a custom console component. Which will display some cases based on some criteria.
Whenever a user clicks case record it should open in console. Can you please help in how to open record in console from custom console components.
The following is the sample visualforce code.
<apex:page standardController="Case" extensions="caseCon" sidebar="false" > <apex:form id="frm" > <apex:pageBlock title="Pnned Cases"> <apex:pageBlockTable value="{!pinnedCases}" var="cse" id="pBlk"> <apex:column headerValue="Case Number" > <apex:outputLink > {!cse.CaseNumber}</apex:outputLink> </apex:column> </apex:pageBlockTable> </apex:pageBlock> </apex:form> </apex:page>
Thanks,
Naveen.
Hopefully below code will work for you: Kindly let me know in case any query.
Please mark the answer as best if it helps.
Thanks
Thanks for response and help.
I tried using above code it resulting to following alerts but not opening the record.
I thought your component is embeded on the right side of detail page. It seems your component can open in any view(list or detail). So the above mentioned code would not work for you.
You need to explore below service console developer guide:
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_methods_tabs.htm
Through above guide you can do whatever you want.
Thanks,
Aman