I want to create a custom button on parent record to add records in child object. I created the custom button with url for new child record on parent object but the parent name does not auto populate in the new child record edit mode and I have to enter it manually and then save the record. Is their a way to get this working.
Here is my code,
!URLFOR($Action.Rep_Expense__c.New,null,["00No0000000lFwWEAU"=Contact.Id],true)