How to redirect to particular page


i have create leave application notification which is sent to leave approver and its look like

when leave approver click on this link it redirect to

this page but i want when click on that link it redirect to that leave application page

this page
how to give this dynamic link
Please Help

@Rahul7218 Please write the link path like this

<a href=f"{{frappe.utils.get_url()}}/app/leave-application/{{doc.name}}">Open Link</a>

2 Likes

@Meet where insert site name

Open Link
This is properly working i have just remove f and double quotation
Thank you @Meet

@Rahul7218

frappe.utils.get_url() this function get auto fetch your site name which site have u generated

Thank You