New Opportunity Button URlHack

PHOTO EMBED

Thu Dec 25 2025 16:42:46 GMT+0000 (Coordinated Universal Time)

Saved by @Davis249

/lightning/o/Opportunity/new?
recordTypeId=012Uh00000HlNozIAF
&defaultFieldValues=
AccountId={!Account.Id},
ContactId={!Contact.Id},
StageName=Prospecting,
Opportunity_Entered_Date__c={!TEXT(TODAY())},
CloseDate={!TEXT(TODAY() + 30)}
content_copyCOPY

This worked in my Omni Environment, allowing the Sales team to create new opportunities, autofilling the Account/Contact/Default StageName/Opportunity CreatedDate/CloseDate.

https://omnifiber2--austindev3.sandbox.my.salesforce-setup.com/lightning/setup/ObjectManager/Opportunity/ButtonsLinksActions/00bUh00000AYVy5IAH/view