Skip to main content
I am Updating Static URL for our Visualforce pages to migrate into Lighetning, after updating the below listed formula i am getting Error on Console in Classic that URL No Longer Exist, can some body why it's breaking in Classic Console.

Classic VF page Formula :

<a href="javascript:void(0);" onclick="determineIfCaseShouldOpenSubTab('{!ctiCase.Id}', '{!ctiCase.CaseNumber}');"><apex:outputText value="{!ctiCase.CaseNumber}" /></a> 

New Updated Static URL :

<apex:outputLink onclick="determineIfCaseShouldOpenSubTab('{!URLFOR($Action.Case.View,ctiCase.id,[CaseNumber=ctiCase.CaseNumber])}');" >{!ctiCase.CaseNumber}</apex:outputLink> 

 

I want to update formula it should work for both, getting error. Can someone help?

 
2 Antworten
  1. 5. Apr. 2019, 12:25
    Thanks Raj for you reference, but these are methods we need to use when we build our VF page completely lightening, I just want to use my Existing VF page for lightening experience, if you have any idea how we can same implement on VF page it should works for both lightening and Classic.