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.


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

  • 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 '17 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 '17 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.