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
dmanidmani 

Change Owner Functionality code

Hi,

 

I need the code similar to Change Owner Link  next to Lead Owner.

 

My requirement is tat in a Lead detail page,  i do have a Custom Button called "Transfer" . On click of the button i need to redirect to a VF page where i need to change the lead Owner field. When i click on the lookup of Owner field which is a inputfield i can search the Users. But i need portal users and users with someother roles too to be included in search . How to achieve it . Kindly help me. this is a ASAP requirement. Thanks in advance.