function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sajiv Kartha 3Sajiv Kartha 3 

Custom page of Salesforce Classic causing issue in Lightning. Domains look different.


We have customized the Oppurtunity page and it is fine in the classic version.  Now, the lightning has enabled and we had a lot of issues.  One particular issue that still not fixed is this.

While saving an opportunity, in the classic mode, it redirects to the classif view and that is fine.  No issues in this
But, when we switch to Lightning and then save an opportunty it redirects to the classic view.

The URLS in both these are different.  While we are fine about controlling whatever is there for the classic mode, it is not clear about how to control for the lightning mode.

Here is the classic url
Here is the lightning url

However, the code is in the same place. 

We are trying to see how to get this working.. 

Could someone help pls...

Sajiv, Chennai

Hi Sanjiv,

Could please show complete code?