Drawbacks of customise Sharepoint Alert Email Template in sharepoint 2010
i changed the Pre-defined Alert Template file from this location: %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\XML\AlertTemplates.xml
How to avoid this new changes to the other sites?
Will it impact all the webapplication?
This is a default template used by all web application and you cannot restrict other web application from using it
Actually you can create your own template and use it for specific web application as per below:
http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2012/08/21/how-to-customize-the-discussion-board-plus-email-alerts-for-sharepoint-2010.aspx
http://jimecox.wordpress.com/2012/01/29/modifying-the-appearance-and-email-body-of-alerts/
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 -
is it possible to add the external hyperlink in these emails instead of the internal hyperlink?
in example when I get a list tracking email there are hyperlink that get sent out with these tags Modify my alert settings | View Issue Tracking | mobile view that use the internal url //servername how can I change it to use the external
address //internetnameHi Joe, check out the following links for solutions:
http://sharepoint.stackexchange.com/questions/13216/how-to-create-custom-email-alert-template-in-sharepoint-2010
https://social.technet.microsoft.com/forums/sharepoint/en-US/e5ebc5a7-8295-49e4-a817-c31066e1ac3d/customize-the-sharepoint-2010-email-alert
http://www.alectang.com/blog/archive/2012/05/16/how-to-customise-sharepoint-alert-email-template.aspx
cameron rautmann -
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. -
List Alert emails sent from one Application and not another?
I have a farm with two Applications. For some reason, list alerts are being sent and delivered from Application A but not Application B.
Troubleshooting recommendations?
Thanks,
ScottHello,
Check the property of alert for that web application using STSADM. If it is not enable then enable it.
Stsadm.exe -o getproperty -url http://web-App-URL -pn alerts-enabled
http://social.technet.microsoft.com/wiki/contents/articles/13771.troubleshooting-steps-for-sharepoint-alert-email-does-not-go-out.aspx
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help -
SharePoint Online custom alert emails
How can I change the alert email that SharePoint online (part of Office 365) send out. I've seen alot of reference to AlertTemplate.xml but that is if you have SP installed on a local server.
I would like to add the check in comments to the alert email.Hi Scott,
The Alerttemplates.xml file is located at: Local_Drive\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\XML directory on On-Premise SharePoint local server, so we can customize the alert template file on local server with server
administration permission per this
article.
But 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
Thanks
Daniel Yang
TechNet Community Support -
I am looking for custom sendemail in sharepoint 2013 designer workflow using dictionary object with email template from list
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint LeadHi Greetings.
pls check if it helps you.
http://msdn.microsoft.com/en-us/library/office/jj554504(v=office.15).aspx
Please remember to click 'Mark as Answer' on the answer if it helps you -
Rich editor text get strikethrough in alert email in SharePoint
Hi,
The text under HTML editor gets strikethrough in the alert email of SharePoint.
I have created a Blog site and on the blog list some users have set to get alerts whenever any blog is updated.
In normal scenario, whenever any blog gets updated the previous message shows as strikethrough and the new entered text shows without any strike.
But in my case the users are get both sections (the previous as well as new) text as strikethrough. This should not be acceptable and can’t be an identical scenario.
This has happened only for the body section of those blogs, which is a Rich Text editor.
Can anyone let me know how to stop this scenario?I'm getting this same thing. Would like to hear an answer if anyone has found one.
-
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 -
Using SharePoint 2010 Foundation.
I have an Issue list configured to send an email to the assigned-to owner (List Settings | Advanced settings | E-Mail Notification = Enabled). I have since added columns to the Issue list. All of the data from my columns appear in the email alert but the
newest additions show up at the bottom of the list in the alert email instead of in the column order I have defined (List Settings | Issue Content Type | Column Order). However, if I click the "Mobile View" in the alert email I received, the Mobile
View does have the items listed in the column order.
Why are these different and how do I get the email alert to match my column order?Actually the view which you recieve requires the column ordering to be the way you prefer. So whatever is your default view, change the column orders and then check the email alerts.
Alpesh Nakar's Blog
Alpesh
Just SharePoint Just SharePoint Updates
SharePoint Saturday India Online
Nov 20 2010 Contributing Author
SharePoint 2010 Unleashed
MCTS: SharePoint 2010 Configuration
MCITP: SharePoint 2010 Administrator -
Workflow Issue : Email sender display name not as the same as alert email sender
Dear Support,
we customized a workflow for sending alert to some user when someone create a new item in the specified document library.
what we already done as below
1. the email sender address has been setup at "Central Administrator", for example "[email protected]".
2. team site title is "Customer Center Platform".
3. we customized a new workflow to trigger system send a email to recipient when someone create a new record.
what we expected is
Recipient will got a email which send from "[email protected]", the email display name should be "Customer Center Platform [[email protected]]", but in this case, the display name is "[email protected]".
it's been our experience that when we used "Alert Me" function, system will send the email and used "Customer Center Platform [[email protected]]" as email display name.
we want to change workflow email sender display name, what can we do? we are looking forward to your advice, many thanks.Dear Hemendra,
thanks for your reply.
we follow the below guide to setup the workflow step by step
http://blogs.msdn.com/b/publicsector/archive/2007/05/22/document-workflow-how-to-sending-an-email-with-sharepoint-2007-moss.aspx
we used "Send an email" Action, the recipient can receive email, but the email sender's display name is "[email protected]",
we want to change to "Customer Center Platform [[email protected]]".
There is a native "Alert me" function under sharepoint team site, we compared the email sender display name, we found the display name in "Alert me" notification email
is "Customer Center Platform [[email protected]]".
we have no idea what is wrong when we setup the workflow. -
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] -
Link in alert email for PPTX document leads to "File Not Found" - Caused by encoding error
We have an issue brought to our attention by our customers that has me scratching my head. When our users sign up for an alert on a document library and a PowerPoint document is edited, the link in the alert email looks something like this:
http://Teams/sites/TeamABC/_layouts/PowerPoint.aspx?PowerPointView=ReadingView%26PresentationId=/sites/TeamABC/Shared%2520Documents/SharePoint%2520Service%2520Management.pptx
Although the issue looks like it could be with the double encoded spaces (first encoded is %20, second encoding is %2520), those work fine. The issue comes from the %26 between "ReadingView" and "PresentationId". The %26 is an encoded "&".
If I replace %26 with "&" the url string works fine. I have tried this in IE, Firefox, and Chrome and the result is the same in each, so it's not a browser issue.
The question then becomes, is the error the encoding when the alert is created and sent or is the error with the http handler in SharePoint that doesn't appear to understand how to handle %26? With that, any ideas on how to fix this (other than tell
users to edit the url in the browser changing %26 to "&")?
I should mention we are using SharePoint 2010, SP1, plus August 2011 CU, with Office Web Apps.Hello,
I think it is because we cannot use "&" in the file name when uploading the file to Sharepoint, we will receive the
message:
The following characters cannot be used anywhere in a site name, in a subsite name, or in a site or Active Directory group name:
tilde (~)
number sign (#)
percent (%)
ampersand (&)
asterisk (*)
braces ({ })
backslash (\)
colon (:)
angle brackets (< >)
question mark (?)
slash (/)
plus sign (+)
pipe (|)
quotation mark (")
You can check this
post on SharePoint forum:, if you have further questions, you can also post the question on the SharePoint 2010 forum
here
Hope above helps.
Daisy Cao
TechNet Community Support -
Alert email notification does not send
Hi,
I have a problem with outgoing email alert notification.alert email just sent to site owner group with full access permission, but I config send alert me on list that send email immediately to all users of this site.
could anyone help me to resolve this issue?As I know, you can only configure user/email address for 'Send Alerts To'.
SharePoint Group is not allowed in subscribe alert screen.
How did you configure alert? can you explain a bit here.
Please check if all your user has email address in their profile?
please 'Propose as answer' if it help you, also vote this as helpful if you like this reply. -
SharePoint alerts not functioning properly
Colleagues,
I have successfuly set up emails, so that when I create an alert, all selected users do receive an emails, saying they are subscribed to the notifications.
But they do not receive emails when I change a list/folder, even though I selected that they should be notified, when I created an alert.
What can be a problem???
SrdjanGo through the diagnostics checklist here;
http://alancejacob.blogspot.ch/2013/04/immediate-alerts-email-notification-not.html
Particularly, check the alerts aren't being rejected by the mail server at some stage, and check the timer job that sends alerts is running correctly.
w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP
Maybe you are looking for
-
Firefox crashes a few times when I was on Facebook and with email, also watching dramas online. Most of the time due to Adobe Flash and I did submit crash report. Later it crashes for unknown reason while I have email and Facebook on different tabs -
-
Error with Parent-Child Hierarchies in BIEE11.1.1.5
Hi , I am using BIEE11.1.1.5, I have created a Logical Dimensions with Parent-Child Hierarchies, In answer,I draged the Hierarchies named 'H5 Sales Rep', then view the results, It has error,error message as follows: Odbc driver returned an error (SQL
-
Hi, When a GR is created against STO outbound delivery, the inspection lot is not created even when QM is active for the material. What could be the reasons ? Thanks SR
-
POTS/Analog Dial Access with PVDM3 and 3900? Possible?
I have a PVDM3-16, 3925 and HWIC-CE1T1-PRI. I have a T1 terminating in the HWIC and the other end goes to an ATLAS 800. I dial into it with an analog v.92 modem. It provides dial-tone and a phone numbering setup. Sort of a self-contained phone system
-
Find my Friends requests not arriving
Hi I have a friend who has been trying all day to send me a follow request and seems to be failing. I am not getting the requests in the app, and they are not diverting to email (see ODD STUFF note below). I've spent a while going through all the set