You need to sign in to do that
Don't have an account?
nagalakshmi
How to know the vf page is running from Service console
Hi,
I am redirecting to record url when the submit button is clicked from vf page. This is working fine in non service cloud and service cloud.
But in service cloud, url is redirected to record and it is looking like non service cloud. It is coming out from service console. So i need to redirect to to the record of service console. How can i solve this issue.
Is there any direct method to know whether the console is service or not?? from apex class. Please help me out.Thanks in advance
Thanks,
Lakshmi
I am redirecting to record url when the submit button is clicked from vf page. This is working fine in non service cloud and service cloud.
But in service cloud, url is redirected to record and it is looking like non service cloud. It is coming out from service console. So i need to redirect to to the record of service console. How can i solve this issue.
Is there any direct method to know whether the console is service or not?? from apex class. Please help me out.Thanks in advance
Thanks,
Lakshmi
you can use this method in javascript "sforce.console.isInConsole()" to check whether its in console or not.
Alternate solution for this could be :
<script type="text/javascript">
function checkConsole() {
if (typeof(srcUp) == 'function')
{
return false; //yes in console
} else {
return true;
} }
Hope it helps!
Vivek