I have Created New Button Action or Link in Contact Object ,if i click the Custom button,i will Link to the Accountid of the Particular contact,after clicking the button i will redirect to Account Page enter image description here

But if Click the Button it is Not redirecting,it is Looping How to Rectify the Issue

  • Try /{!Contact.AccountId__c }
    – Devendra
    Aug 25, 2016 at 11:06
  • @Devendra why we have to give /
    – user30475
    Aug 25, 2016 at 11:11
  • 1
    @cloudcomputinginsalesforce It is a HTML relative-URL naming convention. Aug 25, 2016 at 11:57

1 Answer 1


Create one custom formula field on Contact which will capture AccountId. and then you can use this field in URL of a button.

enter image description here

  • why we have to use / infront of the formula
    – user30475
    Aug 25, 2016 at 11:21
  • why we have to use Custom field , without using this Field it is Not Possible ah?@Devendra
    – user30475
    Aug 25, 2016 at 11:26

You must log in to answer this question.