I am trying to send the PDF of Sales Invoice to Customer using Whatsapp API . For this I need a public URL of the PDF.
How can I get this link ?
My ERP Next is hosted on frappe cloud. I have to use Server Script from front end UI.
I am trying to send the PDF of Sales Invoice to Customer using Whatsapp API . For this I need a public URL of the PDF.
How can I get this link ?
My ERP Next is hosted on frappe cloud. I have to use Server Script from front end UI.
Tried many ways - Error which I get:
{
“exc_type”: “PermissionError”,
“_server_messages”: “[“{"message": "User Guest does not have doctype access via role permission for document Sales Invoice", "title": "Message"}”]”,
“_error_message”: “No permission for Sales Invoice”
}
Hi there,
There is no public link because these aren’t public documents. You could make them available to Guest users (I.e., everyone) in the role permission manager, but make sure you’ve thought through the privacy implications of that.
Why can’t you use the attachment (multipart/form-data) function?