Change alert creation email template

Hi,
After creating alert in SP 2013 i'm getting mail something like this:
"Alert <ListName> has successfully been added on <MySiteName>.<o:p></o:p>
You will receive alerts according to the delivery method, timing and criteria that were selected when the alert was created.<o:p></o:p>
You can change this alert or any of your other alerts on the <My Alerts on this Site> page."
I want to change this email completely. I changed other templates in alerttemplates file, and it works fine. But i can't find this exact email template. So how can i change it? Where can i find it?
Thank you.

Hi,
Please Refer to the similar post.
http://sharepoint.stackexchange.com/questions/60547/sharepoint-2013-email-templates
Both the articles are based on SharePoint 2010 but still applicable to SharePoint 2013.
http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/14/how-to-customizing-alert-emails-using-ialertnotificationhandler.aspx
http://blog.zebsadiq.com/post/SharePoint-2010-custom-alert-template.aspx
Please mark it answered, if you problem resolved or helpful.

Similar Messages

  • Custom Alert Email Templates Issue - List Alerts emails not using customized XML alert template

    I have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed to a list using the "Alert Me" feature.  I
    have renamed the custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and
    restarted IIS.  Once users subscribe to the alerts using the list using the "alert me" function they received the customized email as intended. 
    We needed to auto-subscribe users to the email alerts so what I did was used a powershell script to add users to the alert subscriptions using the script shown in below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When I ran the script and added the users and restarted the service, all users who were auto-subscribed via this method would get the email without the customizations that were done in the custom template.  All users who manually subscribed to the list
    using the "Alert Me" function would get the customized email. 
    Does anyone know why users who manually subscribe would get the custom email alert and why users who were auto-subscribed using the powershell script do not get the custom email alert?

    Hi  ,
    According to your description, my understanding is that users who were auto-subscribed using the PowerShell script do not get the custom email alert.
    For your issue, it can be caused by the auto-subscribed alert email which is generated by PowerShell script is  using OOTB alert template. You can add the following script into your script for setting
    the alerts’ alert email template:
    $contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $AlertsTemplateCollection =new-object Microsoft.SharePoint.SPAlertTemplateCollection($contentService)
    $newAlert.AlertTemplate = $AlertsTemplateCollection["YOUR_UNIQUE_TEMPLATE_NAME_VALUE"]
    Reference:
    http://sadomovalex.blogspot.com/2012/03/one-problem-with-updating-alert.html
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Email Alert Template Issue - List Alerts (Alert Me) emails not using customized XML alert template

    We have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed using the "Alert Me" feature. We have renamed the
    custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and restarted IIS.  Once users subscribe to the alerts using the list "alert me"
    function they received the customized email as intended.
    We needed to auto-subscribe users to the email alerts so what we did was use a powershell script to add users to the alert subscriptions using the script shown below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When we ran the script and added the users and restarted the service, all users who were auto-subscribed via this method get the email without the customizations that were done in teh custom alert template.  All users who manually subscribed on their
    own to the list using the "Alert Me" function would get the customized email.
    Does anyone know why users who manually subscribe to the alerts get the customized email, and users who were auto-subscribed using the powershell script do not get the customized email and get the standard generic email template?

    Hi  ,
    According to your code, it create a new alert using SPUser.Alerts.Add() method. For this method, it will create a new alert based on the predefined alert template by default.
    If you only assigned the custom alert template to the list, users who manually subscribe to the alerts get the customized email, but users who were auto-subscribed using the PowerShell script get the standard
    generic email template.
    For your issue, you can set the new alert ‘s alert template:
    http://social.technet.microsoft.com/Forums/en-US/1b19c12f-fc37-48cf-8b59-6c09f095dc23/custom-alert-email-templates-issue-list-alerts-emails-not-using-customized-xml-alert-template?forum=sharepointgeneralprevious
    Here is a good blog you can have a look:
    http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Where to change notification email template?

    Do you know where to change the default template for the system-generated notification e-mails sent to users when they have a new instance in their worklist?

    Putting it in the right place is the key.
    I was on the wrong track following conf/* even though I found that file there to modify as noted by ruben and Oracle's response to my trouble ticket to them.
    Ariel's response on the associated forum linked by Dan was the correct answer.
    Getting the engine home dir from the Process Admin console and then just put the file there did it.
    Did not have to bounce the engine or WL even though I thought I had to when it did not work when done in conf/*. Did not have to do the -D.
    For those interested, Oracle's detail response on the file itself is an interesting read. Ignore the conf/* reference.
    "To customize it you have to edit the activityNotification.mail file located in
    the conf directory in the ALBPM installation directory (i.e. ~studio/conf or ~enterprise/conf).
    Copy this file to the Server Home directory. If it is not copied the customization does not take effect and the default mail is sent.
    You can define a dynamic mail content editing this XML file. The ALBPM Server
    generates the e-mail notificactions (when enabled) for each process activity using this file.
    The text to be sent in the e-mail can be defined:
    • by process-activity, or
    • by process, or
    • a default mail.
    The search to find the text is by tag.
    First, it looks for the process tag. If found, it searches for the activity tag.
    If the activity tag is not found, it searches for the default tag within the
    process tag.
    If the process tag is not found then it searches for the default mail tag.
    The XML is structured to conform to the following tags:
    • process id: The id of the process that owns the activity for which you
    define the custom email notifications.
    • activity id: The id of the activity for which a custom mail needs to be
    sent.
    • title : In between this tag, provide the title for the email sent in the
    specified activity.
    • message : In between this tag, enter the message to be sent in the selected
    business process activity.
    <mail>
    <process id='processId'>
    <activity id= 'activityId>
    <title>
    The Instance :INSTANCE_ID/ has reached :ACTIVITY/ ...
    </title>
    <message>
    The Instance is :INSTANCE_LINK"here"/
    </message>
    </activity>
    <activity id='activityId2'>
    < /activity>
    <Default>
    <title>
    The Instance :INSTANCE_ID/ has reached :ACTIVITY/ ...
    </title>
    <message>
    Link :INSTANCE_LINK/
    </message>
    </Default>
    </process>
    <process id='processId2'>
    <process>
    </mail>
    When a message contains a place holder like:
    • :INSTANCELINK/ (a link to the instance), or
    • :INSTANCELINK"LINKNAME"/ (a link to the instance with the name of LinkName),
    or
    • :ACTIVITY/ (name of the activity that has been reached), or
    • :VAR/ (where VAR is the id for a process instance variable or the id of an external variable);
    these place holders are replaced at runtime by the proper value accordingly to the defined mappings at development time.
    If within the message tag you set headers="true"
    <message html="true" headers="true">
    therefore, in the mail subject you will receive the "ActivityName",
    "InstanceId" and "ProcessName".
    Note: If for some reason the xml file does not exist, a non modifiable mail is sent and an exception is logged.
    The activityNotification.mail file, needs to be overwriten in the runtime environment.
    The customization of the activityNotification.mail is per installation, not per process or per application.
    There is no know way to customize the activityNotification.mail per application
    If you take a look at the content of this file, you will see entries of this format:
    <process id="/OU/ProcessName">
    This allows creating specific email templates PER PROCESS. This to some extent allows the customization for Application (set of processes).
    You can have multiple of "<process id=...> tags in the file."
    Edited by: user10859606 on 10-Jun-2009 2:08 PM

  • How to change Site Share mail template in SharePoint online (Office 365)

    Hi,
    I want to change the default mail template used in SharePoint Online (Office 365) which is as follows
    I want to change the logo of microsoft with my custom logo and message below that logo.
    How could i do that?

    in Office365 SharePoint Online, if you wan to customize the alert template you need to customize the Alerttemplates.xml under 14 folder on Online server, but it is not permitted, check this article you
    also have seen.
    You can also post this question related SharePoint Online in dedicated Office365 SharePoint Online forum, you can get a better assistance there,
    http://community.office365.com/en-us/forums/151/categories.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/0d31bb5d-d46b-425a-9f48-6100404b95d8/sharepoint-online-custom-alert-emails?forum=sharepointcustomizationprevious

  • Can no longer select text in email template or read only field with mouse using IE or Firefox?

    Hi Guys,
    I can no longer select text in email template or read only field using my mouse in IE or Firefox anymore. We are using CRM 2011 rollup 18 applied with IE 11 and the latest version of Firefox. We only applied roll up 18 in Feb when this issue began.
    Thanks
    Dave
    David Kelly

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    If those features work correctly, this points to one of your extensions or custom settings as the problem.
    To also disable plugins, you can use this page:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
    Any change?

  • Why does my email template appear differently in various email programs?

    I have created a CSS-style based email template using Dreamweaver CS6.  The template looks great within Dreamweaver, on Internet Explorer and in Outlook 2003.  However, when viewed in Outlook 2010, Hotmail and Gmail, the template is distorted.  If I set my containers using pixel size, why would it be different when viewed in other email programs?
    Here is my code:
    <style type="text/css">
    .pageborder {
    width: 795px;
    height: 995px;
    border: medium solid #008478;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10pt;
    margin: 0 auto;
    .prodboxleft {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10pt;
    background-color: #76c6be;
    width: 370px;
    float: left;
    height: 164px;
    border: medium dashed #008478;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 12px;
    .prodboxright {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10pt;
    background-color: #76c6be;
    width: 370px;
    float: right;
    height: 164px;
    border: medium dashed #008478;
    margin-top: 5px;
    margin-right: 12px;
    margin-bottom: 5px;
    .clearing {
    clear:both;
    display:block;
    visibility:hidden;
    .pageborder .prodboxleft img {
    padding: 8px;
    .pageborder .prodboxright a img {
    padding: 8px;
    </style>
    </head>
    <body>
    <div class="pageborder"><br /><center><img src="https://system.netsuite.com/core/media/media.nl?id=12679&c=723462&h=55e51819e92ef317c357" width="720" height="86" border="0" /><br /><br />
      <a href="http://www.eyecareandcure.com/Diagnostic-Products"><img src="https://system.netsuite.com/core/media/media.nl?id=28469&c=723462&h=dc5c279154096ce1f361" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Pharmaceuticals"><img src="https://system.netsuite.com/core/media/media.nl?id=28474&c=723462&h=9365342d3d72baf4c0d2" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Exam-Room-Supplies"><img src="https://system.netsuite.com/core/media/media.nl?id=28470&c=723462&h=4f1b836f6412ab952e34" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Vision-Testing"><img src="https://system.netsuite.com/core/media/media.nl?id=28468&c=723462&h=3c7664689336406c15ee" width="195" height="40" border="0" /></a><br /><a href="http://www.eyecareandcure.com/Optical-Tools-Supplies"><img src="https://system.netsuite.com/core/media/media.nl?id=28473&c=723462&h=a227a48f3b29b0a38f7a" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Medical-Surgical-Supplies"><img src="https://system.netsuite.com/core/media/media.nl?id=28472&c=723462&h=c94240f73ea2a1647745" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Sterilizing-Disinfecting"><img src="https://system.netsuite.com/core/media/media.nl?id=28475&c=723462&h=5742c12d94b5c490d535" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Instruments"><img src="https://system.netsuite.com/core/media/media.nl?id=28471&c=723462&h=3e0b5322e37bf2b86796" width="195" height="40" border="0" /></a></center><br />
    <font size="5"><b><center>Great Prices and February Shipping Special!</center></b></font><br />
    <div class="prodboxleft"><a href="http://www.eyecareandcure.com/Drops/Fluoron-1532"><img src="https://system.netsuite.com/core/media/media.nl?id=1323&c=723462&h=24fddfba2d9dd33cb960" width="151" height="144" align="left" border="0" /><a/><br /><font size="4"><b>Fluoron<sup>&reg;</sup> 5 ml</b></font><br /><em>Compare to Fluress<sup>&reg;</sup></em><br /><font size="4"><b>$6.95</b></font><br />Was $8.90<br /><br />Item #1532</div>
    <div class="prodboxright"><a href="http://www.eyecareandcure.com/Drops/Fluorocaine-8482"><img src="https://system.netsuite.com/core/media/media.nl?id=1324&c=723462&h=bff0adfc33d25c58f9a2" width="162" height="144" align="left" border="0" /></a><br /><font size="4"><b>Fluorocaine&#8482; 5 ml</b></font><br /><br /><font size="4"><b>$7.30</b></font><br />Was $7.80<br /><br />Item #1533</div>
    <hr class="clearing" /><div class="prodboxleft"><a href="http://www.eyecareandcure.com/Drops/Tropicamide-1-0-15-ml_2"><img src="https://system.netsuite.com/core/media/media.nl?id=3992&c=723462&h=b9c0ceeda9e5db57fbfd" width="61" height="144" align="left" border="0" /></a><br />
      <font size="4"><b>Tropicamide 1.0% 15 ml</b></font><br />
      <em>Compare to Mydriacyl<sup>&reg;</sup></em><br />
      <font size="4"><b>$8.40</b></font><br />
      Was $10.80<br />
      <br />
      Item #1579</div>
    <div class="prodboxright"><a href="http://www.eyecareandcure.com/Drops/Tropicamide-0-5-15-ml"><img src="https://system.netsuite.com/core/media/media.nl?id=28676&c=723462&h=3be84121296356649aa6" width="57" height="144" align="left" border="0" /></a><br /><font size="4"><b>Tropicamide 0.5% 15 ml</b></font><br />
      <em>Compare to Mydriacyl<sup>&reg;</sup></em><br />
      <font size="4"><b>$8.20</b></font><br />
      Was $10.50<br />
      <br />
      Item #1586</div>
    <hr class="clearing" /><div class="prodboxleft"><a href="http://www.eyecareandcure.com/Drops/Phenylephrine-HCl-2-5-15-ml-Akorn-brand_2"><img src="https://system.netsuite.com/core/media/media.nl?id=9387&c=723462&h=e2293736ebaa71f5455b" width="53" height="144" align="left" border="0" /></a><br /><font size="4"><b>Phenylephrine 2.5% 15 ml</b></font><br />
      <em>Compare to Neo-Synephrine<sup>&reg;</sup></em><br />
      <font size="4"><b>$9.00</b></font><br />
      Was $10.25<br />
      <br />
      Item #1554</div>
    <div class="prodboxright"><center>
        <font size="4"><b>FEBRUARY SHIPPING SPECIAL!</b></font><br />www.eyecareandcure.com<br /><br /><font size="3"><b>Free Ground Shipping on all<br />internet orders over $200.00*</b></font><br />Enter Promo Code FEB13 during checkout<br /><br />
    <font size="1">*Valid only on orders placed on our website from<br />
    02/01/13-02/28/13. Not valid with any other promotional offer.</font>
    </center></div><hr class="clearing" />
    <center>To place your order, please visit our website at
    <a href="http://www.eyecareandcure.com"><font color="#008579">www.eyecareandcure.com</font></a>, or call Customer Service<br />
    at 1-800-486-6169.  You can also
    <a href="http://www.eyecareandcure.com/Monthly-Specials">
    <font color="#008579">download</font></a> a
    copy of this special and fax it to us at 1-877-321-1267.<br><br>Need access to our website? 
    <a href="http://www.eyecareandcure.com/Registration">
    <font color="#008579">Click here</font></a> to register.<br />24-7 ordering, special offers, order
    history and much, much more!<br /><br />
    <font size="1"><em>All prices subject to change.  Some additional restrictions may apply.<br />
    See <a href="http://www.eyecareandcure.com/Terms-Policies"><font color="#008579">www.eyecareandcure.com/Terms-Policies</font></a> for standard terms and conditions.</em></font>
    </center>
    </div>
    </div>
    </body>
    And here is a screen shot of the different results:

    If email marketing is new to you, the below links are a good starting point for how to go about getting a good-looking and consistent design.
    http://kb.mailchimp.com/article/common-html-email-coding-mistakes
    http://24ways.org/2009/rock-solid-html-emails/
    http://htmlemailboilerplate.com/
    The boilerplate is good for reference but in my opinion is overkill for most email campaigns. It does a good job of highlighting why they do certain things though.
    Rik

  • Error while entering Long message in Email Template

    Hi All,
    While Creating Email template with 28 kb data as Long message field in OIM 11g R2 Im getting error like "Invalid size of inputs in en_US in Locale  " so unable to save and please provide the solution Is there any changes in property or something?
    Thanks
    Kowsalya

    Yes that is right what is mentioned above, first you give the company code and name then give the currency then select address (Shift+F5) and in that if you select country as IN then it will automatically come to master data.
    Edited by: venkata986 on Aug 31, 2010 12:31 PM

  • Document Assembly and Creation of Template Pages?

    What do “document assembly” and “creation of template pages” mean?
    I am a print graphic designer who usually handles the printing for a particular client who does long reports. I also give them a low resolution PDF for email circulation and posting on their website. They are now want to use the PDF for other purposes such as creating PowerPoint presentations that they will do in house. Therefore they have asked me to unlock all the security options -- that quite frankly I never even dealt with. Specifically they want to “allow document assembly, commenting, signing, and creation of template pages.” Assembly, commenting and signing seem innocuous, but will document assembly and template pages have significance for me as a graphic designer? I'm not sure what these two functions are.

    “document assembly” means the combination of documents.
    “creation of template pages” is for the creation of template pages for forms

  • How to change an inactive email address in icloud?

    I just bought a new iphone 6 plus however during start up, I entered an old/inactive email address in icloud and during creation of apple id. I manage to restore to factory settings and get started again using new email address and apple id. However, I cannot change the original email address in icloud and moreover, I cannot find Facetime icon (maybe restricted by service provider since I am currently in Saudi Arabia). Please help. Thanks in advance.  

    That's simply not possible. If you used an inactive address you wouldn't be able to continue and verify the address, which means that iCloud cannot yet be set up using that address.

  • Email templates using data from iWork Numbers spreadsheet

    As a photographer, when I get a call from a client to book a shoot, my first step is to open my bookings spreadsheet in Apple's Numbers and input the client's info into pre-determined columns: name, phone number, job date, job scheduled arrival time, job address, job city, travel distance, details regarding the shoot, and then I have a list of columns that specify costs (cost for work, taxes, travel, etc--automatically calculated via functions in spreadsheet).
    Immediately after I insert this information into the bookings spreadsheet, I open another file (a text file)--a text template I created to confirm bookings--and fill in the blanks using the information from the spreadsheet. Once that info has been filled out, I copy and paste the entire text file into an an email and email it to the client for his confirmation/records. The email template text (txt) file I use is included below.
    Question: Is it possible to create a script that will read the specified row in my Numbers booking spreadsheet (ie, the row where I input the information in the spreadsheet) and have the information inserted into the separate text confirmation template (apple pages or text or email?) at specified areas within the text? If so, can someone help me make something like this? Here's the template I use:
    Hi clientnamehere
    It was nice chatting with you. And thanks again for choosing us for your photography needs.
    For your convenience, I've outlined the details of your booking below. Please ensure everything looks OK:
    _Order Confirmation_
    As discussed, we've booked the following services:
    - [deletethose_that_don't_apply_incl_thisnote]
    - real estate photos
    - upscaling photos
    - virtual tour
    - hd video tour
    - customizable slideshow
    - floor plans
    - brochure design, print, & delivery
    - virtual staging
    - photoshop touchups
    For the following location:
    - property_address, city, postal_code
    On the following date and time:
    - month_date at time
    Note: If any of the above is incorrect in anyway, please email us asap.
    concision edit
    Message was edited by: thebigother

    Let's begin with your first question:
    I've tried to change the "Template.txt" file into an rtf so that I can apply bolding and underlining to certain sections (ie, bolding to the entries like client_name, job_date, etc... and underlining to the "Steps"), and I changed the script from Template.txt to Template.rtf to reflect this change... but when I run a script I get a bug... is there any way to use an rtf file in place of the txt?
    The following script should work with an RTF file, provided you don't mind using [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html] (in blue below). Before running the script, you will have to enable the Accessibility Frameworks by clicking the checkbox labeled "Enable access for assistive devices" in the Universal Access System Preference pane.
    *set theTemplate to POSIX file (POSIX path of (path to desktop) & "Template.rtf")*
    *tell application "Numbers"*
    *   tell table 1 of sheet 1 of front document*
    *      set theValues to value of cells of row 1 of selection range*
    *   end tell*
    *end tell*
    *tell application "TextEdit"*
    *   open theTemplate*
    *   set theText to text of front document*
    *end tell*
    *set theText to replace("clientnamehere", item 1 of theValues, theText)*
    *set theText to replace("property_address", item 2 of theValues, theText)*
    *set theText to replace("city", item 3 of theValues, theText)*
    *set theText to replace("postal_code", item 4 of theValues, theText)*
    *set theText to replace("month_date", item 5 of theValues, theText)*
    *set theText to replace("at time", "at " & item 6 of theValues, theText)*
    *tell application "TextEdit"*
       activate
    *   tell application "System Events"*
    *      keystroke "a" using command down* -- “Select All”
    *      keystroke "c" using command down* -- “Copy”
    *   end tell*
    *   close front document without saving*
    *end tell*
    *tell application "Mail"*
       activate
    *   make new outgoing message with properties {visible:true}*
    *   tell application "System Events"*
    *      keystroke tab & tab & tab & tab & tab* -- five 5 text fields at most
    *      delay 0.25* -- adjust if necessary
    *      keystroke "a" using command down* -- “Select All”
    *      keystroke "v" using command down* -- “Paste”
    *   end tell*
    *end tell*
    *on replace(X, Y, theText)*
    *   set P to offset of X in theText*
    *   set L to length of X*
    *   tell front document of application "TextEdit"*
    *      delete (characters (P + 1) through (P + L - 1))*
    *      set character P to Y*
    *      return its text*
    *   end tell*
    *end replace*

  • How to set password on email body in custom Email Template

    Hy,
    I have a Email Template customized in Email Definition>Design Console.
    I need send this 'Email Template' with the password user, but I don't know how to set the variable 'password' in the body of email.
    I searched in Varables>Targets>Variables, but I not found any think variable like password.
    Some has a idea about this? How to set password on email body?
    Regards,
    Piza

    You can use custom Java code. Refer the following:
    Email notification to users after they change their OIM password

  • GP: Replacements (parameter) in email templates

    Hi,
    I have created an email template to send a notification. Into this email I want to add several parameters (which should be done via replacement ?). But neither from the documenation nor by trying I can get these replacements show up. Right now my email template looks like this
    <html>
    <head>
    <title>General Change Request: Notification</title>
    </head>
    <body>
    <p>
    Dear Mr/Ms
    `{
    writeln (role.initiator.lastname)
    }`
    </p>
    <p>Your request has been rejected.</p>
    <p>
    `{
    writeln (reason)
    }`
    </p>
    <p>Best regards,</p>
    <p><i>Global Change Management</i></p>
    The last name shows up, but the reason does not. The collable object of type "Notification" has a input parameter "reason" but it doesn't work. I also tried "writeln (input.reason)" and "writeln (co.reason)"  but it didn't work either. How do I have to name the input parameter and the replacements to get this work?
    Thank you very much, Olaf

    Hi,
    Please, try with writeln(ctxt.reason).
    Regards,
    Zornitsa

  • Getting EM incident Service ID in email template

    Hi Guys,
    We have monitoring for OSB and when a proxy service is down, an incident is created.
    Is it possible to get the "Service ID" in the email template? If yes, what is the attribute/label for this?
    Given below is the Incident Details from Incident Manager.
    "Service ID" seems to be specific for this particular metric group.
    ID     26007
    Metric     Service Status
    Metric Group     OSB Service Status Metrics
    Service ID     ProxyService/XX/proxy/v10/AID...
    Target     /XX_soa_domain/soa_domain/osb_ms04/osb_ms04_osb(Oracle Service Bus)Target Information
    Incident Created     Jan 31, 2013 5:57:09 PM EST
    Last Updated     Jan 31, 2013 6:02:13 PM EST
    Summary     OSB Service status is down.
    Internal Event Name     OSBServiceStatus:svcStatus
    Event Type     Metric Alert
    Category     Availability
    Thanks!

    If you customize the e-mail template for 'Metric alert events', KEY_VALUE attribute will give the value for Service ID.
    Following is an example template syntax:
    [IF KEY_VALUE NOT NULL]
    [KEY_VALUE_LABEL]=[KEY_VALUE]
    [ENDIF]

  • Email Template on CRM5.0

    Hi Guys
    Ive created email templates on our development box. And its displayed when i log onto webclient. Transported config onto QA and the config is the exact same as on DEV. But when I open the webclient on QA, templates are not reflecting
    This is the steps ive taken
    Ive created template under SAP menu- Marketing- Personalized Mail - Maintain Mail Template
    Went to IMG-CRM-Interaction Center Webclient-Basic Function- Communication channels - Define Standard response Groups
    Clicked on new entry and entered following
    Std Response Group = Z**stdrespgroup
    Form Name = z**"
    Save and transported the changes
    Then went back to IMG- CRM-Interaction Webclient- Basic Function- Communication Channels- Define Email profile
    Chose my required email profile = z**
    Entered std response group = z**stdrespgroup
    Saved changes
    Templates only visible on DEV and NOT on QA
    Note : Ive created this on both environments, Config as the exact same! still no luck!
    Pls help!!!
    GG

    Tx 4 prompt response Glenn, much appreciated
    We are not creating any mail forms, just the mail templates
    These templates were created on DEV and QA like I said, config the same,  just not showing on QA's weblcient
    Regards
    GG

Maybe you are looking for