Customise E-mail from Notification Event Designer

Last post 04-30-2008, 10:17 AM by FaccendaK2. 10 replies.
Sort Posts: Previous Next
  •  12-14-2007, 9:48 AM 20503

    Customise E-mail from Notification Event Designer

    Hi,

    I am trying to modify the look and feel of the notification that gets sent to destination users for a client event from BlackPearl. The Email look and feel has the standard K2 black and green theme. I was wondering if there is a global template/stylesheet for Email that I could modify to customise the look and feel.

    Need to resolve this rather urgently so any suggestions would be welcome.

    Thanks,

    Kapil 

     

     

     

  •  12-14-2007, 2:59 PM 20511 in reply to 20503

    Re: Customise E-mail from Notification Event Designer

    Take a look at the SourceCode.EventBus.ClientRecorder.DLL.mailTemplate file in the Host Server\Bin sub directory of the blackpearl install directory.
    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
    Filed under:
  •  12-18-2007, 6:54 AM 20553 in reply to 20511

    Re: Customise E-mail from Notification Event Designer

    Hi David,

    Thanks for pointing me to the mail template. I tried making some modifications to it, however the notification wizards don't seem to pick up the changes. Is there some way we can update the mail template so that notification wizards pick them up . It would be a lot easier to design the html for the email in an editor such as VS than use the control provided within the notification wizard. However these changes aren't getting reflected. Any suggestions? Or is there a way to post some html into the control directly?

    Thanks,

    Kapil 

     

     

     

  •  12-18-2007, 9:12 AM 20557 in reply to 20511

    Re: Customise E-mail from Notification Event Designer

    Hi David,

    Thanks for pointing me to the mail template. I tried making some modifications to it, however the notification wizards don't seem to pick up the changes. Is there some way we can update the mail template so that notification wizards pick them up . It would be a lot easier to design the html for the email in an editor such as VS than use the control provided within the notification wizard. However these changes aren't getting reflected. Any suggestions? Or is there a way to post some html into the control directly?

    Thanks,

    Kapil 

     

     

     

  •  12-18-2007, 5:06 PM 20570 in reply to 20553

    Re: Customise E-mail from Notification Event Designer

    I think I misunderstood your question.  I thought you were talking about the automatic notifications that go out when you check the notification box in a client event. 

    If you are instead referring to the notification designer in the workspace, then there isn't a template--it uses whatever you put in the wizard.  I don't think there is an easy way to include HTML generated elsewhere, but I like your idea of being able to paste HTML into the control. 

    If you're up for a little custom work, you could create your own custom event assembly that could implement some sort of templating mechanism for email.

     David


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
    Filed under:
  •  01-02-2008, 5:06 PM 20830 in reply to 20511

    Re: Customise E-mail from Notification Event Designer

    Is there a specific way in which you need to modify this file?  I modified a few of the colors in the code and saved the file but it is not being reflected in new notifications.

     Jason


    Thanks,
    Jason Thrasher
  •  01-02-2008, 7:32 PM 20834 in reply to 20830

    Re: Customise E-mail from Notification Event Designer

    It should pick up the changes you made to the template when the next notification is sent.  If not, try restarting the K2 [blackpearl] service.

     David


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  01-02-2008, 8:45 PM 20838 in reply to 20834

    Re: Customise E-mail from Notification Event Designer

    I restarted the host server but it still doesn't show the updated email tempate
    Thanks,
    Jason Thrasher
  •  01-30-2008, 8:07 AM 21537 in reply to 20838

    Re: Customise E-mail from Notification Event Designer

    We have the same problem here with the form template not being saved. If any of you have got it resolved I would please like to hear about it?

     


    Gerhard
    -----------------------------------------------------------------------------
  •  01-30-2008, 3:32 PM 21560 in reply to 20838

    • mattm is not online. Last active: 09-22-2008, 5:46 AM mattm
    • Top 75 Contributor
    • Joined on 08-20-2007
    • Ft. Lauderdale, FL
    • Posts 51
    • Points 122

    Re: Customise E-mail from Notification Event Designer

    Since the notification has already been created, any changes to the mail template will not be picked up. 

    Try rerunning the Clent Event that is generating the email you wish to change.  I believe that the notificaiton is refreshed when the wizard is run that is generating the mail event.  It should pickup the new changes in the MailTemplate.

    If that doesn't work, you will need to create a new Mail Event in your process due to the notification being created when the event wizard is run for the first time.
     

  •  04-30-2008, 10:17 AM 23483 in reply to 21560

    Re: Customise E-mail from Notification Event Designer

    You can simply delete the notifications and do not have to create new events or delete your existing mail events.

    Remove any existing notifications for your WF that you want to change the template of from K2 workspace >>  Custom Notification Events >>  WorkFlow Notifications >> Runtime events - small drop down arrow on right hand side.

     

    Update SourceCode.EventBus.ClientRecorder.DLL.mailTemplate with your new design.

     

    Redeploy your workflow and you should see the changes

View as RSS news feed in XML