Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a document library with 4 columns which are of type metadata. All 4 columns are mandatory.

When an user creates an alert, and somebody uploads a document and fills the metadata column, then in the alert, that information is not sent.

Is this possible to customize and how?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

My advice would be for you to answer "No" to this and go on with your life. However, if the customer is requiring that this information be included in the alert then prepare yourself to enter the world of pain known as SharePoint Custom Alerts.

This article should get you started on understanding what is involved in custom alerts. The article is for SP2007 but pretty much everything in it applies to 2010 as well as they have not changed substantially.

share|improve this answer
    
sharemuch.com/2010/08/15/… this seem an easy way to do it. –  Esteban V Mar 14 '12 at 19:25
    
I was also thinking that an easier way might be to create an event receiver for the itemadding for example and then send the formatted email? in the itemadding event I should be able to access all fields. However if the doc library has alerts enabled they would receive 2 emails- –  Esteban V Mar 14 '12 at 19:32
    
That is merely how to change the template which you would have to do anyway when making changes. Step 6 in that article should read: "Insert Pixie Dust Here" because that is the step that will trip you up. Making fields that are not normally included in alerts appear in the alert is tricky. To do this, you need to take more control over the alert processing logic itself which usually requires custom code that implements an IAlertNotifyHandler interface –  Dave Wise Mar 14 '12 at 19:38
    
@EstebanV. More often than not, that is what people do - simply avoid the whole Microsoft.SharePoint.SPAlertMineField and create their own emails. They aren't as pretty, can't do digest emails, can't allow subscribe/unsubscribe or have the links back to the original list, but it is much easier and often solves the business need. –  Dave Wise Mar 14 '12 at 19:40
    
just a question, I need to estimate the time I would take to do this for a specific document library, because its the first time I would do it, how many days or hours would you estimate for these 2 options?... –  Esteban V Mar 14 '12 at 19:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.