Sending Email and Setting Default value

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
meduser
User
Posts: 6

Sending Email and Setting Default value

Post by meduser »

Hello,

  1. We are designing a task management system and would like to use the Send Mail event to send an email to the person assigned a task.
    The task table has a link to the employee table (via emp id). We want the email content to include details of the current task and send a cc to the Supervisor
    (reports to field). We could not figure out how to do that from the documentation.

  2. Also, how do we assign a default value to a field when the form is first loaded? If we use Auto Update in the field - the field becomes hidden

Thanks
Ron


motfs
User
Posts: 258

Post by motfs »

  1. Use Email_Sending server event to add the content. You can use ew_ExecuteScalar() to run your SQL to check the supervisor and modify the cc:

Email.Cc = "<supervisor>";

See Server event and Client script -> Email_Sending (Example) in help file.

  1. Add [Default Value] to the field. See Field Setup -> Add Page -> Default Value in help file.

meduser
User
Posts: 6

Post by meduser »

Great - that helped, thanks.

One more question - is there any more documentation besides the help file or example/demo projects?

Thanks
Ron


motfs
User
Posts: 258

Post by motfs »

Per my understanding, the help file is the only documentation.


Post Reply