In lightning you are not able to do URL hacking. In order to do any prepopulation of fields, it is suggested to use a quick action.

If we have a related list object and we are trying to prepopulate the object of the related list, we would make a quick action and remove the "New" button. However, to a user, this will probably be very confusing since sometimes the new button is on the related list, sometimes you have to go to the top right/highlights panel to find the quick action button. Is there anyway to standardize both quick action and "new" button?

The link below mentions that it is not possible to put the quick action onto the related list.


I thought about the idea of overriding the "New" button to call a quick action, but that doesn't seem to be possible.

Any suggestions is greatly appreciated!


According to the release notes you can override standard actions like the new button in the summer 17 release. I think the release is schedule for the coming weekend!

Another option for you could be to wrap your component in a VF page and override the button with that page.

| improve this answer | |
  • Seems like a lot of development work for something as simple as prepopulating a couple fields. It went from extremely simple in classic to overly difficult. – Ktruong Jun 8 '17 at 21:58

This is not possible at the time of posting this answer. Please vote for this idea.

| improve this answer | |

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.