+ Start a Discussion
bakul.patelbakul.patel 

Name link to custom VF page

Hi,

I have a VF page for custom object, which is parent object to many other children objects.

These children objects have lookup field to parent object.

So, there when child record is created, name of parent record appears on the page layout.

When you click on that link, it takes you to standard layout of the parent object. Instead of that, I want to take user to custom VF page that we have developed for parent object.

 

Can anybody tell me how to do that?

 

Thanks,

Bakul

Best Answer chosen by Admin (Salesforce Developers) 
ShaTShaT

Hi Bakul ,

 

Create a visual foce page for that object  and bind the values and override the view button.  It will dislay as is is dispaled for standerd page. 

Put a javascript onclick event and open desired page.

 

 

Thanks

Shailu