Your client needs to send out countless email notifications that are similar but could contain different fields such as pending order and final approval information to different settings/companies/customers . First we give the option to view and modify a default template that will be assigned to the current need.
For this project we use Telerik RadEditor controls, which make it easy to manipulate text and save changes to the database. We also make predefined fields available in a drop down and context menu for easy insertion and removal. These fields will be mapped to values in the database at run time depending on what the customer needs/chooses to display on the specific notification. The customer can then choose those fields from our drop down or click on the area where it needs to be inserted. In this case a little javascript goes a long way when inserting the values in the text editor. Take a peek at the OnClientItemClicked="InsertTextMessage" function.
Once everything is set up, we will use our friend SQL server to do all the dirty work and send out the notifications to the customer with the help of a stored procedure.
Here is what we get.
Amazing right! With a bit of work we can make everything easier for our fellow co-workers and thus help that pesky bottom-line.
No comments:
Post a Comment