function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VRKVRK 

Custom button URL hack - can prepopulate other lookup fields . Issue with Date format issue

Hi All,
I can able to prepopulate other lookup fields . But getting issue with Date format .

My expected result date is : 31/03/2022 
But when i test it, it is displaying As  20/03/2031.
Its date format issue....

Pls check below my code ..


/lightning/o/Resourse__c/new?&defaultFieldValues=
Capability__c={!OpportunityLineItem.Id},
Resource_Start_Date__c={!Opportunity.FR_Start_Date__c},
Resource_End_Date__c={!Opportunity.FR_End_Date__c},
Opp_Engagement_Type__c={!Text(Opportunity.Engagement_Type__c)}

Pls let me know is there anything wrong on this
Thanks
PriyaPriya (Salesforce Developers) 
Hey VRK,

Can you please provide the complete  code.

Thanks!