You need to sign in to do that
Don't have an account?
Duncan_Stewart
Can a Service Console page open from an external URL?
I'm trying to replace a custom Console written in VF with just the VF search component and then direct the user into a Service Console app where they can view the Contact details and/or create/edit a Case, etc. The VF-only console provided a search facility which then dropped you into a Case Edit detail, but now the browsers no longer allow a visual.force.com url to open a salesforce.com url within the same context.
The URL of the console detail page is straightforward, but you can only open a page in the console if you're already in the console. Does anyone know a way around this?
The URL of the console detail page is straightforward, but you can only open a page in the console if you're already in the console. Does anyone know a way around this?
Have you tried using these features of the Saleforce Console Integration toolkit ?
(http://www.salesforce.com/us/developer/docs/api_console/api_console.pdf)
isInConsole()
generateConsoleUrl()
openConsoleUrl()
Hope this helps!!
If this helps,please mark it as best answer to help others :)
So potentially the generateConsoleURL() and openConsoleURL() methods would be better. I tried the examples for IsInConsole() and generateConsoleURL() from the Integration Toolkit Developer's Guide, but I have not been able to obtain the results of generateConsoleURL() (which I associated to a button on Case) whether I access it from inside or outside the console.
Does anyone have an example using generateConsoleURL() that's been fleshed out a bit more than the example in the Developer's Guide?
This is how I implemented it in the sandbox:
Your Salesforce URL:
https://cs18.mysalesforce.com/console?tsid=02u2800000149Af#%2F500N000000CSc8j
Here:
https://cs18.mysalesforce.com/ - Salesforce URL (Production or Sandbox or Developer Org)
tsid - Your console app ID (Setup -> Build -> Create -> Apps) click the respective apps and see the apps id in the URL.
append your case id along with "#%2F"
500N000000CSc8j - Salesforce Case ID
https://cs18.mysalesforce.com/console?tsid={Tab.Id}#%2F'+{Case.Id}
Thanks