I'm using Lightning Experience. I have 2 objects, A and B. B has a lookup to A.
I need to create a new record on B when user clicks a button on A. I have created the button on A, but I can't figure how to pass values to autopopulate and link automatically the new record (B) with A.