+ Start a Discussion

how to replicate the look and feel of change owner to custom lookup field on a custom object

Hi All,

I have a requirement to bring up the same look and feel for a custom look-up field (Faculity) (lookup to user object) similar to record owner change. I mean, we would like to have a similar page opened like record owner change, when a user clicks on the Faculity custom look-up field instead of standard user look-up page. Also the Send notificaion email button should send an email to faculity if its marked true.

record owner change​ page 
User-added image
We would like to have above page opened, when an user clicks on the Faculity look-up field .
User-added image

Any thoughts would be highly appreciated...!!!

Thanks in advance ...!!!
Hi Vamsi,

Like this.Well it is not exactly like that.But close to.
<apex:outputLabel styleClass="label">Owner: </apex:outputLabel>
            <apex:outputText value="{!Account.Owner}"/>&nbsp;
            <apex:commandLink action="{!ChangeOwner}" value="change" immediate="true"/>
Style class:

Let us know if you have any issues.

Mark it as best answer if it works.