Solved

Issues creating custom alert templates in SharePoint 2010

Posted on 2011-02-24
8
1,324 Views
Last Modified: 2012-05-11
I'm trying to customize the alert template for a particular announcement list.  The changes never take effect.  These are a few of the reference resources I've been going off of, trying different methods, but nothing seems to work.  

http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx

http://www.sharemuch.com/2010/08/15/creating-custom-list-alert-templates-in-sharepoint-2010/

http://www.sharepointdevwiki.com/display/sp2010/Customizing+Alert+Templates+in+SharePoint+Foundation+2010

I want to remove the "Modify my alerts" and "Mobile view" buttons.  Though it's just a particular list right now, I was told that if these buttons come off of all alert emails, that wouldn't be a problem.  I haven't attempted to modify the styles at all, just remove the two buttons.

Is there any way I can tell why my changes aren't taking?
0
Comment
Question by:NinjaSquirrel
  • 3
  • 2
8 Comments
 
LVL 14

Expert Comment

by:GeorgeGergues
ID: 34971263
with those types of changes ( file level )

you might need to recycle the application pool or do an IISRESET

I do recommend that you also restart the Timer service .

Best of luck.
0
 

Author Comment

by:NinjaSquirrel
ID: 34971392
I've tried both of those since they were recommended steps in the third article I listed.  It didn't fix the problem.  Any other suggestions?
0
 
LVL 6

Expert Comment

by:psv1973
ID: 34996444
If there is any process that you migth need to restart then you could try a reboot ( then we've at least figured out if you need to restart anything). If this sorts things out then we can look into the problem further why it's not updating.


Have you had a look in 14/TEMPLATE/XML/ What are the alerttemplate related files? Is your template there?

Also you might want to go through these steps (a lot shorter than the blogs you mentioned):
http://msdn.microsoft.com/en-us/library/bb862021.aspx
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:NinjaSquirrel
ID: 35001878
I restarted it and it still isn't showing the changes.  The modified file isn't in the folder and the alerttemplate file is unmodified.  I see no instruction that the modified file needs to go in that folder.  Could that be my problem?
0
 
LVL 6

Accepted Solution

by:
psv1973 earned 500 total points
ID: 35005630
This is what I did to make this work:
I copied the standard alerttemplates.xml and renamed it. Then modified some of the color codes in the file.
start command prompt ( ensure that you run as administrator!)
cd to 14\bin
STSADM -o updatealerttemplates -url http://myurl -filename c:\mycopyofaletertemplates.xml

tested it and it worked.
0
 

Author Closing Comment

by:NinjaSquirrel
ID: 35006913
I followed the same process as you did, didn't get any results, but then rebooted the server again and it finally took.

Thank you.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IIS Cache Control settings 2 36
website rewamp 5 50
How Do I Widen a Column in a SharePoint 2013 List 2 30
sharepoint 2013 can't delete BDC service application 10 24
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question