I want to pass a variable or name to another doctype using set_route() but I could not found any option in the docs . is there any way to pass data from one doctype to another doctype.
let name = "John";
frappe.set_route(`/app/documents/new-documents`)
any help will be much appreciated
Thanks in advance
Thank you @Hardik_Gadesha. This works if I am trying to open an existing entry. However my challenge is that i want to route to a new page to create a new document.