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

Custom 'Change Owner Link' for Lightning?

As the standard approach(mentioned below) is not applicable for Custom Object.
<apex:outputLink value="{!URLFOR($Action.Account.ChangeOwner,}">Change Owner</apex:outputLink>

I have a visualforce page implementing a change owner link for a custom object similar to below.
<apex:outputLink value="{!$}/a?retURL=%2F{!$}"> [Change] </apex:outputLink>

First Approach works in Salesforce classic but breaks in lighting saying 'The page is not available in lightning'.

Is there a way to make the change owner link work in lightning?
Maheshkumar Selvaraj 10Maheshkumar Selvaraj 10
check this link: