There is a master detail relationship between Opportunity and Work Order with opportunity as the master. I have created a custom list button on Work Order related list that will create new Work Order and prefill some fields from Opportunity. Requirement is such that the user must be able to change the prefilled values if needed.
I referred the following:
By referring the example, I created the following formula:
/lightning/o/WorkOrder__c/new?defaultFieldValues=
Shoot_Start__c={!Opportunity.Estimated_Start_Time__c}
The field is not getting prefilled on clicking the custom button on Work Order related list. I am not able to find out why. Please guide.