Open Child Form from parent form and prepopulate field in form javascript dataverse power apps

you can open a child table form and prepopulate field in child from parent record, use the below code. Here I am opening student enrollment form in create mode with prepopulate student lookup and other details.