How to fetch any list path

I have created custom notification for Note,
when some one create note, notification sent via mail/telegram
and in that notification i want to add path of that particular note,
so how to fetch that individual path of particulate list

Example :

{{doc.name}}

Hi @nilpatel42:

Use this:

frappe.utils.get_link_to_form(doc.doctype, doc.name)

Hope this helps.

Thank You @avc

It’s not working for me, i tried in notification and Print Format also
Its show same in output

Hi @nilpatel42:

Can you show up how exactly are you trying to do this?
Some screenshot would be helpful

Thanks

@avc

this is notification Message field SS

Hi @nilpatel42 :

Use brackets:

Goto: {{ frappe.utils.get_link_to_form(doc.doctype, doc.name) }}

Hope this helps.

1 Like

It’s Working

Thank You @avc

1 Like