function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
lightning/o/Travel_Request__c/new?defaultFieldValues=Flight_Departure_Date__c={!Travel_Request__c.Flight_Departure_Date__c}
/lightning/o/Account/new?defaultFieldValues= Name={!URLENCODE(Account.Name)}, OwnerId={!Account.OwnerId}, AccountNumber={!Account.AccountNumber}, NumberOfEmployees=35000, CustomCheckbox__c={!IF(Account.SomeCheckbox__c, true, false)}
I found the below code that I think has a similar use case of populating default values can you please have a look at it once:
>> http://theblogreaders.com/url-hacking-back-salesforce-lightning-experience-spring-20-release/
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
https://newstechnologystuff.com/2020/01/20/default-field-values-using-lightning-web-components/
or you can refer formula
This was part of Spring 20 release. (https://newstechnologystuff.com/2019/12/18/salesforce-spring-20-release-notes-quick-summary/)
If this answer helps you, please mark it as accepted.
Regards,
Tushar Sharma
https://newstechnologystuff.com/