0

I have created custom button which is showing on detailed page and content behaviour is URL. My requirement is on account page there is two field there first one is name and another field is phone. When i click to custom clone button i need name should be available and phone number should be blank if this phone value is on record their.

/lightning/o/Account/new?&recordTypeId=01228000000SxLXAA0
     &defaultFieldValues=name={!URLENCODE(Account.Name)},{!Account.Phone}='' 

this thing is not working when i click it's opening blank form in lightning.

  • see this tutorial - you want phone='', not {!Account.Phone}='' – cropredy Sep 2 '20 at 4:09
1

Try Below:

/lightning/o/Account/new?recordTypeId=01228000000SxLXAA0&defaultFieldValues=Name={!URLENCODE(Account.Name)},Phone=

enter image description here

Pre-populate field values

Thanks,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.