I am trying to add a list button to the related list section(custom Object) of Account page and upon save ,it should bring the focus back to the related list section Please find image below of the related section from an Account view page. Relationship is a custom object . Idea is to add a list button called "Create New Account" from the related list as shown below. enter image description here

I have created a list button and added the below as the button url. /001/e?retURL=/{!Account.Id}&RecordType=012280000001xmx&ent=Account&saveURL=/{!Account.Id}#{!Account.Id}_00N28000009zLC7_target

Upon saving it returns to the parent account page ,instead of the related list section. Please advise.I would rather want the user to be redirected to the related list section which is (Relationship in this case) instead of the account detail page.enter image description here

  • from the URL in your button code, saveURL seems redirecting it to Account page from where it initiated. I don't think you will be able to redirect user to related list section of newly created account. – Nitish Singhal Jun 6 '17 at 2:56
  • The landing page is the Account detail page.The url is cs57.my.salesforce.com/… 0010k000003dBPg is the account id and and an arbitrary new id is created which is 0010k0000058Wmn. – Hara Prasad Sahoo Jun 6 '17 at 3:27

Your Answer

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

Browse other questions tagged or ask your own question.