0

I have 2 custom objects (A and B), B have a loopkup field of A, so how to add custom link of B in object A's layout in related list.

1 Answer 1

0

You can create a formula field instead of custom link in object B and add in Object A

2
  • GI Joe, can formula field be used to run JavaScript, actually my custom link in Object B open up a new window where it calls apex class with one of the field value as parameter, will formula field can do that ?
    – user199354
    May 18, 2017 at 8:04
  • Yes it will! Suppose say you have a visualforce page and you want to call the page try like this HYPERLINK('/apex/yourvfpage?id='+{!account.id},'click me') try like this
    – GI Joe
    May 18, 2017 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.