Is it possible to create a client-side custom script that automatically pops up the email dialog box when a form is saved?
My specific use case is:
* Campaign form
* When form is saved, check if value of status field == "approved"
* If yes, then show email dialog
* If possible, prepopulate the reciepient field with the creator of the document, and if possible prefill the message and subject bodies
Thanks for any help in advance!
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Opening email dialog on saving of campaign form is not a good idea, as it will pop up multiple times whenever you will save it.
Rather you can add a custom button and on click of the button, open the email dialog box.
For coding help, refer sales_invoice.js file and check into on_submit() and refresh() function.
On 22-Jan-2014, at 8:09 AM, lxnow wrote:
Is it possible to create a client-side custom script that automatically pops up the email dialog box when a form is saved?
My specific use case is:
* Campaign form
* When form is saved, check if value of status field == "approved"
* If yes, then show email dialog
* If possible, prepopulate the reciepient field with the creator of the document, and if possible prefill the message and subject bodies
Thanks for any help in advance!
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Thanks Nabin. Although those solutions appear to require server access, which hosted solutions like mine are out of the pic. No worries, nto a biggie.
On Thursday, January 23, 2014 5:56:44 PM UTC+8, Nabin Hait wrote:
Opening email dialog on saving of campaign form is not a good idea, as it will pop up multiple times whenever you will save it.
Rather you can add a custom button and on click of the button, open the email dialog box.
For coding help, refer sales_invoice.js file and check into on_submit() and refresh() function.
On 22-Jan-2014, at 8:09 AM, lxnow wrote:
Is it possible to create a client-side custom script that automatically pops up the email dialog box when a form is saved?
My specific use case is:
* Campaign form
* When form is saved, check if value of status field == "approved"
* If yes, then show email dialog
* If possible, prepopulate the reciepient field with the creator of the document, and if possible prefill the message and subject bodies
Thanks for any help in advance!
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Wait for version 4! - then you can install apps on the hosted service too :)
On Friday, January 24, 2014 12:28:03 PM UTC+5:30, lxnow wrote:
Thanks Nabin. Although those solutions appear to require server access, which hosted solutions like mine are out of the pic. No worries, nto a biggie.
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Mayur development version is ready and all the current tests are passing.
We are just building the peripherals before we make it the master release - Pratik is on a leave till next Tuesday otherwise he was to setup a test login for everyone to test - the front-end is pretty much the same. I think the test login will be up next week for sure.
The biggest update other than apps is multi-tenant - so we want to include a queue manager inside webnotes to help manage tasks across multiple instances.
The other big thing is the app store. We are still thinking if we should release all of this at once or should we do it part by part.
Maxwell is already trying it out - I think you can start testing it.
best,
Rushabh
On Wednesday, January 29, 2014 6:43:02 PM UTC+5:30, MP wrote:
Hi Rushabh,
Any timeline on version 4 release?
Thanks.
Regards, Mayur
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Thanks Rushabh for an update. I will setup a test environment at my end and start testing it.
Kind regards, MP
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.