Pergunta

We have a formula field against contact records in Salesforce that needs to be different based on whether the record is being viewed in the Sales Cloud or the Service Cloud Console.

Is there a way to detect whether you are running under Sales Cloud or Service Cloud so the formula can be substituted?

Foi útil?

Solução

I'm quite sure you cannot do this using a formula field. You can do this in custom code/controller by checking the URL parameter named isdtp , if you are in console it will be set to 'vw' or 'nv'.

Hope this helps.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top