TEXT function is not working for master-detail date fields when used in a custom button url (defaultFieldValues)
Salesforce says this works as designed.
Summary
The TEXT function returns no value for master-detail date fields when used in a custom button url.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected
Nov 30, 2026
Also open in Lightning Customization
Insert Link displays URL instead of Title
Solution ScheduledPlatform / Lightning CustomizationSpring '23Reported Mar 7, 202350 reports50reports
Summer '24 - Formula fields in Lookup Advanced Search do not support IMAGE, HYPERLINK, BR operators
Solution in ProgressPlatform / Lightning CustomizationSummer '24Reported May 22, 202440 reports40reports
Managed-package LWCs on record pages are compiled lazily and serially at first view, causing 60–110s of page load time
In ReviewPlatform / Lightning CustomizationReported Oct 8, 202614 reports14reports
Dynamic related list single won't display polymorph lookup fields
In ReviewPlatform / Lightning CustomizationReported Jan 12, 202611 reports11reports