You need to sign in to do that
Don't have an account?
Mohan Reddy 80
how to navigate to record create page with default values from parent record using navigation
How to navigate to record create page with default field values.
e.g. contact create page qith default account id and any other lookup fields(from lookup field in account to lookup field in contact) using lightning:navigation
e.g. contact create page qith default account id and any other lookup fields(from lookup field in account to lookup field in contact) using lightning:navigation
Do let me know if it helps you and close your query by marking it as solved.
Regards,
Santosh
Thanks for the reply. I want to populate lookup field with out hardcoding the record id.
Just fetch the id from the variable wherever you are storing in recId and the code will work for you.
If it has helped you mark the answer, so that it will help others as well.
Regards,
Santosh